1 |
#!/bin/bash |
2 |
# |
3 |
# tested on columbia using: |
4 |
# module purge |
5 |
# |
6 |
# module load modules scsl.1.5.0.0 intel-comp.8.1.024 mpt.1.12.0.0 pd-netcdf.3.6.0-p1 |
7 |
|
8 |
CPP='/lib/cpp -traditional -P' |
9 |
|
10 |
# Note that the -mp switch is for ieee "maintain precision" and is |
11 |
# roughly equivalent to -ieee |
12 |
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' |
13 |
|
14 |
FOPTIM='-O2 -align' |
15 |
#LIBS='-L/opt/sgi/mpt/1.12.0.0/lib -lmpi -L/u/menemenl/software/netcdf-3.5.0/lib -lnetcdf' |
16 |
LIBS='-L/opt/sgi/mpt/1.12.0.0/lib -lmpi -L/opt/pd/netcdf/3.6.0-p1/lib -lnetcdf' |
17 |
|
18 |
FC=ifort |
19 |
|
20 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
21 |
|
22 |
# INCLUDES='-I/opt/sgi/mpt/1.12.0.0/include -I/u/menemenl/software/netcdf-3.5.0/include' |
23 |
INCLUDES='-I/opt/sgi/mpt/1.12.0.0/include -I/opt/pd/netcdf/3.6.0-p1/include' |
24 |
INCLUDEDIRS='/opt/sgi/mpt/1.12.0.0/include' |
25 |
MPIINCLUDEDIR='/opt/sgi/mpt/1.12.0.0/include' |
26 |
MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h' |
27 |
MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h' |
28 |
PAPIINC='-I/usr/local/include' |
29 |
PAPILIB='-L/usr/local/lib -lpapi' |