1 |
#!/bin/bash |
2 |
# |
3 |
# tested on columbia using: |
4 |
# module purge |
5 |
# module load modules scsl.1.5.0.0 intel-comp.8.0.070 mpt.1.11-85 |
6 |
# |
7 |
# module load modules scsl.1.5.0.0 intel-comp.8.1.024 mpt.1.11-85 |
8 |
|
9 |
CPP='/lib/cpp -traditional -P' |
10 |
|
11 |
# Note that the -mp switch is for ieee "maintain precision" and is |
12 |
# roughly equivalent to -ieee |
13 |
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' |
14 |
|
15 |
FOPTIM='-O3 -align' |
16 |
#LIBS='-L/opt/sgi/mpt/1.11-85/lib -lmpi -L/u/menemenl/software/netcdf-3.5.0/lib -lnetcdf' |
17 |
LIBS='-L/opt/sgi/mpt/1.11-85/lib -lmpi -L/u/edhill/pkg/netcdf-3.6.0/ifort/lib -lnetcdf' |
18 |
|
19 |
FC=ifort |
20 |
|
21 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
22 |
|
23 |
# INCLUDES='-I/opt/sgi/mpt/1.11-85/include -I/u/menemenl/software/netcdf-3.5.0/include' |
24 |
INCLUDES='-I/opt/sgi/mpt/1.11-85/include -I/u/edhill/pkg/netcdf-3.6.0/ifort/include' |
25 |
INCLUDEDIRS='/opt/sgi/mpt/1.11-85/include' |