Fortran/Absoft
- OBS!** The ABSOFT compiler (which should be used for FLEXPART) is only installed on caro and on billy
- FLAGS in the FLEXPART makefile with fortran compiler f77**
FFLAGS = -C -f -s -B108 -N90
LDFLAGS = -C -f -s -B108 -N90 -L/nilu/home/flexpart/gribemos -lemos -lg2c
- FLAGS in the FLEXPART makefile with fortran compiler f95**
FFLAGS = -Rb -s -B108 -YCFRL=1 -YEXT_NAMES=LCS
LDFLAGS = -Rb -s -B108 -YCFRL=1 -YEXT_NAMES=LCS -L/nilu/home/flexpart/gribemos -lemos -lg2c
- Flag description**
-C (f77) / -Rb (f95)
Boundary check (makes the executable bigger and takes significantly more time during execution!)
- For "normal" FLEXPART runs the option -O3 for opitmization should be included and -C removed*
-f (f77) / -YEXT_NAMES=LC (f95)
force all symbolic names to be folded to lower case
\-s (f77 and f95)
static linkage
-B108 (f77 and f95)
extends filenames with _
-N90 (f77) / -YCFRL=1 (f95)
pass CHARACTER arguments in a manner that is compatible with g77 and f2c protocols.
- Options for billy (64Bit platform)**
-m32|64
compile for 32 or 64Bit addressing
-mcmodel=small|medium (64Bit platform only)
compile with <2GB address space | more than 2GB address space
- other useful options**
add -g if you want to debug the code afterwards
<rst>
- Fortran documentation (ABSOFT) can be found at:**
/nilu_wrk2/fortrandoc
- Example for dyn. allocation:**
~hso/wvt/chrm/
z.B. allocate_fields.f und horgrid.f
- Compatible epsilon value**
A near-negligible number (compared to 1) can be obtained from using
a=epsilon(x)
where x is a real number that defines the precision
</rst>