/[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.8 - (show annotations) (download)
Sun Dec 19 22:42:23 2010 UTC (13 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.7: +7 -3 lines
add "-DNML_EXTENDED_F77" to the DEFINES list for pgf77 and g77 optfiles

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+authors_fc5,v 1.7 2010/03/21 21:32:57 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 DEFINES='-DWORDLENGTH=4'
11 CPP='cpp -traditional -P'
12
13 FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf77'
14 CC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgcc'
15 if test "x$ALWAYS_USE_F90" = x1 ; then
16 FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf90'
17 else
18 DEFINES="$DEFINES -DNML_EXTENDED_F77"
19 fi
20
21 EXTENDED_SRC_FLAG='-Mextend'
22 GET_FC_VERSION="-V"
23
24 # INCLUDES="-I/scratch/edhill/netcdf_for_pgi/pgi_fc3/include"
25 # LIBS="-L/scratch/edhill/netcdf_for_pgi/pgi_fc3/lib"
26
27 if test "x$IEEE" = x ; then
28 # No need for IEEE-754
29 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
30 FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
31 else
32 # Try to follow IEEE-754
33 FFLAGS="$FFLAGS -byteswapio"
34 FOPTIM='-O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
35 fi
36 #- might want to use '-r8' for fizhi pkg:
37 #FFLAGS="$FFLAGS -r8"

  ViewVC Help
Powered by ViewVC 1.1.22