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

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

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


Revision 1.2 - (hide annotations) (download)
Sat Apr 19 18:01:30 2008 UTC (16 years ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint60, checkpoint61, checkpoint62, checkpoint59q, checkpoint59r, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.1: +3 -3 lines
Not sure why I changed this but let's check in what is being used now.

1 heimbach 1.1 #!/bin/bash
2     #
3 heimbach 1.2 # $Header: /u/gcmpack/MITgcm/tools/build_options/sp5+mpi,v 1.1 2006/06/27 11:23:43 heimbach Exp $
4 heimbach 1.1 #
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 heimbach 1.2 FC='mpxlf_r -q64'
21     LINK='mpxlf_r -q64'
22 heimbach 1.1 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