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

Diff of /MITgcm/tools/build_options/linux_ia32_pgf77+mpi_aces

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by edhill, Sat Nov 13 03:23:28 2004 UTC revision 1.6 by jmc, Sun Mar 21 21:34:01 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  #  #
3  #  $Header$  # $Header$
4  #  $Name$  # $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  FC='mpif77'  FC='mpif77'
16  CC='mpicc'  CC='mpicc'
17  DEFINES='-DWORDLENGTH=4'  if test "x$ALWAYS_USE_F90" = x1 ; then
18        FC='mpif90'
19    fi
20    LINK=$FC
21    
22    DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
23  CPP='cpp  -traditional -P'  CPP='cpp  -traditional -P'
24  LINK='mpif77'  EXTENDED_SRC_FLAG='-Mextend'
 INCLUDES='-I/usr/local/pkg/pgi/pgi-5.2/linux86/5.2/include'  
25    
26    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    
29  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
30      #  No need for IEEE-754      #  No need for IEEE-754
31      FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend'      FFLAGS="$FFLAGS -byteswapio -Mnodclchk -Mextend"
32      FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform'      # FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform'
33        FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
34  else  else
35      #  Try to follow IEEE-754      #  Try to follow IEEE-754
36      FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend'      FFLAGS="$FFLAGS -byteswapio"
37      FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform -Kieee'      FOPTIM='-O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
38  fi  fi
39    #- might want to use '-r8' for fizhi pkg:
40    #FFLAGS="$FFLAGS -r8"
41    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22