Re: RIP: partial compile [SOLVED]

The RIP4 graphics package.

Re: RIP: partial compile [SOLVED]

Postby rodi » Fri Jun 28, 2013 4:00 pm

Hi I've tried to install RIP4.6 on FEDORA 18 kde but the compile is partial completed.
All executable files (ripdp_wrfarw, ripdp_wrfnmm, ripshow, etc) exept "rip" and I've the following error:
Code: Select all
/bin/rm -f binio.o
cc -I. -DLITTLE -DUNDERSCORE -c  -c binio.c
/bin/rm -f v5d.o
cc -I. -DLITTLE -DUNDERSCORE -c  -c v5d.c
gfortran -I. -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 v5d.o -L/usr/lib -lnetcdf -lnetcdff -I/usr/include -L/usr/lib/X11/lib -lX11 -L/usr/lib/gcc/i686-redhat-linux/3.4.6 -lgcc -lg2c -L/usr/lib -lncarg -lcgm -lncarg_gks -lncarg_c -lX11 -lm -L/usr/lib/X11/lib -lX11 -L/usr/lib/gcc/i686-redhat-linux/4.7.2 -lgcc -lg2c
gfortran: error: driver.o: File o directory non esistente
gfortran: error: fields.o: File o directory non esistente
gfortran: error: getpt.o: File o directory non esistente
make: [rip] Errore 1 (ignorato)

I read all suggestion about RIP's installation in this forum but I haven't found the solution.
have you any new idea?
if anyone have the only "rip" executable file compiled (versione 4.6) for Fedora to give me it is appreciated
Thanks in advance.
Rodi
Last edited by rodi on Fri Aug 23, 2013 10:04 am, edited 1 time in total.
rodi
 
Posts: 5
Joined: Thu Jun 27, 2013 4:02 pm

Re: RIP: partial compile [SOLVED]

Postby rodi » Fri Aug 23, 2013 10:03 am

the problem is solved.
It's necessary to modify the "configure.defaults" file on /rip4/arch folder:
for "ARCH PC Linux i486 i586 i686 x86_64, gfortran compiler" is required to modify the following line:
LOCAL_LIBS = -L/usr/X11R6/lib -lX11 -L/usr/lib/gcc/i686-redhat-linux/3.4.6 -lgcc -lg2c
must be changed in :
LOCAL_LIBS = -L/usr/X11R6/lib -lX11 -L/usr/lib/gcc/i686-redhat-linux/3.4.6 -lgcc -lg2c -lgfortran -lcairo -lfreetype
Good luck.
rodi
rodi
 
Posts: 5
Joined: Thu Jun 27, 2013 4:02 pm

Re: RIP: partial compile [SOLVED]

Postby sangeeta » Fri Feb 21, 2014 5:42 am

Hello rodi,
It seems that you have managed to run RIP4 in your machine.

I have been also trying to compile it but still not success. After reading your post, I tried to reconfigured it again but still not successful.
I modified my configure.defaults of arch directory as in your post, then ./configure and ./compile but some of the executable could not be build.

I would appreciate any help on it.

Thank you.
Sangeeta Maharjan.
sangeeta
 
Posts: 25
Joined: Mon Feb 04, 2013 5:16 am

Re: RIP: partial compile [SOLVED]

Postby rodi » Sat Mar 01, 2014 1:53 pm

Hello sangeeta
Have you check if all libraries required are installed onto you PC?
This is most important.
It's also required that the enviroment for NCARG is set correctly (setenv NCARG_ROOT /..../...)
If some libraries are missing install those and try again to configure and compile.
Let me know if the problem is solved.
Thank you
rodi
rodi
 
Posts: 5
Joined: Thu Jun 27, 2013 4:02 pm

Re: RIP: partial compile [SOLVED]

Postby sangeeta » Mon Mar 17, 2014 12:26 am

Hello rodi,

Thank you for you kind reply.

My NCARG_ROOT=/usr/local. I have installed NCL version 6.1.0-beta.
Likewise, RIP_ROOT=/opt/RIP4

I work in Centos with gfortran compiler.I executed ./configure and ./compile. Still the build is unsuccessful.

Regards,
Sangeeta Maharjan.
sangeeta
 
Posts: 25
Joined: Mon Feb 04, 2013 5:16 am

Re: RIP: partial compile [SOLVED]

Postby sangeeta » Thu Mar 27, 2014 5:44 am

Hi,
Thanks for your mail.I have pasted the content of my RIP4 compile log here.

*** Compiling rip ****

gfortran -I. -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 v5d.o -L/usr/local/lib -lnetcdf -I/usr/local/include -L/usr/local/lib -lncarg -lcgm -lncarg_gks -lncarg_c -lX11 -lm -L/usr/X11R6/lib -lX11 -L/usr/lib/gcc/i386-redhat-linux/3.4.6 -lgcc -lg2c
/usr/bin/ld: cannot find -lg2c
collect2: ld returned 1 exit status
make: [rip] Error 1 (ignored)
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -o ripdp_wrfarw ripdp_wrfarw.f -L/usr/local/lib -lnetcdf -I/usr/local/include \
premaptform.o maptform.o fillarray.o mconvert.o writefile_rdp.o \
virtual.o xtodot.o
/tmp/ccLu8fik.o: In function `MAIN__':
ripdp_wrfarw.f:(.text+0x604): undefined reference to `nf_open_'
ripdp_wrfarw.f:(.text+0x694): undefined reference to `nf_get_att_text_'
ripdp_wrfarw.f:(.text+0xdc8): undefined reference to `nf_inq_dimid_'
ripdp_wrfarw.f:(.text+0xdfd): undefined reference to `nf_inq_dimlen_'
ripdp_wrfarw.f:(.text+0xe3b): undefined reference to `nf_inq_dimid_'
ripdp_wrfarw.f:(.text+0xe70): undefined reference to `nf_inq_dimlen_'
ripdp_wrfarw.f:(.text+0xeba): undefined reference to `nf_inq_dimid_'
ripdp_wrfarw.f:(.text+0xef4): undefined reference to `nf_inq_dimid_'
ripdp_wrfarw.f:(.text+0xf29): undefined reference to `nf_inq_dimlen_'
ripdp_wrfarw.f:(.text+0xf83): undefined reference to `nf_get_att_text_'
ripdp_wrfarw.f:(.text+0x102f): undefined reference to `nf_get_att_text_'
ripdp_wrfarw.f:(.text+0x133b): undefined reference to `nf_close_'
ripdp_wrfarw.f:(.text+0x13bc): undefined reference to `nf_open_'
ripdp_wrfarw.f:(.text+0x13fa): undefined reference to `nf_inq_dimid_'
ripdp_wrfarw.f:(.text+0x1432): undefined reference to `nf_inq_dimlen_'
ripdp_wrfarw.f:(.text+0x1475): undefined reference to `nf_close_'
/tmp/ccLu8fik.o: In function `process_':
ripdp_wrfarw.f:(.text+0x4f03): undefined reference to `nf_open_'
ripdp_wrfarw.f:(.text+0x4f47): undefined reference to `nf_inq_dimid_'
ripdp_wrfarw.f:(.text+0x4f85): undefined reference to `nf_inq_dimlen_'
ripdp_wrfarw.f:(.text+0x4fd7): undefined reference to `nf_inq_'
ripdp_wrfarw.f:(.text+0x5063): undefined reference to `nf_inq_dimid_'
ripdp_wrfarw.f:(.text+0x50a7): undefined reference to `nf_inq_dimid_'
ripdp_wrfarw.f:(.text+0x50eb): undefined reference to `nf_inq_dimid_'
ripdp_wrfarw.f:(.text+0x513d): undefined reference to `nf_inq_dimid_'
ripdp_wrfarw.f:(.text+0x5175): undefined reference to `nf_inq_dimid_'
/tmp/ccLu8fik.o:ripdp_wrfarw.f:(.text+0x51c3): more undefined references to `nf_inq_dimid_' follow
/tmp/ccLu8fik.o: In function `process_':
ripdp_wrfarw.f:(.text+0x5207): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x5261): undefined reference to `nf_get_var_text_'
ripdp_wrfarw.f:(.text+0x52b3): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x5305): undefined reference to `nf_get_var_real_'
ripdp_wrfarw.f:(.text+0x536a): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x53bc): undefined reference to `nf_get_var_real_'
ripdp_wrfarw.f:(.text+0x547e): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x54d0): undefined reference to `nf_get_var_real_'
ripdp_wrfarw.f:(.text+0x5865): undefined reference to `nf_inq_dimid_'
ripdp_wrfarw.f:(.text+0x58a3): undefined reference to `nf_inq_dimlen_'
ipdp_wrfarw.f:(.text+0x5865): undefined reference to `nf_inq_dimid_'
ripdp_wrfarw.f:(.text+0x58a3): undefined reference to `nf_inq_dimlen_'
ripdp_wrfarw.f:(.text+0x5921): undefined reference to `nf_get_att_real_'
ripdp_wrfarw.f:(.text+0x5990): undefined reference to `nf_get_att_int_'
ripdp_wrfarw.f:(.text+0x59e8): undefined reference to `nf_get_att_int_'
ripdp_wrfarw.f:(.text+0x5a56): undefined reference to `nf_get_att_real_'
ripdp_wrfarw.f:(.text+0x5ab6): undefined reference to `nf_get_att_real_'
ripdp_wrfarw.f:(.text+0x5b2e): undefined reference to `nf_get_att_real_'
ripdp_wrfarw.f:(.text+0x5ba6): undefined reference to `nf_get_att_int_'
ripdp_wrfarw.f:(.text+0x5cc3): undefined reference to `nf_get_att_real_'
ripdp_wrfarw.f:(.text+0x5d1b): undefined reference to `nf_get_att_real_'
ripdp_wrfarw.f:(.text+0x5e99): undefined reference to `nf_get_att_text_'
ripdp_wrfarw.f:(.text+0x60ef): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x6394): undefined reference to `nf_get_att_text_'
ripdp_wrfarw.f:(.text+0x718e): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x71d8): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x7314): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x735e): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x7c60): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x7caa): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x7de6): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x7e30): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x8354): undefined reference to `nf_get_att_int_'
ripdp_wrfarw.f:(.text+0x86b7): undefined reference to `nf_get_att_int_'
ripdp_wrfarw.f:(.text+0x8a7f): undefined reference to `nf_get_att_int_'
ripdp_wrfarw.f:(.text+0x900f): undefined reference to `nf_get_att_int_'
ripdp_wrfarw.f:(.text+0x96b5): undefined reference to `nf_get_att_real_'
ripdp_wrfarw.f:(.text+0x9878): undefined reference to `nf_get_att_int_'
ripdp_wrfarw.f:(.text+0x9e08): undefined reference to `nf_get_att_int_'
ripdp_wrfarw.f:(.text+0xa457): undefined reference to `nf_get_att_int_'
ripdp_wrfarw.f:(.text+0xa7a9): undefined reference to `nf_get_att_int_'
ripdp_wrfarw.f:(.text+0xb980): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xb9b8): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xba1e): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xbb19): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xbb51): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xbbb7): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xc896): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xc8c6): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xc92c): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xce67): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xce97): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xcefd): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xd482): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xd716): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xd8a7): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xd90d): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xdaed): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xdb53): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xde84): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xdf6b): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xe02c): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xe340): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xe67e): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xe6e4): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xe87b): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xe8e1): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xec4a): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xecb0): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xec4a): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xecb0): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xf11e): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xf184): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xf5fc): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xf634): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xf69a): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xf8f7): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xf933): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xf999): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xfabb): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xfbb9): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xfc1f): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xfd4c): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xfd96): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0xfeb6): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0xff00): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x106f9): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x1075f): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x10999): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x109ff): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x115d4): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x1161b): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x11653): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x116a5): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x117a3): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x117f5): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x119c7): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x11c5a): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x11c92): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x11cf8): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x12167): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x121cd): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x126bb): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x1277c): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x129cc): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x12a8d): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x12ceb): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x12d51): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x12fa1): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x13007): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x132b3): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x13374): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x136e2): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x137a3): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x13b09): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x13bca): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x13f38): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x13ff9): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x1435f): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x14420): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x1478e): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x1484f): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x14bb5): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x14c76): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x14fe4): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x150a5): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x15413): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x154d4): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x15413): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x154d4): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x1583a): undefined reference to `nf_inq_varid_'
ripdp_wrfarw.f:(.text+0x158fb): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x15d45): undefined reference to `nf_inq_varname_'
ripdp_wrfarw.f:(.text+0x15eae): undefined reference to `nf_inq_varndims_'
ripdp_wrfarw.f:(.text+0x15eec): undefined reference to `nf_inq_vardimid_'
ripdp_wrfarw.f:(.text+0x1626b): undefined reference to `nf_get_att_text_'
ripdp_wrfarw.f:(.text+0x16320): undefined reference to `nf_get_att_text_'
ripdp_wrfarw.f:(.text+0x1636e): undefined reference to `nf_inq_attlen_'
ripdp_wrfarw.f:(.text+0x16a1c): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x16f68): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x1715e): undefined reference to `nf_get_vara_real_'
ripdp_wrfarw.f:(.text+0x17b0e): undefined reference to `nf_get_vara_real_'
/tmp/ccLu8fik.o: In function `handle_err_':
ripdp_wrfarw.f:(.text+0x18ad2): undefined reference to `nf_strerror_'
collect2: ld returned 1 exit status
make: [ripdp_wrfarw] Error 1 (ignored)
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -o ripdp_wrfnmm ripdp_wrfnmm.f -L/usr/local/lib -lnetcdf -I/usr/local/include \
maptform.o premaptform.o fillarray.o mconvert.o writefile_rdp.o \
virtual.o xmapcalc.o egridfill.o xtodot.o
/tmp/cc9pMMnT.o: In function `MAIN__':
ripdp_wrfnmm.f:(.text+0xba4): undefined reference to `nf_open_'
ripdp_wrfnmm.f:(.text+0xc37): undefined reference to `nf_get_att_text_'
ripdp_wrfnmm.f:(.text+0xd23): undefined reference to `nf_get_att_text_'
ripdp_wrfnmm.f:(.text+0xe19): undefined reference to `nf_inq_dimid_'
ripdp_wrfnmm.f:(.text+0xe54): undefined reference to `nf_inq_dimlen_'
ripdp_wrfnmm.f:(.text+0xe95): undefined reference to `nf_inq_dimid_'
ripdp_wrfnmm.f:(.text+0xed0): undefined reference to `nf_inq_dimlen_'
ripdp_wrfnmm.f:(.text+0xf11): undefined reference to `nf_inq_dimid_'
ripdp_wrfnmm.f:(.text+0xf4c): undefined reference to `nf_inq_dimlen_'
ripdp_wrfnmm.f:(.text+0xfa0): undefined reference to `nf_get_att_text_'
ripdp_wrfnmm.f:(.text+0x12a9): undefined reference to `nf_close_'
ripdp_wrfnmm.f:(.text+0x1336): undefined reference to `nf_open_'
ripdp_wrfnmm.f:(.text+0x1377): undefined reference to `nf_inq_dimid_'
ripdp_wrfnmm.f:(.text+0x13b2): undefined reference to `nf_inq_dimlen_'
ripdp_wrfnmm.f:(.text+0x13f8): undefined reference to `nf_close_'
/tmp/cc9pMMnT.o: In function `process_':
ripdp_wrfnmm.f:(.text+0x633c): undefined reference to `nf_open_'
ripdp_wrfnmm.f:(.text+0x6380): undefined reference to `nf_inq_dimid_'
ripdp_wrfnmm.f:(.text+0x63be): undefined reference to `nf_inq_dimlen_'
ripdp_wrfnmm.f:(.text+0x6410): undefined reference to `nf_inq_'
ripdp_wrfnmm.f:(.text+0x649c): undefined reference to `nf_inq_dimid_'
ripdp_wrfnmm.f:(.text+0x64e0): undefined reference to `nf_inq_dimid_'
ripdp_wrfnmm.f:(.text+0x6524): undefined reference to `nf_inq_dimid_'
ripdp_wrfnmm.f:(.text+0x6568): undefined reference to `nf_inq_dimid_'
ripdp_wrfnmm.f:(.text+0x65ac): undefined reference to `nf_inq_dimid_'
ripdp_wrfnmm.f:(.text+0x65f0): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x664a): undefined reference to `nf_get_var_text_'
ripdp_wrfnmm.f:(.text+0x67c8): undefined reference to `nf_inq_dimid_'
ripdp_wrfnmm.f:(.text+0x6806): undefined reference to `nf_inq_dimlen_'
ripdp_wrfnmm.f:(.text+0x687e): undefined reference to `nf_get_att_real_'
ripdp_wrfnmm.f:(.text+0x68ca): undefined reference to `nf_get_att_real_'
ripdp_wrfnmm.f:(.text+0x6916): undefined reference to `nf_get_att_real_'
ripdp_wrfnmm.f:(.text+0x6962): undefined reference to `nf_get_att_real_'
ripdp_wrfnmm.f:(.text+0x6aa2): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x6b08): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x6c06): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x6c6c): undefined reference to `nf_get_vara_real_'
ipdp_wrfnmm.f:(.text+0x6c6c): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x76d8): undefined reference to `nf_get_att_text_'
ripdp_wrfnmm.f:(.text+0x78af): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x7b5e): undefined reference to `nf_get_att_text_'
ripdp_wrfnmm.f:(.text+0x7dab): undefined reference to `nf_get_att_int_'
ripdp_wrfnmm.f:(.text+0x7f43): undefined reference to `nf_get_att_int_'
ripdp_wrfnmm.f:(.text+0x7f83): undefined reference to `nf_get_att_int_'
ripdp_wrfnmm.f:(.text+0x8160): undefined reference to `nf_get_att_int_'
ripdp_wrfnmm.f:(.text+0x8561): undefined reference to `nf_get_att_int_'
/tmp/cc9pMMnT.o:ripdp_wrfnmm.f:(.text+0x85a1): more undefined references to `nf_get_att_int_' follow
/tmp/cc9pMMnT.o: In function `process_':
ripdp_wrfnmm.f:(.text+0x8b51): undefined reference to `nf_get_att_real_'
ripdp_wrfnmm.f:(.text+0x8d14): undefined reference to `nf_get_att_int_'
ripdp_wrfnmm.f:(.text+0x8fa8): undefined reference to `nf_get_att_int_'
ripdp_wrfnmm.f:(.text+0xa03f): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0xa0a5): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0xa1a3): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0xa209): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0xb72f): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0xb795): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0xc0c5): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0xc12b): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0xc8ba): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0xc920): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0xcd8b): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0xce8b): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0xd2fe): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0xd364): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0xd742): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0xd7a8): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0xe4e0): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0xe546): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x10027): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x1017a): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x1055a): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x1061b): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x10a2a): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x10a90): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x10f40): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x11001): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x1118c): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x11254): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x113df): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x114a7): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x11632): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x116fa): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x13786): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x13847): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x13d3d): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x13dfe): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x142f4): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x143b5): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x148a3): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x14964): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x14e5a): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x14f1b): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x15409): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x154ca): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x15409): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x154ca): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x159c0): undefined reference to `nf_inq_varid_'
ripdp_wrfnmm.f:(.text+0x15a81): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x1605b): undefined reference to `nf_inq_varname_'
ripdp_wrfnmm.f:(.text+0x161c4): undefined reference to `nf_inq_varndims_'
ripdp_wrfnmm.f:(.text+0x16202): undefined reference to `nf_inq_vardimid_'
ripdp_wrfnmm.f:(.text+0x16445): undefined reference to `nf_get_att_text_'
ripdp_wrfnmm.f:(.text+0x164fa): undefined reference to `nf_get_att_text_'
ripdp_wrfnmm.f:(.text+0x16548): undefined reference to `nf_inq_attlen_'
ripdp_wrfnmm.f:(.text+0x16bec): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x16ffd): undefined reference to `nf_get_vara_real_'
ripdp_wrfnmm.f:(.text+0x1737b): undefined reference to `nf_get_vara_real_'
/tmp/cc9pMMnT.o: In function `handle_err_':
ripdp_wrfnmm.f:(.text+0x1857b): undefined reference to `nf_strerror_'
collect2: ld returned 1 exit status
make: [ripdp_wrfnmm] Error 1 (ignored)

Regards,
Sangeeta Maharjan.
sangeeta
 
Posts: 25
Joined: Mon Feb 04, 2013 5:16 am

Re: RIP: partial compile [SOLVED]

Postby rodi » Thu Mar 27, 2014 2:24 pm

Hi Sangeeta
unfortunately I don't know Centos, probably there are problem about libraries.
Have you installed netcdf libraries on your PC?
The target of the NCARG_ROOT must be the directories where there are ncarg's libraries and probably your setenv is wrong.
Login you on terminal as tcsh and type this:
locate libncarg
Look the paths of the files (for me all have /usr/lib/ncarg)
Then try :
unsetenv NCARG_ROOT
setenv NCARG_ROOT /the paths of the libncarg files


and try again ./configure and ./compile.


If the installation fails I can send you a tar file with precompiled executive files so you can test these on your PC.
Let me know via e-mali message, thanks.
Rodi
rodi
 
Posts: 5
Joined: Thu Jun 27, 2013 4:02 pm

Re: RIP: partial compile [SOLVED]

Postby dcvz » Thu May 15, 2014 4:24 am

The nf_ errors are netcdf errors. These can probably be fixed by linking to both netcdf libraries. -lnetcdff -lnetcdf
dcvz
 
Posts: 148
Joined: Tue Apr 15, 2008 12:02 am

Re: RIP: partial compile [SOLVED]

Postby prakashqd » Thu Jun 19, 2014 4:56 am

Hello Sangeetha,

I am also facing the same problem to compile RIP4.
Im also using centos with gfortran compiler.
have you resolved your problem ??
can you please post your Makefile and when i try to set ncarg with setenv command.... im getting an error : bashrc: setenv command not found.
I would like to know how you edited Makefile for the gfortran compiler and libs for netcdf and ncarg.

Thank you,
satya prakash
prakashqd
 
Posts: 7
Joined: Wed Jun 04, 2014 11:10 am


Return to RIP4

Who is online

Users browsing this forum: Google [Bot] and 1 guest