1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_amd64_pgf77+mpi,v 1.1 2004/12/20 16:02:29 edhill Exp $ |
4 |
# |
5 |
|
6 |
FC='pgmpif77' |
7 |
CC='pgcc' |
8 |
LINK='pgmpif77' |
9 |
MPI='true' |
10 |
DEFINES='-DWORDLENGTH=4' |
11 |
|
12 |
INCLUDES='-I/opt/scali/include' |
13 |
CPP='/usr/bin/cpp -P -traditional' |
14 |
#LIBS='-L/usr/local/mpich-1.2.1/pgi_fortran_binding/lib/ -lfmpich -lmpich' |
15 |
#INCLUDES='-I/usr/local/mpich-1.2.1/pgi_fortran_binding/include' |
16 |
#INCLUDES='$INCLUDES -I/usr/local/include' |
17 |
|
18 |
if test "x$IEEE" = x ; then |
19 |
# No need for IEEE-754 |
20 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
21 |
FOPTIM='-tp amd64 -O2 -Munroll' |
22 |
# -Mvect=cachesize:512000,transform |
23 |
else |
24 |
# Try to follow IEEE-754 |
25 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
26 |
FOPTIM='-tp amd64 -v -O2 -Munroll -Kieee' |
27 |
# -Mvect=cachesize:512000,transform |
28 |
fi |
29 |
|
30 |
#LIBS='-L/usr/local/mpich-1.2.1/pgi_fortran_binding/lib/ -lfmpich -lmpich' |
31 |
#LIBS='-L/usr/local/lib/LINUX/ch_p4/ -lfmpich -lmpich' |