1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+authors_fc3,v 1.1 2005/04/26 20:15:38 edhill 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 |
|
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 |