/[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.6 - (hide annotations) (download)
Sun Mar 21 21:34:01 2010 UTC (14 years, 6 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 edhill 1.1 #!/bin/bash
2     #
3 jmc 1.6 # $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 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     FC='mpif77'
16     CC='mpicc'
17 jmc 1.5 if test "x$ALWAYS_USE_F90" = x1 ; then
18     FC='mpif90'
19     fi
20 jmc 1.6 LINK=$FC
21    
22 edhill 1.3 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
23 jmc 1.6 CPP='cpp -traditional -P'
24     EXTENDED_SRC_FLAG='-Mextend'
25    
26 edhill 1.3 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 edhill 1.1
29     if test "x$IEEE" = x ; then
30     # No need for IEEE-754
31 jmc 1.6 FFLAGS="$FFLAGS -byteswapio -Mnodclchk -Mextend"
32 edhill 1.3 # FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform'
33     FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
34 edhill 1.1 else
35     # Try to follow IEEE-754
36 jmc 1.6 FFLAGS="$FFLAGS -byteswapio"
37 jmc 1.4 FOPTIM='-O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
38 edhill 1.1 fi
39 jmc 1.6 #- might want to use '-r8' for fizhi pkg:
40     #FFLAGS="$FFLAGS -r8"
41 edhill 1.1

  ViewVC Help
Powered by ViewVC 1.1.22