/[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.6 - (show annotations) (download)
Sun Mar 21 21:34:01 2010 UTC (14 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l
Changes since 1.5: +11 -7 lines
- remove "-r8" option (more similar to other compiler optfile).
- does not set FFLAGS (done in genmake2) but append to it
- set EXTENDED_SRC_FLAG

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+mpi_aces,v 1.5 2008/05/09 16:38:34 jmc 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 FC='mpif77'
16 CC='mpicc'
17 if test "x$ALWAYS_USE_F90" = x1 ; then
18 FC='mpif90'
19 fi
20 LINK=$FC
21
22 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
23 CPP='cpp -traditional -P'
24 EXTENDED_SRC_FLAG='-Mextend'
25
26 INCLUDES='-I/usr/local/pkg/mpich/mpich-pgi/include -I/usr/local/pkg/pgi/pgi-5.2/linux86/5.2/include'
27 LIBS='-L/usr/local/pkg/mpich/mpich-pgi/lib -L/usr/local/pkg/pgi/pgi-5.2/linux86/5.2/lib'
28
29 if test "x$IEEE" = x ; then
30 # No need for IEEE-754
31 FFLAGS="$FFLAGS -byteswapio -Mnodclchk -Mextend"
32 # FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform'
33 FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
34 else
35 # Try to follow IEEE-754
36 FFLAGS="$FFLAGS -byteswapio"
37 FOPTIM='-O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
38 fi
39 #- might want to use '-r8' for fizhi pkg:
40 #FFLAGS="$FFLAGS -r8"

  ViewVC Help
Powered by ViewVC 1.1.22