Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/darwin_ppc_xlf 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
f05a8b5bba 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
f05a8b5bba 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
f05a8b5bba 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'
                0017 FC=/opt/ibmcmp/xlf/8.1/bin/f77
                0018 LINK=/opt/ibmcmp/xlf/8.1/bin/f77
                0019 FFLAGS='-qfixed=132'
                0020 FOPTIM='-O3'
                0021 NOOPTFLAGS='-O0'
                0022 
                0023 S64='$(TOOLSDIR)/set64bitConst.sh'
                0024 MAKEDEPEND='${TOOLSDIR}/xmakedepend'
                0025 #MAKEDEPEND=makedepend
                0026 DEFINES='-DWORDLENGTH=4'