编译的选项
Intel
• Fortran : ifort,
• Fortran with MPI: mpif77, mpif90
• C/C++ :icc
• C/C++ with MPI: mpcc, mpCC
• Option to support OpenMP
• -openmp
Portland Group
• Fortran : pgf77, pgf90
• Fortran with MPI: mpif77, mpif90
• C/C++ :pgcc
• C/C++ with MPI: mpcc, mpCC
• Option to support OpenMP
• -mp
• pgifortref.pdf has good examples
1 openmp程序编译
(1)编译选项选择
Compiling to use OpenMP
OpenMP is supported in all four programming environments available on Franklin and Hopper; however, each compiler suite has a different syntax for enabling OpenMP.
Compiler Suite |
---|