8 | | 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}}} |
| 8 | 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. |
| 9 | |
| 10 | |
| 11 | == '''Define strings''' == |
| 12 | |
| 13 | 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}}}. Be aware to add respective include- and library-paths to the compiler options with respect to the specific define strings that has been set, e.g. if you have set {{{-D__netcdf}}} you need to provide the path to the NetCDF library. |
13 | | ||__dvrp_graphics || || |
14 | | ||__fftw || || |
15 | | ||__ibm || || |
16 | | ||__intel_compiler || || |
17 | | ||__logging || || |
18 | | ||__mpifh || || |
19 | | ||__nec || || |
20 | | ||__netcdf || || |
21 | | ||__netcdf4 || || |
22 | | ||__netcdf4_parallel || || |
23 | | ||__nopointer || || |
24 | | ||__parallel ||test || |
25 | | ||__rrtmg || || |
| 18 | ||{{{__dvrp_graphics}}} ||Enables usage of the DVR graphic software from Univ. of Hamburg || |
| 19 | ||{{{__fftw}}} ||Enables usage of the FFTW library. || |
| 20 | ||{{{__ibm}}} ||Enables usage of specific IBM FFT. This additionally requires to set the initialization parameter [wiki:/doc/app/inipar#fft_method fft_method] = 'system-specific'. Do not use {{{-D__nec}}} at the same time. || |
| 21 | ||{{{__intel_compiler}}} ||May be used in case of the Intel FORTRAN compiler to guarantee correct formatting of the progress bar, which is output to the terminal in case of interactive PALM runs. || |
| 22 | ||{{{__logging}}} ||Used by PALM developers to activate additional and extensive debug output. || |
| 23 | ||{{{__mpifh}}} ||Needs to be set in case of old MPI-libraries (using FORTRAN77 standard) which only support INCLUDE files (instead of FORTRAN modules). Is only effective if {{{-D__parallel}}} is set too. || |
| 24 | ||{{{__nec}}} ||Enables usage of specific NEC FFT. This additionally requires to set the initialization parameter [wiki:/doc/app/inipar#fft_method fft_method] = 'system-specific'. Do not use {{{-D__ibm}}} at the same time. || |
| 25 | ||{{{__netcdf}}} ||Enables NetCDF I/O. If this activation string is not set, PALM does not read or write any NetCDF data. ASCII I/O files are not affected. You may omit {{{-D__netcdf}}} in order to test PALM without having a NetCDF library available on your system. || |
| 26 | ||{{{__netcdf4}}} ||Enables to use the NetCDF4/HDF5 data format. {{{-D__netcdf}}} has to be set too. See initialization parameter [wiki:/doc/app/d3par#netcdf_data_format netcdf_data_format] about how to choose the NetCDF data format. || |
| 27 | ||{{{__netcdf4_parallel}}} ||Enables to use NetCDF4/HDF5 parallel I/O. {{{-D__netcdf}}} '''and''' {{{-D__netcdf4}}} have to be set too. See initialization parameter [wiki:/doc/app/d3par#netcdf_data_format netcdf_data_format] about how to choose the NetCDF data format. || |
| 28 | ||{{{__nopointer}}} ||Enables a pointer-free version of the PALM code. This is currently (July 2018) required to run PALM on GPUs. || |
| 29 | ||{{{__parallel}}} ||Enables usage of MPI. If you do '''not set''' {{{-D__parallel}}}, PALM runs in non-parallel mode on a single core. || |
| 30 | ||{{{__rrtmg}}} ||Enables usage of the Rapid Radiation Transfer Model library. See [wiki:/doc/tec/radiation#RRTMG] for further details. || |