/[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.5 - (hide annotations) (download)
Fri May 9 16:38:34 2008 UTC (16 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint60, checkpoint61, checkpoint62, checkpoint61l, checkpoint59r, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.4: +5 -3 lines
option to force the use of F90 compiler

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

  ViewVC Help
Powered by ViewVC 1.1.22