[Wrf-users] RIP4 with intel-based Mac.

Wang, Yi yi.wang at pnl.gov
Mon Apr 30 12:12:15 MDT 2007


Hi Mei:

Thanks for the input. However, I wonder if intel-based Mac (Mac Pro, Macbook
Pro) was available two years ago.

The whole issue is the big-endian and small-endian problem.

I wonder if you know this issue. Otherwise, I can adapt your scripts and
compile RIP4 without any pain.

Even with Rosetta, intel-Mac can only support a few power PC applications.

I am not quite sure if IBM XLF compiler has released a version that can
support intel-based Mac. Their XLF support for powerPC Mac has been
discontinued.

Thanks for your input, anyhow,

Yi


On 4/30/07 9:31 AM, "Mei Han" <han at agnes.gsfc.nasa.gov> wrote:

> Hi, Yi,
> 
> I tried to run RIP4 with xlf compiler on Mac about 2 years ago. The
> program successfully ran with a small data set. The modifications I
> made in the Makefile are based on suggestions I got from the MM5-user
> group. However, when I tried to run it with a larger data set. It
> failed.
> 
> If you don't get other's input on this issue, you may try it. In
> Makefile, you add:
> 
>         @echo " make OSX                For Run on Max OS X with xlf
> compiler, g77 Ncarg"
> ......
> 
> OSX:
>          (cd src/ ; $(MAKE) all \
>          "CF      = xlf -qextname -qsave=all " \
>          "FFLAGS  = " \
>          "FFLAGS2 = -Wl,-stack_size,20000000,-stack_addr,0xc0000000" \
>          "CCFLAGS = -DLITTLE -DFORTRANUNDERSCORE -DUNDERSCORE" \
>          "LDFLAGS = -O3 -qextname -qarch=auto -qmaxmem=-1 -qblankpad -
> Wl,-stack_size,20000000,-stack_addr,0xc0000000" \
>          "LIBS    = -L$(NCARG_ROOT)/lib -lncarg -lcgm -lncarg_gks -
> lncarg_c -L$(NETCDF)/lib -L/usr/X11R6/lib -lX11 -lm -L/opt/ibmcmp/xlf/
> 8.1/lib/ -lxlf90 -lg2c" )
>          ( $(RM) $(RM_LIST2) ; $(LN) src/rip . ; $(LN) src/
> ripdp_mm5 . ; $(LN) src/ripdp_wrf . ; $(LN) src/ripcomp . ; $(LN) src/
> ripinterp . ; $(LN) src/ripshow . ; $(LN) src/showtraj . ; $(LN) src/
> tabdiag . ; $(LN) src/upscale .)
> 
> Good luck!
> 
> Mei
> 
> On Apr 23, 2007, at 6:37 PM, Wang, Yi wrote:
> 
>> Hi Folks:
>> 
>> Just want to know if anyone has compiled RIP4 on Mac (intel-based).
>> 
>> Please provide any idea or information on it.
>> 
>> Thanks,
>> 
>> Yi
>> 
>> _______________________________________________
>> Wrf-users mailing list
>> Wrf-users at ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/wrf-users

-- 




More information about the Wrf-users mailing list