69 |
#- Requires gfortran from 2006 onwards for -fconvert=big-endian |
#- Requires gfortran from 2006 onwards for -fconvert=big-endian |
70 |
FFLAGS="$FFLAGS -fconvert=big-endian -fimplicit-none" |
FFLAGS="$FFLAGS -fconvert=big-endian -fimplicit-none" |
71 |
#- for big setups, compile & link with "-fPIC" or set memory-model to "medium": |
#- for big setups, compile & link with "-fPIC" or set memory-model to "medium": |
72 |
CFLAGS="$CFLAGS -fPIC" |
#CFLAGS="$CFLAGS -fPIC" |
73 |
FFLAGS="$FFLAGS -fPIC" |
#FFLAGS="$FFLAGS -fPIC" |
74 |
#- with FC 19, need to use this without -fPIC (which cancels -mcmodel option): |
#- with FC 19, need to use this without -fPIC (which cancels -mcmodel option): |
75 |
#CFLAGS="$CFLAGS -mcmodel=medium" |
CFLAGS="$CFLAGS -mcmodel=medium" |
76 |
#FFLAGS="$FFLAGS -mcmodel=medium" |
FFLAGS="$FFLAGS -mcmodel=medium" |
77 |
#- might want to use '-fdefault-real-8' for fizhi pkg: |
#- might want to use '-fdefault-real-8' for fizhi pkg: |
78 |
#FFLAGS="$FFLAGS -fdefault-real-8 -fdefault-double-8" |
#FFLAGS="$FFLAGS -fdefault-real-8 -fdefault-double-8" |
79 |
|
|