next up previous contents index
Next: 4.4 Compiler macros Up: 4.3 Configure script Previous: 4.3 Configure script   Contents   Index

Subsections

4.3.1 Control environment variables

The environment variables that control the script are listed in the following. It is convenient to put them into the configure resource file .configurerc that is read by the configure script.


4.3.1.1 F90_COLOR

Activate color output of the configure script:


4.3.1.2 F90_COMPILER

Fortran compiler, e.g.: See Sect.4.6 for a more complete list and further details.


4.3.1.3 F90_PREFLAGS

Compiler flags to be put at the beginning of the list. Usually, the list of compiler flags produced by the configure script should be pretty complete. But you might want to add special switches like '-Bstatic' to enforce static linking of libraries.


4.3.1.4 F90_POSTFLAGS

Compiler flags to be put at the end of the list. Usually, the list of compiler flags produced by the configure script should be pretty complete. However, you might want to overwrite some settings. This can be done by setting this variable to a none-empty value because typically a compiler should interpret the flags from left to right.


4.3.1.5 F90_PARALLEL

Parallelization scheme:


4.3.1.6 F90_DEBUG

Debugging level:


4.3.1.7 F90_OPTIMIZE

Optimization:


4.3.1.8 F90_LHDRAD

LHDrad radiation transport:


4.3.1.9 F90_MSRAD

MSrad radiation transport:


4.3.1.10 F90_SHORTRAD

SHORTrad radiation transport:


4.3.1.11 F90_CHEM

CHEM module (chemical reaction networks): Setting this variable to 1 will set F90_DUST=1. The compiler is then called with -Drhd_chem01.


4.3.1.12 F90_HION

HION module (time-dependent hydrogen ionization): Setting this variable to 1 will set F90_DUST=1. The compiler is then called with -Drhd_hion01.


4.3.1.13 F90_DUST

DUST module: If this variable is set to 1 the compiler is called with -Drhd_box_quc01=1, see Sect.4.4.1.6.


4.3.1.14 F90_MHD

MHD module: If CO5BOLD is compiled with the MHD module, your start model should include magnetic fields, otherwise zero magnetic fields are created and used. In the latter case, the magnetic field arrays are not written into the output files.


4.3.1.15 F90_TWEAK

TWEAK module: A TWEAK module is a user-provided set of routines performing some simple but non-standard task.


4.3.1.16 F90_MACHINE

Explicit machine specification. This is usually not necessary, use 'local' or '' instead.


4.3.1.17 F90_BASEPATH

Path for the CO5BOLD base directory. Some examples can be found in Sect.4.2.
next up previous contents index
Next: 4.4 Compiler macros Up: 4.3 Configure script Previous: 4.3 Configure script   Contents   Index