1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+mpi_cg01,v 1.8 2005/05/24 00:13:26 edhill Exp $ |
4 |
# |
5 |
|
6 |
FC='/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/pgi/bin/mpif77' |
7 |
CC='/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/pgi/bin/mpicc' |
8 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
9 |
CPP='/lib/cpp -traditional -P' |
10 |
NOOPTFLAGS='-O0' |
11 |
|
12 |
if test "x$IEEE" = x ; then |
13 |
# No need for IEEE-754 |
14 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
15 |
FOPTIM='-fast -Mvect=cachesize:524288,transform' |
16 |
else |
17 |
# Try to follow IEEE-754 |
18 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
19 |
FOPTIM='-O0 -Mvect=sse -pc64 -Mcache_align -Kieee' |
20 |
fi |
21 |
|
22 |
INCLUDEDIRS='/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/pgi/include' |
23 |
INCLUDES='-I/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/pgi/include' |
24 |
LIBS='-lnetcdf' |