Skip to content
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|FC=|OPENMPFLAG= ---|--- Intel|ifort -std08 -fpp|-qopenmp GCC|gfortran-5 -std=f2008 -cpp|-fopenmp

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.

Clone this wiki locally