compiling issues

The RIP4 graphics package.

compiling issues

Postby baker » Thu Apr 25, 2013 2:24 pm

Trying to compile rip4 on a mac using gfortran

this is the errors i'm getting and i'm not sure why
*****************************************************************************************************
$ ./compile

**** Compiling rip ****

gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c addorfill.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c adjellip.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c angle.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c barb.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c bes.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c bogs.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c brnshr.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c bshear.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c bvfricalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c capecalc3d.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c ceilingcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c colram.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c colrln.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c condheat.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c contrive2.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c cpchhl.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c cpchll.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c cpcolr.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c cpmpxy.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c createdtg.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c cttcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c dbzcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c -L/Volumes/Megatron-2/netcdf/local/lib -lnetcdf -lnetcdff -I/Volumes/Megatron-2/netcdf/local/include refmos2calc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c -L/Volumes/Megatron-2/netcdf/local/lib -lnetcdf -lnetcdff -I/Volumes/Megatron-2/netcdf/local/include refmos3calc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c ddpcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c ddx.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c ddy.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c derivc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c drawcl.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getpt.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c driver.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c egridfill.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c eqthecalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c extingcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c fields.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c fillarray.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c finterp.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c finterp2d.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c fregcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c frtitle.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c fx.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c fy.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getbasicvars.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getbasicvars_newdom.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getchar.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getconvals.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getdash.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getdims.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getheadinfo.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getheadinfo_newdom.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getinum.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getminfo.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getrnum.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c gettimes.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getvar.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c getvarinfo.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c hboxdraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c hbulldraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c hchadraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c hcondraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c hiresmap.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c hlinedraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c hmapdraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c hodograph.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c hsidsdraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c hstrdraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c hticdraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c htrajdraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c hvecdraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c igetcoind.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c lennonblank.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c liftparcel.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c locinterp.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c maptform.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c maptick.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c mconvert.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c mktrjpts.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c mlen.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c monotonic.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c netasc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c numeric.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c omgcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c pfcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c pltitle.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c prcver.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c precprob.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c premaptform.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c profil.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c profvelcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c pvocalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c qgomg.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c rdcolt.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c readspec.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c relhl.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c rhucalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c ricalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c rip.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c rotipslab.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c rotpslab.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c sateqthecalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c saweli.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c scondraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c seaprs.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c setripheader.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c smooth.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c smoothcp.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c smoothcz.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c smoothrain.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c srflow.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c srflow2.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c sstats.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c sticdraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c sticdraw_polar.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c svecdraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c tdpcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c tfpcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c thecalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c tonpsadiabat.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c tserprep.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c turb.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c typhoon.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c unblank.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c vbardraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c vc2dcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c vcondraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c velbrb.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c velvctmts.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c vgp.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c vinterp.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c virtual.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c virtualhyd.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c viscalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c vticdraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c vtrajdraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c vvecdraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c vwinddraw.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c wdircalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c wetbulbcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c writefile.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c wspcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c xmapcalc.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c xtodot.f
/bin/rm -f binio.o
gcc -w -O3 -DLANDREAD_STUB -DMACOS -I. -DLITTLE -DUNDERSCORE -c -c binio.c
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -o rip addorfill.o adjellip.o angle.o barb.o bes.o bogs.o brnshr.o bshear.o bvfricalc.o capecalc3d.o ceilingcalc.o colram.o colrln.o condheat.o contrive2.o cpchhl.o cpchll.o cpcolr.o cpmpxy.o createdtg.o cttcalc.o dbzcalc.o refmos2calc.o refmos3calc.o ddpcalc.o ddx.o ddy.o derivc.o drawcl.o driver.o egridfill.o eqthecalc.o extingcalc.o fields.o fillarray.o finterp.o finterp2d.o fregcalc.o frtitle.o fx.o fy.o getbasicvars.o getbasicvars_newdom.o getchar.o getconvals.o getdash.o getdims.o getheadinfo.o getheadinfo_newdom.o getinum.o getminfo.o getpt.o getrnum.o gettimes.o getvar.o getvarinfo.o hboxdraw.o hbulldraw.o hchadraw.o hcondraw.o hiresmap.o hlinedraw.o hmapdraw.o hodograph.o hsidsdraw.o hstrdraw.o hticdraw.o htrajdraw.o hvecdraw.o igetcoind.o lennonblank.o liftparcel.o locinterp.o maptform.o maptick.o mconvert.o mktrjpts.o mlen.o monotonic.o netasc.o numeric.o omgcalc.o pfcalc.o pltitle.o prcver.o precprob.o premaptform.o profil.o profvelcalc.o pvocalc.o qgomg.o rdcolt.o readspec.o relhl.o rhucalc.o ricalc.o rip.o rotipslab.o rotpslab.o sateqthecalc.o saweli.o scondraw.o seaprs.o setripheader.o smooth.o smoothcp.o smoothcz.o smoothrain.o srflow.o srflow2.o sstats.o sticdraw.o sticdraw_polar.o svecdraw.o tdpcalc.o tfpcalc.o thecalc.o tonpsadiabat.o tserprep.o turb.o typhoon.o unblank.o vbardraw.o vc2dcalc.o vcondraw.o velbrb.o velvctmts.o vgp.o vinterp.o virtual.o virtualhyd.o viscalc.o vticdraw.o vtrajdraw.o vvecdraw.o vwinddraw.o wdircalc.o wetbulbcalc.o writefile.o wspcalc.o xmapcalc.o xtodot.o binio.o -L/Volumes/Megatron-2/netcdf/local/lib -lnetcdf -lnetcdff -I/Volumes/Megatron-2/netcdf/local/include -L/Volumes/Megatron-2/ncl/lib -lncarg -lcgm -lncarg_gks -lncarg_c -lX11 -lm -L/usr/X11R6/lib -lX11 -lgfortran -lz -lpng
Undefined symbols for architecture x86_64:
"_v5dclose_", referenced from:
_driver_ in driver.o
"_v5dcreate_", referenced from:
_driver_ in driver.o
"_v5dwrite_", referenced from:
_driver_ in driver.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: [rip] Error 1 (ignored)
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -o ripcomp ripcomp.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -c writefile_rdp.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -o ripdp_mm5 ripdp_mm5.f fillarray.o mconvert.o writefile_rdp.o \
virtual.o
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -o ripdp_wrfarw ripdp_wrfarw.f -L/Volumes/Megatron-2/netcdf/local/lib -lnetcdf -lnetcdff -I/Volumes/Megatron-2/netcdf/local/include \
premaptform.o maptform.o fillarray.o mconvert.o writefile_rdp.o \
virtual.o xtodot.o
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -o ripdp_wrfnmm ripdp_wrfnmm.f -L/Volumes/Megatron-2/netcdf/local/lib -lnetcdf -lnetcdff -I/Volumes/Megatron-2/netcdf/local/include \
maptform.o premaptform.o fillarray.o mconvert.o writefile_rdp.o \
virtual.o xmapcalc.o egridfill.o xtodot.o
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -o ripcut ripcut.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -o ripinterp ripinterp.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -o ripshow ripshow.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -o showtraj showtraj.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -o tabdiag tabdiag.f lennonblank.f
gfortran -fcray-pointer -fconvert=big-endian -frecord-marker=4 -o upscale upscale.f
*******************************************************************************************************''
Any help would be greatly appreciated
baker
 
Posts: 9
Joined: Tue Sep 28, 2010 10:24 am

Re: compiling issues

Postby waghorn » Fri Apr 26, 2013 9:33 am

Have you tried the RIP version 'gfortran package without cray pointers'??

David
waghorn
 
Posts: 13
Joined: Mon Nov 09, 2009 8:26 am

Re: compiling issues

Postby baker » Mon Apr 29, 2013 3:05 pm

I have. This is the output I get from compiling without the cray pointers. Seems to be a problem with the ncarg graphics. I'm using the precompiled binaries that they have for OSX 10.7.

**********************************************************************************
new-host-3:RIP4_no_pointers barry$ ./compile

**** Compiling rip ****

gfortran -fconvert=big-endian -O2 -c addorfill.f
gfortran -fconvert=big-endian -O2 -c adjellip.f
gfortran -fconvert=big-endian -O2 -c angle.f
gfortran -fconvert=big-endian -O2 -c barb.f
gfortran -fconvert=big-endian -O2 -c bes.f
gfortran -fconvert=big-endian -O2 -c bogs.f
gfortran -fconvert=big-endian -O2 -c brnshr.f
gfortran -fconvert=big-endian -O2 -c bshear.f
gfortran -fconvert=big-endian -O2 -c bvfricalc.f
gfortran -fconvert=big-endian -O2 -c capecalc3d.f
gfortran -fconvert=big-endian -O2 -c ceilingcalc.f
gfortran -fconvert=big-endian -O2 -c colram.f
gfortran -fconvert=big-endian -O2 -c colrln.f
gfortran -fconvert=big-endian -O2 -c condheat.f
gfortran -fconvert=big-endian -O2 -c contrive2.f
gfortran -fconvert=big-endian -O2 -c cpchhl.f
gfortran -fconvert=big-endian -O2 -c cpchll.f
gfortran -fconvert=big-endian -O2 -c cpcolr.f
gfortran -fconvert=big-endian -O2 -c cpmpxy.f
gfortran -fconvert=big-endian -O2 -c createdtg.f
gfortran -fconvert=big-endian -O2 -c cttcalc.f
gfortran -fconvert=big-endian -O2 -c dbzcalc.f
gfortran -fconvert=big-endian -O2 -c -L/opt/local/lib -lnetcdf -lnetcdff -I/opt/local/include refmos2calc.f
gfortran -fconvert=big-endian -O2 -c -L/opt/local/lib -lnetcdf -lnetcdff -I/opt/local/include refmos3calc.f
gfortran -fconvert=big-endian -O2 -c ddpcalc.f
gfortran -fconvert=big-endian -O2 -c ddx.f
gfortran -fconvert=big-endian -O2 -c ddy.f
gfortran -fconvert=big-endian -O2 -c derivc.f
gfortran -fconvert=big-endian -O2 -c drawcl.f
gfortran -fconvert=big-endian -O2 -c getpt.f
gfortran -fconvert=big-endian -O2 -c driver.f
gfortran -fconvert=big-endian -O2 -c egridfill.f
gfortran -fconvert=big-endian -O2 -c eqthecalc.f
gfortran -fconvert=big-endian -O2 -c extingcalc.f
gfortran -fconvert=big-endian -O2 -c fields.f
gfortran -fconvert=big-endian -O2 -c fillarray.f
gfortran -fconvert=big-endian -O2 -c finterp.f
gfortran -fconvert=big-endian -O2 -c finterp2d.f
gfortran -fconvert=big-endian -O2 -c fregcalc.f
gfortran -fconvert=big-endian -O2 -c frtitle.f
gfortran -fconvert=big-endian -O2 -c fx.f
gfortran -fconvert=big-endian -O2 -c fy.f
gfortran -fconvert=big-endian -O2 -c getbasicvars.f
gfortran -fconvert=big-endian -O2 -c getbasicvars_newdom.f
gfortran -fconvert=big-endian -O2 -c getchar.f
gfortran -fconvert=big-endian -O2 -c getconvals.f
gfortran -fconvert=big-endian -O2 -c getdash.f
gfortran -fconvert=big-endian -O2 -c getdims.f
gfortran -fconvert=big-endian -O2 -c getheadinfo.f
gfortran -fconvert=big-endian -O2 -c getheadinfo_newdom.f
gfortran -fconvert=big-endian -O2 -c getinum.f
gfortran -fconvert=big-endian -O2 -c getminfo.f
gfortran -fconvert=big-endian -O2 -c getrnum.f
gfortran -fconvert=big-endian -O2 -c gettimes.f
gfortran -fconvert=big-endian -O2 -c getvar.f
gfortran -fconvert=big-endian -O2 -c getvarinfo.f
gfortran -fconvert=big-endian -O2 -c hboxdraw.f
gfortran -fconvert=big-endian -O2 -c hbulldraw.f
gfortran -fconvert=big-endian -O2 -c hchadraw.f
gfortran -fconvert=big-endian -O2 -c hcondraw.f
gfortran -fconvert=big-endian -O2 -c hiresmap.f
gfortran -fconvert=big-endian -O2 -c hlinedraw.f
gfortran -fconvert=big-endian -O2 -c hmapdraw.f
gfortran -fconvert=big-endian -O2 -c hodograph.f
gfortran -fconvert=big-endian -O2 -c hsidsdraw.f
gfortran -fconvert=big-endian -O2 -c hstrdraw.f
gfortran -fconvert=big-endian -O2 -c hticdraw.f
gfortran -fconvert=big-endian -O2 -c htrajdraw.f
gfortran -fconvert=big-endian -O2 -c hvecdraw.f
gfortran -fconvert=big-endian -O2 -c igetcoind.f
gfortran -fconvert=big-endian -O2 -c lennonblank.f
gfortran -fconvert=big-endian -O2 -c liftparcel.f
gfortran -fconvert=big-endian -O2 -c locinterp.f
gfortran -fconvert=big-endian -O2 -c maptform.f
gfortran -fconvert=big-endian -O2 -c maptick.f
gfortran -fconvert=big-endian -O2 -c mconvert.f
gfortran -fconvert=big-endian -O2 -c mktrjpts.f
gfortran -fconvert=big-endian -O2 -c mlen.f
gfortran -fconvert=big-endian -O2 -c monotonic.f
gfortran -fconvert=big-endian -O2 -c netasc.f
gfortran -fconvert=big-endian -O2 -c numeric.f
gfortran -fconvert=big-endian -O2 -c omgcalc.f
gfortran -fconvert=big-endian -O2 -c pfcalc.f
gfortran -fconvert=big-endian -O2 -c pltitle.f
gfortran -fconvert=big-endian -O2 -c prcver.f
gfortran -fconvert=big-endian -O2 -c precprob.f
gfortran -fconvert=big-endian -O2 -c premaptform.f
gfortran -fconvert=big-endian -O2 -c profil.f
gfortran -fconvert=big-endian -O2 -c profvelcalc.f
gfortran -fconvert=big-endian -O2 -c pvocalc.f
gfortran -fconvert=big-endian -O2 -c qgomg.f
gfortran -fconvert=big-endian -O2 -c rdcolt.f
gfortran -fconvert=big-endian -O2 -c readspec.f
gfortran -fconvert=big-endian -O2 -c relhl.f
gfortran -fconvert=big-endian -O2 -c rhucalc.f
gfortran -fconvert=big-endian -O2 -c ricalc.f
gfortran -fconvert=big-endian -O2 -c rip.f
gfortran -fconvert=big-endian -O2 -c rotipslab.f
gfortran -fconvert=big-endian -O2 -c rotpslab.f
gfortran -fconvert=big-endian -O2 -c sateqthecalc.f
gfortran -fconvert=big-endian -O2 -c saweli.f
gfortran -fconvert=big-endian -O2 -c scondraw.f
gfortran -fconvert=big-endian -O2 -c seaprs.f
gfortran -fconvert=big-endian -O2 -c setripheader.f
gfortran -fconvert=big-endian -O2 -c smooth.f
gfortran -fconvert=big-endian -O2 -c smoothcp.f
gfortran -fconvert=big-endian -O2 -c smoothcz.f
gfortran -fconvert=big-endian -O2 -c smoothrain.f
gfortran -fconvert=big-endian -O2 -c srflow.f
gfortran -fconvert=big-endian -O2 -c srflow2.f
gfortran -fconvert=big-endian -O2 -c sstats.f
gfortran -fconvert=big-endian -O2 -c sticdraw.f
gfortran -fconvert=big-endian -O2 -c sticdraw_polar.f
gfortran -fconvert=big-endian -O2 -c svecdraw.f
gfortran -fconvert=big-endian -O2 -c tdpcalc.f
gfortran -fconvert=big-endian -O2 -c tfpcalc.f
gfortran -fconvert=big-endian -O2 -c thecalc.f
gfortran -fconvert=big-endian -O2 -c tonpsadiabat.f
gfortran -fconvert=big-endian -O2 -c tserprep.f
gfortran -fconvert=big-endian -O2 -c turb.f
gfortran -fconvert=big-endian -O2 -c typhoon.f
gfortran -fconvert=big-endian -O2 -c unblank.f
gfortran -fconvert=big-endian -O2 -c vbardraw.f
gfortran -fconvert=big-endian -O2 -c vc2dcalc.f
gfortran -fconvert=big-endian -O2 -c vcondraw.f
gfortran -fconvert=big-endian -O2 -c velbrb.f
gfortran -fconvert=big-endian -O2 -c velvctmts.f
gfortran -fconvert=big-endian -O2 -c vgp.f
gfortran -fconvert=big-endian -O2 -c vinterp.f
gfortran -fconvert=big-endian -O2 -c virtual.f
gfortran -fconvert=big-endian -O2 -c virtualhyd.f
gfortran -fconvert=big-endian -O2 -c viscalc.f
gfortran -fconvert=big-endian -O2 -c vticdraw.f
gfortran -fconvert=big-endian -O2 -c vtrajdraw.f
gfortran -fconvert=big-endian -O2 -c vvecdraw.f
gfortran -fconvert=big-endian -O2 -c vwinddraw.f
gfortran -fconvert=big-endian -O2 -c wdircalc.f
gfortran -fconvert=big-endian -O2 -c wetbulbcalc.f
gfortran -fconvert=big-endian -O2 -c writefile.f
gfortran -fconvert=big-endian -O2 -c wspcalc.f
gfortran -fconvert=big-endian -O2 -c xmapcalc.f
gfortran -fconvert=big-endian -O2 -c xtodot.f
/bin/rm -f binio.o
gcc -DLITTLE -DUNDERSCORE -c -c binio.c
/bin/rm -f v5d.o
gcc -DLITTLE -DUNDERSCORE -c -c v5d.c
v5d.c: In function ‘v5dPrintStruct’:
v5d.c:332: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
v5d.c:332: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
gfortran -fconvert=big-endian -O2 -o rip addorfill.o adjellip.o angle.o barb.o bes.o bogs.o brnshr.o bshear.o bvfricalc.o capecalc3d.o ceilingcalc.o colram.o colrln.o condheat.o contrive2.o cpchhl.o cpchll.o cpcolr.o cpmpxy.o createdtg.o cttcalc.o dbzcalc.o refmos2calc.o refmos3calc.o ddpcalc.o ddx.o ddy.o derivc.o drawcl.o driver.o egridfill.o eqthecalc.o extingcalc.o fields.o fillarray.o finterp.o finterp2d.o fregcalc.o frtitle.o fx.o fy.o getbasicvars.o getbasicvars_newdom.o getchar.o getconvals.o getdash.o getdims.o getheadinfo.o getheadinfo_newdom.o getinum.o getminfo.o getpt.o getrnum.o gettimes.o getvar.o getvarinfo.o hboxdraw.o hbulldraw.o hchadraw.o hcondraw.o hiresmap.o hlinedraw.o hmapdraw.o hodograph.o hsidsdraw.o hstrdraw.o hticdraw.o htrajdraw.o hvecdraw.o igetcoind.o lennonblank.o liftparcel.o locinterp.o maptform.o maptick.o mconvert.o mktrjpts.o mlen.o monotonic.o netasc.o numeric.o omgcalc.o pfcalc.o pltitle.o prcver.o precprob.o premaptform.o profil.o profvelcalc.o pvocalc.o qgomg.o rdcolt.o readspec.o relhl.o rhucalc.o ricalc.o rip.o rotipslab.o rotpslab.o sateqthecalc.o saweli.o scondraw.o seaprs.o setripheader.o smooth.o smoothcp.o smoothcz.o smoothrain.o srflow.o srflow2.o sstats.o sticdraw.o sticdraw_polar.o svecdraw.o tdpcalc.o tfpcalc.o thecalc.o tonpsadiabat.o tserprep.o turb.o typhoon.o unblank.o vbardraw.o vc2dcalc.o vcondraw.o velbrb.o velvctmts.o vgp.o vinterp.o virtual.o virtualhyd.o viscalc.o vticdraw.o vtrajdraw.o vvecdraw.o vwinddraw.o wdircalc.o wetbulbcalc.o writefile.o wspcalc.o xmapcalc.o xtodot.o binio.o v5d.o -L/opt/local/lib -lnetcdf -lnetcdff -I/opt/local/include -L/Users/barry/ncl/lib -lncarg -lcgm -lncarg_gks -lncarg_c -lX11 -lm -L/usr/X11R6/lib -lX11 -L/opt/local/lib -lgfortran -lz -lpng -lcairo
Undefined symbols for architecture x86_64:
"_FT_Init_FreeType", referenced from:
_cro_Text in libncarg_gks.a(cro.o)
"_FT_New_Face", referenced from:
_cro_Text in libncarg_gks.a(cro.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: [rip] Error 1 (ignored)
gfortran -fconvert=big-endian -O2 -o ripcomp ripcomp.f
gfortran -fconvert=big-endian -O2 -c writefile_rdp.f
gfortran -fconvert=big-endian -O2 -o ripdp_mm5 ripdp_mm5.f fillarray.o mconvert.o writefile_rdp.o \
virtual.o
gfortran -fconvert=big-endian -O2 -o ripdp_wrfarw ripdp_wrfarw.f -L/opt/local/lib -lnetcdf -lnetcdff -I/opt/local/include \
premaptform.o maptform.o fillarray.o mconvert.o writefile_rdp.o \
virtual.o xtodot.o
gfortran -fconvert=big-endian -O2 -o ripdp_wrfnmm ripdp_wrfnmm.f -L/opt/local/lib -lnetcdf -lnetcdff -I/opt/local/include \
maptform.o premaptform.o fillarray.o mconvert.o writefile_rdp.o \
virtual.o xmapcalc.o egridfill.o xtodot.o
gfortran -fconvert=big-endian -O2 -o ripcut ripcut.f
gfortran -fconvert=big-endian -O2 -o ripinterp ripinterp.f
gfortran -fconvert=big-endian -O2 -o ripshow ripshow.f
gfortran -fconvert=big-endian -O2 -o showtraj showtraj.f
gfortran -fconvert=big-endian -O2 -o tabdiag tabdiag.f lennonblank.f
gfortran -fconvert=big-endian -O2 -o upscale upscale.f
***************************************************************************
baker
 
Posts: 9
Joined: Tue Sep 28, 2010 10:24 am

Re: compiling issues

Postby waghorn » Mon Apr 29, 2013 3:52 pm

Not compiled RIP on a Mac but are you sure ncarg Iand/or Freetype) was built for x86_64?
D
waghorn
 
Posts: 13
Joined: Mon Nov 09, 2009 8:26 am

Re: compiling issues

Postby baker » Mon Apr 29, 2013 8:22 pm

As far as I know they are. I followed the directions of NCAR for OS 10.7 using the ncl_ncarg-6.1.2.MacOS_10.7_64bit_gcc450.tar.gz binary file and instructions here http://www.ncl.ucar.edu/Download/macosx.shtml. I'm not sure what the problems are. Even tried to compile NCL and NCARG from source code but it actually showed even more errors than the precompiled libraries.
baker
 
Posts: 9
Joined: Tue Sep 28, 2010 10:24 am

Re: compiling issues

Postby baker » Tue Apr 30, 2013 9:18 pm

after trying to compile ncl 6.1.2 over and over again with different settings i decided to try an older version of NCL. FOR ANYONE TRYING TO COMPILE RIP4 ON OSX WITH GFORTRAN DO NOT USE NCL 6.1.2. USE NCL 6.0.0. It seems they didn't compile it correctly for a 64 bit system as waghorn suggested.

Thank you for your help this is the configure.rip I used for anyone in the future needing it using the RIP4_no_pointers

ARFLAGS =

PERL = perl

RANLIB = echo

NETCDFLIB = -L/opt/local/lib -lnetcdf -lnetcdff

NETCDFINC = -I/opt/local/include

NCARGLIBS = -L/Users/barry/ncl/lib -lncarg -lcgm -lncarg_gks -lncarg_c -lX11 -lm



#### Architecture specific settings ####

# Settings for Darwin - with PGI compiler
#
FC = gfortran
CC = gcc
FFLAGS = -O3 -fconvert=big-endian
CCFLAGS = -DLITTLE -DUNDERSCORE -c
#LOCAL_LIBS = -L/usr/X11R6/lib -lX11
LOCAL_LIBS = -L/usr/X11R6/lib -lX11 -L/opt/local/lib -lgfortran -lz -lpng -lcairo ${NCARGLIBS}
#LOCAL_LIBS = -L${PGI}/lib -lpgftnrtl -lpgc -L/usr/X11R6/lib -L/usr/local/g95/lib/gcc-lib/i386-apple-darwin8.11.1/4.0.3 -lXpm -lX11 -lXext -lf95
baker
 
Posts: 9
Joined: Tue Sep 28, 2010 10:24 am


Return to RIP4

Who is online

Users browsing this forum: No registered users and 1 guest