1 |
dimitri |
1.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 -align' |
18 |
|
|
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
19 |
|
|
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
20 |
|
|
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB' |
21 |
|
|
else |
22 |
|
|
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -CB' |
23 |
|
|
fi |
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|