Version 1 (modified by raasch, 7 years ago) (diff)

--

This page is under construction!




PALM preprocessor options / define strings

PALM uses so-called preprocessor define strings for conditional compilation of the code. Additionally, some preprocessor options are used to replace specific character strings. The following list gives a complete overview of the define strings used in the PALM code, and of additional preprocessor options that are used to replace strings in the FORTRAN code.

The define strings are used to activate specific parts of the code. For activation, compiler option -Dactivation_string has to be used. All activation strings used in PALM start with two underscores, e.g. __parallel

activation_string meaning
dvrp_graphics
fftw
ibm
intel_compiler
logging
mpifh
nec
netcdf
netcdf4
netcdf4_parallel
nopointer
parallel test
rrtmg

Preprocessor options used for string replacement:

option meaning
-DMPI_REAL=MPI_DOUBLE_PRECISION
-DMPI_2REAL=MPI_2DOUBLE_PRECISION