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

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

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


Revision 1.4 - (show annotations) (download)
Thu Jun 14 16:48:02 2007 UTC (16 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59q, checkpoint59p, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j
Changes since 1.3: +3 -4 lines
remove -Mvect option (-ieee case only) which was forcing -O2 optimization

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+mpi_aces,v 1.3 2006/07/28 15:17:05 edhill Exp $
4 # $Name: $
5 #
6 # These are the build options used with the PGI compiler for the
7 # daily testing on ACES (which are initiated by cron jobs on the "ao"
8 # head node).
9 #
10 # Please note the appropriate module command:
11 #
12 # module add mpich/pgi
13 #
14
15
16 FC='mpif77'
17 CC='mpicc'
18 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
19 INCLUDES='-I/usr/local/pkg/mpich/mpich-pgi/include -I/usr/local/pkg/pgi/pgi-5.2/linux86/5.2/include'
20 CPP='cpp -traditional -P'
21 LINK='mpif77'
22 LIBS='-L/usr/local/pkg/mpich/mpich-pgi/lib -L/usr/local/pkg/pgi/pgi-5.2/linux86/5.2/lib'
23
24
25 if test "x$IEEE" = x ; then
26 # No need for IEEE-754
27 FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend'
28 # FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform'
29 FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
30 else
31 # Try to follow IEEE-754
32 FFLAGS='-byteswapio -r8'
33 FOPTIM='-O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
34 fi

  ViewVC Help
Powered by ViewVC 1.1.22