Warning, /tools/build_options/unsupported/darwin_ia32_gfortran+mpi is written in an unsupported language. File is not indexed.
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
dc176d033f Mart*0001 #!/bin/bash
0002 #
0003 # tested on MacBook Pro with Leopard
0004 # on 23-Dec-2009
0005 # gfortran (version 4.3.1) obtained via fink
0006 # OpenMPI (version 1.4) obtained from http://www.open.mpi.org
0007
0008 CPP='/usr/bin/cpp -traditional -P'
0009 FC=mpif90
0010 #CC=gcc
0011 # Following flag is needed when using 32-bit gfortran with 64-bit gcc,
0012 # as can be the case right after switching to Snow Leopard.
0013 #CFLAGS='-arch i386'
0014 LINK=mpif90
0015 NOOPTFLAGS='-O0'
0016 EXTENDED_SRC_FLAG='-ffixed-line-length-132'
0017 MPI='true'
0018
0019 S64='$(TOOLSDIR)/set64bitConst.sh'
0020 #EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend'
0021 #EH3 MAKEDEPEND=makedepend
0022 DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR'
0023 #INCLUDES='-I/sw/include -I/opt/openmpi/include''
0024 #LIBS='-L/sw/lib'
0025 INCLUDES='-I/usr/local/include -I/opt/openmpi/include'
0026 LIBS='-L/usr/local/lib'
0027
0028 # For IEEE, use the "-ffloat-store" option
0029 if test "x$IEEE" = x ; then
0030 FFLAGS='-Wunused -Wuninitialized -fsecond-underscore -fconvert=big-endian'
0031 FOPTIM='-O3 -funroll-loops'
0032 NOOPTFLAGS='-O2 -funroll-loops'
0033 NOOPTFILES='gad_c4_adv_x.F gad_u3_adv_x.F'
0034 else
0035 FFLAGS='-Wunused -ffloat-store -fsecond-underscore -fconvert=big-endian'
0036 FOPTIM='-O0'
0037 fi