1 |
edhill |
1.1 |
#!/bin/bash |
2 |
|
|
# |
3 |
|
|
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77,v 1.7 2005/01/31 19:30:14 ce107 Exp $ |
4 |
|
|
# |
5 |
|
|
|
6 |
|
|
FC='/usr/local/pkg/pgi/pgi-5.2-fc3/linux86/5.2/bin/pgf77' |
7 |
|
|
CC='/usr/local/pkg/pgi/pgi-5.2-fc3/linux86/5.2/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 |
22 |
|
|
|