/[MITgcm]/MITgcm/tools/build_options/sp4
ViewVC logotype

Contents of /MITgcm/tools/build_options/sp4

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


Revision 1.7 - (show annotations) (download)
Thu Dec 22 01:38:05 2005 UTC (18 years, 3 months ago) by ce107
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint58e_post, mitgcm_mapl_00, checkpoint58u_post, checkpoint58w_post, checkpoint60, checkpoint61, checkpoint62, checkpoint58r_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58h_post, checkpoint58q_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint58, checkpoint58f_post, checkpoint58d_post, checkpoint58c_post, checkpoint58a_post, checkpoint58i_post, checkpoint58g_post, checkpoint58o_post, checkpoint57z_post, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y, checkpoint58b_post, checkpoint58m_post
Changes since 1.6: +25 -8 lines
Updated the optfiles to get PAPI/HPMT/GSL working and get rid of any qhot.

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sp4,v 1.6 2005/01/13 00:16:31 ce107 Exp $
4 #
5
6 # tested on bluesky, ce107 Oct 2005
7 # using the following invocation:
8 # ../../../tools/genmake2 -mods=../code -of=../../../tools/build_options/sp4 -make=gmake
9
10 S64='$(TOOLSDIR)/set64bitConst.sh'
11 MAKEDEPEND=makedepend
12 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_AIX -DWORDLENGTH=4'
13
14 #ph: e.g. bluesky.ucar.edu, marcellus.navo.hpc.mil
15 INCLUDES='-I/usr/lpp/ppe.poe/include/thread -I/usr/local/include'
16 CPP='/lib/cpp -P'
17 CC='mpcc_r'
18 FC='mpxlf95_r'
19 LINK='mpxlf95_r'
20 LIBS='-L/usr/local/apps/mass -lmass -L/usr/local/lib/r4i4'
21 FFLAGS='-qfixed=132 -bmaxdata:0x80000000'
22 if test "x$IEEE" = x ; then
23 # No need for IEEE-754
24 FOPTIM='-O3 -Q -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
25 CFLAGS='-O3 -Q -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
26 else
27 # Try to follow IEEE-754
28 FOPTIM='-O3 -qstrict -Q -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
29 CFLAGS='-O3 -qstrict -Q -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
30 fi
31 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
32 MPI_HEADER_FILES='mpif.h'
33 MPI_HEADER_FILES_INC='./mpi_headers/mpif.h'
34 MPIINCLUDEDIR='/usr/lpp/ppe.poe/include/thread'
35 HPMTINC='-I/usr/local/hpmtoolkit/include'
36 HPMTLIB='-L/usr/local/hpmtoolkit/lib -lhpm_r -lpmapi'
37 GSLINC='-I/home/bluesky/evangeli/gsl-1.5/include'
38 GSLLIB='-L/home/bluesky/evangeli/gsl-1.5/lib -lgsl -lgslcblas'
39 PAPIINC='-I/usr/local/include'
40 PAPILIB='-L/usr/local/lib -lpapi'

  ViewVC Help
Powered by ViewVC 1.1.22