First attempts to compile CO5BOLD on neSH at the Rechenzentrum Kiel and on hwwsx5 at HLR Stuttgart:
An environment variable has to be set to F_RECLUNIT=BYTE
(before execution of a program) to enable UIO to compute proper
record lengths.
The cross compiler (on sunsrv or crossi) is called with sxf90
.
Thus, the environment variable F90_COMPILER=sx90
has to be set
before running the configure script.
No optimized version of CO5BOLD has been achieved yet.
Some maybe useful switches are
sx5
: generate instructions for SX-5
C vopt
: normal optimization in vector mode
-Wf'-M noflunf -M noinv -M noinexact -M setall'
:
suppress some exceptions
-P openmp
: parallelization with OpenMP
-Ep
: call cpp preprocessor
-pi exp=...
: inlining of a list of routines (see Sect. 3.8.2)
-dw -float0
(no special environment variable): use internally and
in files the 4Byte big_endian
format
The compiler flags in the configure script are
F90FLAGS="-C hopt -sx5 -dw -float0 -Wf'-L nostdout -L fmtlist -L inclist -L mrgmsg -L transform -M noflunf -M noinv -M noinexact -M setall' -pi exp=rhd_shortrad_operator exp=rhd_shortrad_dtauop ${F90MODULES} ${F90TIME} -DMSrad_raytas=1"