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

Annotation 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 - (hide annotations) (download)
Mon Dec 13 22:45:55 2010 UTC (13 years, 4 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 edhill 1.1 #!/bin/bash
2     #
3 jmc 1.9 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_pgf77+mpi_aces,v 1.8 2010/12/13 04:50:57 jmc Exp $
4 jmc 1.6 # $Name: $
5 edhill 1.1 #
6 edhill 1.3 # 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 edhill 1.1
15 jmc 1.8 DEFINES='-DWORDLENGTH=4'
16     CPP='cpp -traditional -P'
17    
18 edhill 1.1 FC='mpif77'
19     CC='mpicc'
20 jmc 1.8 if test "x$ALWAYS_USE_F90" = x1 ; then
21 jmc 1.5 FC='mpif90'
22 jmc 1.8 else
23     DEFINES="$DEFINES -DNML_EXTENDED_F77"
24     fi
25 jmc 1.6 LINK=$FC
26    
27     EXTENDED_SRC_FLAG='-Mextend'
28 jmc 1.9 GET_FC_VERSION="-V"
29 jmc 1.6
30 edhill 1.3 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 edhill 1.1
33     if test "x$IEEE" = x ; then
34     # No need for IEEE-754
35 jmc 1.6 FFLAGS="$FFLAGS -byteswapio -Mnodclchk -Mextend"
36 edhill 1.3 # FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform'
37     FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
38 edhill 1.1 else
39     # Try to follow IEEE-754
40 jmc 1.6 FFLAGS="$FFLAGS -byteswapio"
41 jmc 1.4 FOPTIM='-O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
42 edhill 1.1 fi
43 jmc 1.6 #- might want to use '-r8' for fizhi pkg:
44     #FFLAGS="$FFLAGS -r8"
45 edhill 1.1

  ViewVC Help
Powered by ViewVC 1.1.22