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

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

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


Revision 1.3 - (hide annotations) (download)
Thu Sep 29 16:04:17 2011 UTC (12 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
move to unsupported (has been merged into darwin_ia32_gfortran)

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