1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+mpi_aer,v 1.3 2004/09/18 16:09:44 edhill Exp $ |
4 |
# |
5 |
|
6 |
|
7 |
FC='/opt/mpich/bin/mpif77' |
8 |
CC='/opt/mpich/bin/mpicc' |
9 |
LINK='/opt/mpich/bin/mpif77' |
10 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
11 |
CPP='cpp -traditional -P' |
12 |
|
13 |
if test "x$IEEE" = x ; then |
14 |
# No need for IEEE-754 |
15 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
16 |
FOPTIM='-fastsse -Mvect=cachesize:524288,transform' |
17 |
else |
18 |
# Try to follow IEEE-754 |
19 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
20 |
FOPTIM='-O0 -Mvect=sse -Mscalarsse -Mcache_align -Mnoflushz -Kieee' |
21 |
fi |
22 |
|
23 |
INCLUDES='-I/opt/mpich/include' |
24 |
LIBS='-L/opt/mpich/lib/ -lfmpich -lmpich' |