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

Annotation 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 - (hide 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 edhill 1.1 #!/bin/bash
2     #
3 jmc 1.8 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+authors_fc5,v 1.7 2010/03/21 21:32:57 jmc Exp $
4 jmc 1.7 # $Name: $
5 edhill 1.1
6 jmc 1.7 # on author:
7 jmc 1.5 # (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 jmc 1.8 DEFINES='-DWORDLENGTH=4'
11     CPP='cpp -traditional -P'
12    
13 edhill 1.1 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 jmc 1.7 if test "x$ALWAYS_USE_F90" = x1 ; then
16     FC='/usr/local/pkg/pgi/pgi-6.1-5/linux86/6.1/bin/pgf90'
17 jmc 1.8 else
18     DEFINES="$DEFINES -DNML_EXTENDED_F77"
19 jmc 1.7 fi
20    
21     EXTENDED_SRC_FLAG='-Mextend'
22 jmc 1.8 GET_FC_VERSION="-V"
23 jmc 1.7
24 edhill 1.1 # 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 jmc 1.7 FFLAGS="$FFLAGS -byteswapio -Mnodclchk"
30     FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
31 edhill 1.1 else
32     # Try to follow IEEE-754
33 jmc 1.6 FFLAGS="$FFLAGS -byteswapio"
34 jmc 1.7 FOPTIM='-O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
35 edhill 1.1 fi
36 jmc 1.7 #- might want to use '-r8' for fizhi pkg:
37     #FFLAGS="$FFLAGS -r8"
38 edhill 1.1

  ViewVC Help
Powered by ViewVC 1.1.22