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

Mei Han han at agnes.gsfc.nasa.gov
Mon Apr 30 10:31:28 MDT 2007


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