[Wrf-users] Compiling on Mac OS X 10.7.4

Sean Crowell scrowell at ou.edu
Thu Jul 12 08:09:08 MDT 2012


Just posting this fix from wrfhelp, which worked for V3.3.1 on my Mac  
Pro running OS X 10.7.4, in case anyone else has the same problem.

Sean


Begin forwarded message:

> From: wrfhelp <wrfhelp at ucar.edu>
> Date: July 11, 2012 8:39:26 PM CDT
> To: "Crowell, Sean M." <scrowell at ou.edu>
> Subject: Re: Compiling on Mac OS X 10.7.4
>
> Can you try to modify file configure in V3.3.1 WRFV3 directory, and  
> change line 595 from
>
>    ar p $NETCDF/lib/libnetcdf.a nc.o > ${foo}.o
>
> to
>
>     ar p $NETCDF/lib/libnetcdf.a `ar t $NETCDF/lib/libnetcdf.a |  
> grep -E '*\.o' | head -n 1 | sed 's/://'` > ${foo}.o
>
> and see if it helps with your v3.3.1 configure.
>
> wrfhelp
>
>
> On Jul 11, 2012, at 7:31 PM, Crowell, Sean M. wrote:
>
>> I did after I sent that email, and didn't get the same error  
>> message. Thanks!
>>
>> Sean
>>
>>
>>
>> ----- Reply message -----
>> From: "wrfhelp" <wrfhelp at ucar.edu>
>> Date: Wed, Jul 11, 2012 7:51 pm
>> Subject: Compiling on Mac OS X 10.7.4
>> To: "Crowell, Sean M." <scrowell at ou.edu>
>>
>> Can you try V3.4 just to see if this is the same?
>>
>> On Jul 11, 2012, at 3:28 PM, Sean Crowell wrote:
>>
>> > Hi,
>> >
>> > I'm trying to compile WRF 3.3.1 on a newest generation 8 core Mac  
>> Pro.  When I run the configure script and choose the appropriate  
>> options for my system, I get this message at the bottom of my output:
>> >
>> > Testing for NetCDF, C and Fortran compiler
>> >
>> > ar: nc.o: not found in archive
>> > This installation NetCDF is
>> > C compiler is 64-bit
>> > Fortran compiler is 64-bit
>> > It will build in
>> >
>> > I'm not sure what nc.o is, but I'm definitely pointing to the  
>> correct NETCDF lib and include files.  I've successfully compiled  
>> WRF 3.3.1 on an older Mac Pro (10.6.8), as well as various Linux  
>> systems, but this one is giving me trouble.  Any idea what's  
>> happening?
>> >
>> > Sean
>>
>> wrfhelp
>> http://www.mmm.ucar.edu/wrf/users/supports/wrfhelp.html
>>
>>
>>
>
> wrfhelp
> http://www.mmm.ucar.edu/wrf/users/supports/wrfhelp.html
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20120712/8fc1d888/attachment.html 


More information about the Wrf-users mailing list