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

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

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


Revision 1.1 - (show annotations) (download)
Thu Sep 29 16:04:17 2011 UTC (12 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
move to unsupported (has been merged into darwin_ia32_gfortran)

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/darwin_ia32_gfortran+mpi,v 1.2 2010/03/21 22:22:52 jmc 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