/[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.5 - (show annotations) (download)
Thu Apr 2 22:06:38 2009 UTC (15 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint61l, checkpoint61n, checkpoint61o, checkpoint61m, checkpoint61t, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q
Changes since 1.4: +5 -1 lines
add setting of env. var "PGI"

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+authors_fc5,v 1.4 2008/05/09 16:38:35 jmc Exp $
4 #
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 DEFINES='-DWORDLENGTH=4'
13 CPP='cpp -traditional -P'
14 # INCLUDES="-I/scratch/edhill/netcdf_for_pgi/pgi_fc3/include"
15 # LIBS="-L/scratch/edhill/netcdf_for_pgi/pgi_fc3/lib"
16 if test "x$ALWAYS_USE_F90" = x1 ; then
17 FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf90'
18 fi
19
20 if test "x$IEEE" = x ; then
21 # No need for IEEE-754
22 FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend'
23 FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
24 else
25 # Try to follow IEEE-754
26 FFLAGS='-byteswapio -r8'
27 FOPTIM='-O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
28 fi

  ViewVC Help
Powered by ViewVC 1.1.22