/[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.6 - (hide annotations) (download)
Sat Aug 8 17:00:46 2009 UTC (14 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint61v, checkpoint61w, checkpoint61u, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.5: +5 -5 lines
add to FFLAGS & FOPTIM (instead of setting them):
 Should work since then are initialised to empty value in genmake2
remove "-r8" flag (this is a test)

1 edhill 1.1 #!/bin/bash
2     #
3 jmc 1.6 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+authors_fc5,v 1.5 2009/04/02 22:06:38 jmc Exp $
4 edhill 1.1 #
5    
6 jmc 1.5 # 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 edhill 1.1 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 jmc 1.4 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 edhill 1.1
20     if test "x$IEEE" = x ; then
21     # No need for IEEE-754
22 jmc 1.6 FFLAGS="$FFLAGS -byteswapio -Mnodclchk -Mextend"
23     FOPTIM="$FOPTIM -fastsse -Mvect=cachesize:524288,transform"
24 edhill 1.1 else
25     # Try to follow IEEE-754
26 jmc 1.6 FFLAGS="$FFLAGS -byteswapio"
27     FOPTIM="$FOPTIM -O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee"
28 edhill 1.1 fi
29    

  ViewVC Help
Powered by ViewVC 1.1.22