1 |
#!/bin/bash |
2 |
# |
3 |
# D. Menemenlis |
4 |
# |
5 |
# for JPL's 1024-CPU Dell cluster called cosmos |
6 |
|
7 |
FC=mpif90 |
8 |
CC=mpicc |
9 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -D_BYTESWAPIO -DWORDLENGTH=1' |
10 |
LINK=mpif90 |
11 |
CPP='cpp -traditional -P' |
12 |
INCLUDES='-I/opt/mpich/gm/intel8.0/include' |
13 |
|
14 |
# Note that the -mp switch is for ieee "maintain precision" and is |
15 |
# roughly equivalent to -ieee |
16 |
if test "x$IEEE" = x ; then |
17 |
FOPTIM='-O3 -fp -align' |
18 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB' |
19 |
else |
20 |
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -CB' |
21 |
fi |