Warning, /tools/build_options/darwin_ppc_xlf_tiger_baylor 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
4655ea112b Bayl*0001 #!/bin/bash
0002 #
0003 # Build options for Darwin on G5 Mac with IBM XL Fortran compilers
0004 # tested on G5 dual, 2GHz
0005 # ( Darwin eaps-dhcp-162.lcs.mit.edu 6.7.5 Darwin Kernel Version 6.7.5: Mon Aug 11 19:28:40 PDT 2003; root:xnu/xnu-344.21.73.obj~1/RELEASE_PPC Power Macintosh powerpc )
6144427bd2 Jean*0006 # cc-compiler is available only with the Apple Developer Tools,
0007 # so make sure that those are installed
4655ea112b Bayl*0008 #
6144427bd2 Jean*0009 # **NOTES**
0010 # o with Darwin you must remember to build on a ufs file system. The default Darwin file system (hfs) treats
4655ea112b Bayl*0011 # upper case and lower case file names as the same file. This breaks the current MITgcm build procedure.
0012 # o tim.c should use uembellished cloc() are the procedure name for XLF
0013 # ETIME (timers.F) and FDATE (utils.F) are not available with Darwin+XLF so need to be switched out.
0014 #
0015
0016 #export TOOLSDIR=/Users/baylor/Research/MITgcm.up/tools
0017
0018 CPP='/usr/bin/cpp -traditional -P -xassembler-with-cpp'
0019 FC=/opt/ibmcmp/xlf/8.1/bin/f77
0020 LINK=/opt/ibmcmp/xlf/8.1/bin/f77
0021 #LINK=/usr/local/bin/g77
0022 FFLAGS='-qfixed=132 -qsuffix=f=for'
0023 FOPTIM='-O5'
0024 #SKIP_NETCDF_CHECK=t
0025 #HAVE_NETCDF=t
0026 LIBS='-L/Users/baylor/Research/netcdf-3.6.0-xlf/lib -lnetcdf -L/usr/lib -lSystemStubs'
0027 INCLUDES='-I/Users/baylor/Research/netcdf-3.6.0-xlf/include'
0028 # FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) _ ## X"
0029 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
0030
0031 S64='$(TOOLSDIR)/set64bitConst.sh'
0032 #MAKEDEPEND='${TOOLSDIR}/xmakedepend'
0033 MAKEDEPEND=makedepend
0034 DEFINES='-DWORDLENGTH=4'
0035 NOOPTFILES='ini_curvilinear_grid.F'
6144427bd2 Jean*0036 NOOPTFLAGS='-O3'