Makefile.flags

From GHER

Jump to: navigation, search

Makefile.flags defines the flags that will be considered at the model compilation.

Here are listed and briefly described several flags, some are inherent to the code (the ones beginning with a D) the others are inherent to the compiler.

-byteswapio

it converts the endianness of the binary files in order to be read by the model

-DABSLight

it enables the computation of light extinction

-DFilterNudg

it filters a high resolution model output to perform a nudging on a coarser resolution field

-DGridZ

it converts sigma-layers into z-layers, this flag has to be enable if one wants to compute light extinction

-DMJD

NOT USED ANYMORE - the Modified Julian Day convention is now always followed

-DNest

it enables the nesting of several models

-mp

it enables a multiprocessor execution of the code

-Mextend

it extends the length of the lines (for the pgf77 compiler)

-Mfree

it extends the length of the lines (for the pgf90 compiler)

-Mpreprocess

it transforms the #define ... into what is needed by the code during the compilation preprocess

-O, -O1, -O2, -O3

it enables an automatic optimization of the code (more or less efficient and adequate)

-O1 corresponds to the lightest opitmization,

-O2 (or -O) to an intermediate one and

-O3 to the strongest one

Personal tools