1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+mpi,v 1.4 2004/09/21 19:51:10 edhill Exp $ |
4 |
# |
5 |
|
6 |
FC='pgf77' |
7 |
DEFINES='-DWORDLENGTH=4' |
8 |
INCLUDES='-I/usr/local/mpich-1.2.1/pgi_fortran_binding/include' |
9 |
LIBS='-L/usr/local/mpich-1.2.1/pgi_fortran_binding/lib/ -lfmpich -lmpich' |
10 |
#INCLUDES='-I/usr/local/mpich-1.2.1/pgi_fortran_binding/include' |
11 |
INCLUDES='$INCLUDES -I/usr/local/include' |
12 |
|
13 |
if test "x$IEEE" = x ; then |
14 |
# No need for IEEE-754 |
15 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
16 |
FOPTIM='-tp p6 -v -O2 -Munroll' |
17 |
# -Mvect=cachesize:512000,transform |
18 |
else |
19 |
# Try to follow IEEE-754 |
20 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
21 |
FOPTIM='-tp p6 -v -O2 -Munroll -Kieee' |
22 |
# -Mvect=cachesize:512000,transform |
23 |
fi |
24 |
|
25 |
#LIBS='-L/usr/local/mpich-1.2.1/pgi_fortran_binding/lib/ -lfmpich -lmpich' |
26 |
LIBS='-L/usr/local/lib/LINUX/ch_p4/ -lfmpich -lmpich' |