/[MITgcm]/MITgcm/tools/build_options/linux_ia32_pgf77+authors_fc5
ViewVC logotype

Contents of /MITgcm/tools/build_options/linux_ia32_pgf77+authors_fc5

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (show annotations) (download)
Sun Mar 21 21:32:57 2010 UTC (14 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62p
Changes since 1.6: +14 -9 lines
set EXTENDED_SRC_FLAG

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+authors_fc5,v 1.6 2009/08/08 17:00:46 jmc Exp $
4 # $Name: $
5
6 # on author:
7 # (csh,tcsh) setenv PGI /usr/local/pkg/pgi/pgi-6.1-5
8 # (sh,bash) export PGI=/usr/local/pkg/pgi/pgi-6.1-5
9
10 FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf77'
11 CC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgcc'
12 if test "x$ALWAYS_USE_F90" = x1 ; then
13 FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf90'
14 fi
15
16 DEFINES='-DWORDLENGTH=4'
17 CPP='cpp -traditional -P'
18 EXTENDED_SRC_FLAG='-Mextend'
19
20 # INCLUDES="-I/scratch/edhill/netcdf_for_pgi/pgi_fc3/include"
21 # LIBS="-L/scratch/edhill/netcdf_for_pgi/pgi_fc3/lib"
22
23 if test "x$IEEE" = x ; then
24 # No need for IEEE-754
25 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
26 FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
27 else
28 # Try to follow IEEE-754
29 FFLAGS="$FFLAGS -byteswapio"
30 FOPTIM='-O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
31 fi
32 #- might want to use '-r8' for fizhi pkg:
33 #FFLAGS="$FFLAGS -r8"

  ViewVC Help
Powered by ViewVC 1.1.22