-
Notifications
You must be signed in to change notification settings - Fork 109
Fortran
Jeff Hammond edited this page Jan 27, 2016
·
14 revisions
In common/make.defs
, use the following to get the right language support. In particular, one must explicitly preprocess Stencil.
Compiler|FC=
|OPENMPFLAG=
---|---
Intel|ifort -std08 -fpp
|-qopenmp
GCC|gfortran-5 -std=f2008 -cpp
|-fopenmp
When developing, it is useful to build with the Intel Fortran compiler using FLAGS="-O0 -g3 -warn all -traceback -check bounds"
where FLAGS
is PRK_FLAGS
when building in the top directory and DEFAULT_OPT_FLAGS
in a specific subdirectory.