The
Fortran compiler
of the
GNU project
is called with gfortran
.
Important switches are:
-fconvert=big-endian -frecord-marker=4
: With this flag set, binary files in
big_endian
format
(the standard for UIO files)
are automatically transformed to
little_endian
and vice versa. In addition, the old 32-bit record marker convention is maintained
and existing UIO files can be read.
-O3
: General optimization flag.
-fopenmp
: Activates the OpenMP directives.
In 3.6 the preprocessor switches are listed, that control the
modern - single - version uio_mac_module.F90
.
I haven't found out how to use the standard modules, yet.
OpenMP does not work, yet. And the scalar code is significantly slower than code
compiled e.g. with the Intel compiler (see Sect. 3.7.11.
However, the factor is not prohibitive.
For not too demanding test runs the gfortran
compiler can already be useful.