Skip to content

Compiler support

scivision edited this page Oct 26, 2022 · 1 revision
vendor Fortran compiler C compiler Module output directory Module include directory OpenMP Free for OSS
Gnu gfortran gcc -J -I -fopenmp ✔️
IntelLLVM oneAPI ifx icx -module -I -qopenmp ✔️
NVIDIA nvfortran nvc -module -I -mp ✔️
LLVM flang flang clang -module -I -mp ✔️
LFortran lfortran --- ? ? ? ✔️
Lahey/Fujitsu lfc ? -M -I -openmp ?
NAG nagfor ? -mdir -I -openmp
Cray crayftn craycc -J -I -homp
IBM OpenXL xlf ? -qmoddir -I -qsmp ✔️
Oracle/Sun ? ? -moddir= -M -xopenmp ?
Silverfrost FTN95 ftn95 ? ? /MOD_PATH ? ?
Elbrus ? lcc -J -I -fopenmp ?
OpenWatcom (F77) wfl386 ✔️

Discontinued compilers

Note: Intel legacy (icc, icl, ifort) are discontinued ~ 2023 per Intel. They are replaced by IntelLLVM (icx, ifx).

vendor Fortran compiler C compiler Module output directory Module include directory OpenMP Free for OSS
Intel legacy ifort icc -module -I -qopenmp ✔️
Intel legacy (Windows) ifort icl /module:path /I /Qopenmp ✔️
PGI pgfortran pgcc -module -I -mp ✔️
Hewlett Packard ? ? ? ? ?
Watcom ? ? ? ? ?
PathScale ? ? -module -I -mp
G95 ? ? -fmod= -I -fopenmp ✔️
Open64 ? ? -module -I -mp
Unisys ? ? ? ? ?
Clone this wiki locally