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.12.0.0 |
6 |
# |
7 |
# module load modules scsl.1.5.0.0 intel-comp.8.1.024 mpt.1.12.0.0 |
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.12.0.0/lib -lmpi -L/u/menemenl/software/netcdf-3.5.0/lib -lnetcdf' |
17 |
LIBS='-L/opt/sgi/mpt/1.12.0.0/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.12.0.0/include -I/u/menemenl/software/netcdf-3.5.0/include' |
24 |
INCLUDES='-I/opt/sgi/mpt/1.12.0.0/include -I/u/edhill/pkg/netcdf-3.6.0/ifort/include' |
25 |
INCLUDEDIRS='/opt/sgi/mpt/1.12.0.0/include' |
26 |
MPIINCLUDEDIR='/opt/sgi/mpt/1.12.0.0/include' |
27 |
MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h' |
28 |
MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h' |
29 |
PAPIINC='-I/usr/local/include' |
30 |
PAPILIB='-L/usr/local/lib -lpapi' |