[MITgcm-support] problem running on OS X

m. r. schaferkotter schaferk at bellsouth.net
Sun Aug 1 01:59:45 EDT 2004


greetings:

on Mac dual G4 with 10.3 (using Xcode) with Absoft Pro Fortran 8.0, i 
try to build verification/plume_on_slope.

the Makefile is generated with:

# This makefile was generated automatically on
#    Sun Aug  1 00:32:34 CDT 2004
# by the command:
#    ../../tools/genmake2  
"-optfile=../../tools/build_options/darwin_absoft_f77" "-mods=./code" 
"-disable=gmredi,kpp,zonal_filt,shap_filt"
# executed by:
#    me at mach.local:/Users/me/MITgcm/verification/plume_on_slope
#
# OPTFILE="../../tools/build_options/darwin_absoft_f77"

replace
CPP = cat $< | $(TOOLSDIR)/set64bitConst.sh | /usr/bin/cpp -traditional 
-P

with
CPP=  cat $< | $(TOOLSDIR)/set64bitConst.sh | /usr/bin/cpp -traditional 
-P -xassembler-with-cpp

and it builds:

[mach:~/MITgcm/verification/plume_on_slope] me% ls -l mit*
-rwxr-xr-x  1 me  me 1744064  1 Aug 00:54 mitgcmuv*

michael


On Saturday, July 31, 2004, at 12:24 PM, Chris Hill wrote:

> Hi Samar,
>
>  not sure if this helps but I did do some runs recently on a mac with 
> xlf.
>
>  One problem was with cpp in panther which may also affect absoft also
>  see CPP line -xassembler option below. The other options are probably 
> xlf
> specific.
>
>  I will see if I can find an absoft machine.
>
> Chris
>
> Darwin_ppc_xlf_panther
> #!/bin/bash
>
> # $Header: 
> /u/gcmpack/MITgcm/tools/build_options/darwin_ppc_xlf_panther,v
> 1.1 2004/06/30 01:00:37 cnh Exp $
> #
> # Build options for Darwin on G5 Mac with IBM XL Fortran compilers
> # tested on G5 dual, 2GHz
> # ( 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 )
> # cc-compiler is available only with the Apple Developer Tools,
> # so make sure that those are installed
> #
> # **NOTES**
> #   o with Darwin you must remember to build on a ufs file system. The
> default Darwin file system (hfs) treats
> #     upper case and lower case file names as the same file. This 
> breaks the
> current MITgcm build procedure.
> #   o tim.c should use uembellished cloc() are the procedure name for 
> XLF
> #     ETIME (timers.F) and FDATE (utils.F) are not available with 
> Darwin+XLF
> so need to be switched out.
> #
>
> CPP='/usr/bin/cpp -traditional -P -xassembler-with-cpp'
> FC=/opt/ibmcmp/xlf/8.1/bin/f77
> LINK=/opt/ibmcmp/xlf/8.1/bin/f77
> FFLAGS='-qfixed=132 -qsuffix=f=for'
> FOPTIM='-O3'
> NOOPTFLAGS='-O0'
>
> S64='$(TOOLSDIR)/set64bitConst.sh'
> MAKEDEPEND='${TOOLSDIR}/xmakedepend'
> #MAKEDEPEND=makedepend
> DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR=" /"'
>
>
>> -----Original Message-----
>> From: mitgcm-support-bounces at mitgcm.org
>> [mailto:mitgcm-support-bounces at mitgcm.org] On Behalf Of samar
>> khatiwala
>> Sent: Tuesday, July 27, 2004 4:55 PM
>> To: MITgcm-support
>> Subject: Re: [MITgcm-support] problem running on OS X
>>
>> On Tue, 27 Jul 2004, Ed Hill wrote:
>>
>>> We're currently Mac-less but hope to get one for testing
>> purposes.  If
>>> you had one that we could SSH into, that would be *very*
>> helpful.  It
>>> would make it a lot easier to keep our Mac build up-to-date!
>>
>> Hi Ed
>>
>> I'm running the model on my powerbook so this may be hard to
>> arrange. However, I have an older desktop G4 I can give you
>> access to. I'll set up an account for you.
>>
>> Samar
>>
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://dev.mitgcm.org/mailman/listinfo/mitgcm-support
>>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-support
>




More information about the MITgcm-support mailing list