/[MITgcm]/MITgcm/tools/build_options/sp5+mpi
ViewVC logotype

Contents of /MITgcm/tools/build_options/sp5+mpi

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


Revision 1.3 - (show annotations) (download)
Sun Mar 21 22:22:53 2010 UTC (14 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64i, checkpoint64h, checkpoint64j, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint63, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.2: +3 -3 lines
add cvs Name and Header (if missing)

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sp5+mpi,v 1.2 2008/04/19 18:01:30 heimbach Exp $
4 # $Name: $
5
6 # tested on bluevista, ce107 Feb 2006
7 # using the following invocation:
8 # ../../../tools/genmake2 -mods=../code -of=../../../tools/build_options/sp5+mpi -make=gmake
9
10 S64='$(TOOLSDIR)/set64bitConst.sh'
11 MAKEDEPEND=makedepend
12
13 # NML_TERMINATOR should enable using "&" as terminator, but doesnt work
14 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_AIX -DWORDLENGTH=4 -DNML_TERMINATOR'
15
16 INCLUDES='-I/usr/lpp/ppe.poe/include/thread64 -I/usr/local/include'
17 CPP='/lib/cpp -P'
18 # The -q64 is redundant on bluevista, default mode is 64bit
19 CC='mpcc_r -q64'
20 FC='mpxlf_r -q64'
21 LINK='mpxlf_r -q64'
22 LIBS='-lmass -L/usr/local/lib64/r4i4 -L/usr/local/lib64 -L/usr/local/lib'
23 FFLAGS='-qfixed=132'
24 if test "x$IEEE" = x ; then
25 # No need for IEEE-754
26 FOPTIM='-O3 -Q -qarch=pwr5 -qtune=pwr5 -qcache=auto -qmaxmem=-1'
27 CFLAGS='-O3 -Q -qarch=pwr5 -qtune=pwr5 -qcache=auto -qmaxmem=-1'
28 else
29 # Try to follow IEEE-754
30 FOPTIM='-O3 -qstrict -Q -qarch=pwr5 -qtune=pwr5 -qcache=auto -qmaxmem=-1'
31 CFLAGS='-O3 -qstrict -Q -qarch=pwr5 -qtune=pwr5 -qcache=auto -qmaxmem=-1'
32 fi
33 #
34 # useful for netcdf
35 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
36 #
37 # useful for parallel DIVA
38 MPI_HEADER_FILES='mpif.h'
39 MPI_HEADER_FILES_INC='./mpi_headers/mpif.h'
40 MPIINCLUDEDIR='/usr/lpp/ppe.poe/include/thread64'
41 #
42 # usful for timing, but not all libs availale on bv
43 #HPMTINC='-I/usr/local/include'
44 #HPMTLIB='-L/usr/local/lib -lhpm -lpmapi'
45 #GSLINC='-I/homebv/evangeli/gsl-1.5/include'
46 #GSLLIB='-L/homebv/evangeli/gsl-1.5/lib64 -lgsl -lgslcblas'
47 #PAPIINC='-I/usr/local/include'
48 #PAPILIB='-L/usr/local/lib -lpapi'

  ViewVC Help
Powered by ViewVC 1.1.22