Star

Home

Biochem

Biochem

CellBio

CellBio

Genetics

Genetics

Orf

Orf

Hydro

Hydro

Molsim

Molsim

Cluster

Cluster

Hpc

Hpc

To create a new C/C++/Fortran OpenMP project from scratch in SunStudio:

  1. Open Sunstudio by right-clicking the desktop and selecting SunStudio.


  2. Go to File → New Project.

  3. Under “Categories” select “C/C++/Fortran Development”. Then under “Projects” select “C/C++/Fortran Application” and press “Next”.

  4. Fill in the name for the new project in the “Project Name” field and press “Finish”.

  5. In the project menu, right click the new project and go to “Properties”.

  6. Under the “Categories” menu select Configuration Properties → C/C++/Fortran. Depending on the type of project you want (C/C++/Fortran), click on the appropriate compiler entry and select “Command Line”. In the “Additional Arguments” field type: -xopenmp=noopt -g and press “OK”.
  7. Your new project is now configured for OpenMP.