Warning, /tools/build_options/darwin_ppc_xlf_panther 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
073b21fc8c Chri*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
073b21fc8c Chri*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
073b21fc8c Chri*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 CPP='/usr/bin/cpp -traditional -P -xassembler-with-cpp'
0017 FC=/opt/ibmcmp/xlf/8.1/bin/f77
0018 LINK=/opt/ibmcmp/xlf/8.1/bin/f77
0019 FFLAGS='-qfixed=132 -qsuffix=f=for'
0020 FOPTIM='-O3'
0021 NOOPTFLAGS='-O0'
0022
0023 S64='$(TOOLSDIR)/set64bitConst.sh'
0024 MAKEDEPEND='${TOOLSDIR}/xmakedepend'
0025 #MAKEDEPEND=makedepend
23c0099c8c Jean*0026 DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR'