1 |
#!/bin/bash |
#!/bin/bash |
2 |
# |
# |
3 |
|
# $Header$ |
4 |
|
# $Name$ |
5 |
|
|
6 |
# Ed Hill |
# Ed Hill |
7 |
# |
# |
8 |
# tested on faulks, 20030818 |
# tested on faulks, 20030818 |
14 |
|
|
15 |
FC=ifort |
FC=ifort |
16 |
F90C=ifort |
F90C=ifort |
|
F90FIXEDFORMAT='-fixed -Tf' |
|
|
DEFINES='-DWORDLENGTH=4' |
|
17 |
LINK='ifort -static' |
LINK='ifort -static' |
18 |
|
|
19 |
|
DEFINES='-DWORDLENGTH=4' |
20 |
CPP='cpp -traditional -P' |
CPP='cpp -traditional -P' |
21 |
|
F90FIXEDFORMAT='-fixed -Tf' |
22 |
|
EXTENDED_SRC_FLAG='-132' |
23 |
|
#OMPFLAG='-openmp' |
24 |
|
|
25 |
###INCLUDES='-I/ocean/data4/ce107/netcdf-3.6.1/Linux-i686-intel8/include' |
###INCLUDES='-I/ocean/data4/ce107/netcdf-3.6.1/Linux-i686-intel8/include' |
26 |
###LIBS='-L/ocean/data4/ce107/netcdf-3.6.1/Linux-i686-intel8/lib -lnetcdf' |
###LIBS='-L/ocean/data4/ce107/netcdf-3.6.1/Linux-i686-intel8/lib -lnetcdf' |
27 |
INCLUDES='-I/usr/local/pkg/netcdf/include' |
INCLUDES='-I/usr/local/pkg/netcdf/include' |
34 |
F90OPTIM='-O3' |
F90OPTIM='-O3' |
35 |
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
36 |
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
37 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' |
FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl" |
|
F90FLAGS='-r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' |
|
38 |
else |
else |
39 |
FOPTIM='-O0 -noalign' |
FOPTIM='-O0 -noalign' |
40 |
F90OPTIM='-O0 -g' |
F90OPTIM='-O0 -g' |
41 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl' |
FFLAGS="$FFLAGS -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl" |
42 |
#FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' |
#FFLAGS="$FFLAGS -mp -w95 -W0 -WB" |
43 |
fi |
fi |
44 |
|
#- might want to use '-r8' for fizhi pkg: |
45 |
|
#FFLAGS="$FFLAGS -r8" |
46 |
|
|
47 |
|
F90FLAGS=$FFLAGS |
48 |
|
|