You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jeff Hammond edited this page Jan 27, 2016
·
14 revisions
Compiler Options
Syntax and Standards
In common/make.defs, use the following to get the right language support. In particular, one must explicitly preprocess Stencil.
Compiler
Settings
Intel
FC=ifort -std08 -fpp
GCC
FC=gfortran-5 -std=f2008 -cpp
Debugging
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.