/[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.7 - (hide annotations) (download)
Thu Dec 9 23:13:46 2010 UTC (13 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.6: +4 -3 lines
as a test: try to always use pgf90

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

  ViewVC Help
Powered by ViewVC 1.1.22