Warning, /tools/build_options/darwin_ppc_xlf_panther_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
9d679b3af8 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
9d679b3af8 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
9d679b3af8 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/tools
0017 CPP='/usr/bin/cpp -traditional -P -xassembler-with-cpp'
0018 FC=/opt/ibmcmp/xlf/8.1/bin/f77
0019 LINK=/opt/ibmcmp/xlf/8.1/bin/f77
0020 FFLAGS='-qfixed=132 -qsuffix=f=for'
0021 FOPTIM='-O5'
0022 LIBS='-L/Users/baylor/Research/netcdf-3.6.0-xlf/lib -lnetcdf'
0023 INCLUDES='-I/Users/baylor/Research/netcdf-3.6.0-xlf/include'
0024 # FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) _ ## X"
0025 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
0026
0027 S64='$(TOOLSDIR)/set64bitConst.sh'
0028 #MAKEDEPEND='${TOOLSDIR}/xmakedepend'
0029 MAKEDEPEND=makedepend
0030 DEFINES='-DWORDLENGTH=4'
0031 NOOPTFILES='ini_curvilinear_grid.F'
6144427bd2 Jean*0032 NOOPTFLAGS='-O3'