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

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

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


Revision 1.2 - (show annotations) (download)
Sun Mar 21 22:22:52 2010 UTC (14 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63
Changes since 1.1: +3 -2 lines
add cvs Name and Header (if missing)

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/darwin_ia32_gfortran+mpi,v 1.1 2009/12/23 12:52:32 mlosch Exp $
4 # $Name: $
5
6 # tested on MacBook Pro with Leopard
7 # on 23-Dec-2009
8 # gfortran (version 4.3.1) obtained via fink
9 # OpenMPI (version 1.4) obtained from http://www.open.mpi.org
10
11 CPP='/usr/bin/cpp -traditional -P'
12 FC=mpif90
13 #CC=gcc
14 # Following flag is needed when using 32-bit gfortran with 64-bit gcc,
15 # as can be the case right after switching to Snow Leopard.
16 #CFLAGS='-arch i386'
17 LINK=mpif90
18 NOOPTFLAGS='-O0'
19 EXTENDED_SRC_FLAG='-ffixed-line-length-132'
20 MPI='true'
21
22 S64='$(TOOLSDIR)/set64bitConst.sh'
23 #EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend'
24 #EH3 MAKEDEPEND=makedepend
25 DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR'
26 #INCLUDES='-I/sw/include -I/opt/openmpi/include''
27 #LIBS='-L/sw/lib'
28 INCLUDES='-I/usr/local/include -I/opt/openmpi/include'
29 LIBS='-L/usr/local/lib'
30
31 # For IEEE, use the "-ffloat-store" option
32 if test "x$IEEE" = x ; then
33 FFLAGS='-Wunused -Wuninitialized -fsecond-underscore -fconvert=big-endian'
34 FOPTIM='-O3 -funroll-loops'
35 NOOPTFLAGS='-O2 -funroll-loops'
36 NOOPTFILES='gad_c4_adv_x.F gad_u3_adv_x.F'
37 else
38 FFLAGS='-Wunused -ffloat-store -fsecond-underscore -fconvert=big-endian'
39 FOPTIM='-O0'
40 fi

  ViewVC Help
Powered by ViewVC 1.1.22