/[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.9 - (show annotations) (download)
Mon Dec 13 22:45:55 2010 UTC (13 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.8: +2 -3 lines
add flag to get the compiler version

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

  ViewVC Help
Powered by ViewVC 1.1.22