9 |
# Tested on baudelaire (FC 13) with intel compiler v.11.1.073 (20100806) |
# Tested on baudelaire (FC 13) with intel compiler v.11.1.073 (20100806) |
10 |
# |
# |
11 |
# OpenMP : tested on danton (FC 14) using intel compiler v.11.1.046 (20090630) |
# OpenMP : tested on danton (FC 14) using intel compiler v.11.1.046 (20090630) |
12 |
# and also v.12.0.4 (20110427) |
# and also (FC 14,17 & 19) v.12.0.4 (20110427) |
13 |
# |
# |
14 |
# MPI : Tested on danton (FC 14), with and without OpenMP, using |
# MPI : Tested on danton (FC 14), with and without OpenMP, using |
15 |
# intel compiler v.11.1.046 (20090630) and also v.12.0.4 (20110427) |
# intel compiler v.11.1.046 (20090630) and also v.12.0.4 (20110427) |
42 |
fi |
fi |
43 |
|
|
44 |
DEFINES='-DWORDLENGTH=4' |
DEFINES='-DWORDLENGTH=4' |
|
CPP='cpp -traditional -P' |
|
45 |
F90FIXEDFORMAT='-fixed -Tf' |
F90FIXEDFORMAT='-fixed -Tf' |
46 |
EXTENDED_SRC_FLAG='-132' |
EXTENDED_SRC_FLAG='-132' |
47 |
GET_FC_VERSION="--version" |
GET_FC_VERSION="--version" |
56 |
PROCF=-xHost |
PROCF=-xHost |
57 |
fi |
fi |
58 |
|
|
59 |
FFLAGS="$FFLAGS -m64 -fPIC -convert big_endian -assume byterecl" |
CFLAGS="-O0 -ip -m64 $PROCF" |
60 |
|
FFLAGS="$FFLAGS -m64 -convert big_endian -assume byterecl" |
61 |
|
#- for big setups, compile & link with "-fPIC" or set memory-model to "medium": |
62 |
|
CFLAGS="$CFLAGS -fPIC" |
63 |
|
FFLAGS="$FFLAGS -fPIC" |
64 |
|
#- with FC 19, need to use this without -fPIC (which cancels -mcmodel option): |
65 |
|
#CFLAGS="$CFLAGS -mcmodel=medium" |
66 |
|
#FFLAGS="$FFLAGS -mcmodel=medium" |
67 |
#- might want to use '-r8' for fizhi pkg: |
#- might want to use '-r8' for fizhi pkg: |
68 |
#FFLAGS="$FFLAGS -r8" |
#FFLAGS="$FFLAGS -r8" |
69 |
|
|
85 |
|
|
86 |
F90FLAGS=$FFLAGS |
F90FLAGS=$FFLAGS |
87 |
F90OPTIM=$FOPTIM |
F90OPTIM=$FOPTIM |
|
CFLAGS="-O0 -ip -m64 -fPIC $PROCF" |
|
88 |
|
|
89 |
INCLUDEDIRS='' |
INCLUDEDIRS='' |
90 |
INCLUDES='' |
INCLUDES='' |