Next: 4.5.1 OpenMP settings
Up: 4. Compilation & installation
Previous: 4.4.8 Obsolete macros
Contents
Index
4.5 Optimization, compiler switches
In this section some mandatory or useful compiler flags are described.
These have different functions:
- Enable necessary macro processing/expansion for the
.F90
files.
- Force proper handling of binary I/O.
- Choose module for radiative transfer.
- Activate module for dust formation and/or magnetic field transport.
- Enable parallelization with OpenMP directives.
- Choose a version of a subroutine or loop which is optimized for
a specific architecture.
- Tell the compiler if and what to inline.
- Improve the general performance.
Subsections