1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77,v 1.3 2004/07/30 19:25:03 molod Exp $ |
4 |
# |
5 |
|
6 |
FC='pgf77' |
7 |
CC='gcc' |
8 |
DEFINES='-DWORDLENGTH=4' |
9 |
CPP='cpp -traditional -P' |
10 |
|
11 |
if test "x$IEEE" = x ; then |
12 |
# No need for IEEE-754 |
13 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
14 |
FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform' |
15 |
else |
16 |
# Try to follow IEEE-754 |
17 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
18 |
FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform -Kieee' |
19 |
fi |
20 |
|
21 |
LIBS='-lnetcdf' |