Setup for PTP OpenMP Tools

The basic setup for the OpenMP tools is the same as for the MPI tools setup. Essentially, point CDT at the header files and at the command to call your compiler with the OpenMP information.

The OpenMP preferences should be set to point to your OpenMP header file. If you don't set this up prior to using the New Project Wizard to make an OpenMP project, you will be prompted to do so at that time.

The PLDT new project wizards now contain wizards for creating OpenMP projects as well.

Be sure on the project settings page that everything is filled in, including the build command. Most of these values are calculated based on your entries in the PLDT preferences pages.

You may need to manually alter the project build properties (in the project properties) to add compiler flags specific to OpenMP to your project.

You probably need to do this for the Linker as well as the Compiler option.

Note the header file name in your system, e.g. openmp.h vs omp.h; you may need to adjust the include file line in the sample source file to match your system.
 

Now set up to run the OpenMP features.

 

 

 

 

Back to Top | Back to Table of Contents