1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+authors_fc5,v 1.3 2007/06/15 16:28:58 jmc Exp $ |
4 |
# |
5 |
|
6 |
FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf77' |
7 |
CC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgcc' |
8 |
DEFINES='-DWORDLENGTH=4' |
9 |
CPP='cpp -traditional -P' |
10 |
# INCLUDES="-I/scratch/edhill/netcdf_for_pgi/pgi_fc3/include" |
11 |
# LIBS="-L/scratch/edhill/netcdf_for_pgi/pgi_fc3/lib" |
12 |
if test "x$ALWAYS_USE_F90" = x1 ; then |
13 |
FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf90' |
14 |
fi |
15 |
|
16 |
if test "x$IEEE" = x ; then |
17 |
# No need for IEEE-754 |
18 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
19 |
FOPTIM='-fastsse -Mvect=cachesize:524288,transform' |
20 |
else |
21 |
# Try to follow IEEE-754 |
22 |
FFLAGS='-byteswapio -r8' |
23 |
FOPTIM='-O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee' |
24 |
fi |