1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia64_pgf77+mpi_cray_xt3_jaguar,v 1.1 2008/04/16 20:19:04 heimbach Exp $ |
4 |
# $Name: $ |
5 |
|
6 |
# heimbach@mit.edu, ce107@mit.edu |
7 |
# tested on jaguarcnl.ccs.ornl.gov CRAY XT3 |
8 |
|
9 |
FC='ftn' |
10 |
CC='cc' |
11 |
|
12 |
DEFINES='-DWORDLENGTH=4 -DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_CRAYXT' |
13 |
CPP='cpp -traditional -P' |
14 |
EXTENDED_SRC_FLAG='-Mextend' |
15 |
|
16 |
###INCLUDES='-I/usr/local/mpich-1.2.1/pgi_fortran_binding/include' |
17 |
INCLUDES="-I${MPICH_DIR_FTN_DEFAULT64}/include" |
18 |
LIBS='-lfmpich -lmpich' |
19 |
|
20 |
FFLAGS="$FFLAGS -byteswapio -Mnodclchk" |
21 |
FOPTIM='-tp k8-64 -pc=64 -fastsse -O3 -Msmart' |
22 |
# -Mvect=cachesize:512000,transform |
23 |
#- might want to use '-r8' for fizhi pkg: |
24 |
#FFLAGS="$FFLAGS -r8" |