[Wrf-users] Compilation Problem

KaHing Yau yau at weblakes.com
Wed Jan 19 10:45:01 MST 2005


I also had problem of test cases but not in my last attempt. 

My configurations:
netcdf 3.5.1
pgf90 5.2-4

Update your pgf90 - my HMO. kh.

> -----Original Message-----
> From: Rafik Djouad [mailto:rdjouad at senes.ca] 
> Sent: Wednesday, January 19, 2005 12:26 PM
> To: KaHing Yau; Steven G Decker; Jordan Wilson
> Cc: wrf-users at ucar.edu; WRF Help
> Subject: Re: [Wrf-users] Compilation Problem
> 
> 
> KalHing, Steven, Jordan,
> 
> Finally, I compiled NETCDF using pgf compiler.  Although 
> "configure" and "make" work properly, "make test" still has 
> some problems.  I tried the compiled libraries to compile WRF 
> and it seems to be working well (real case and test cases).  
> I'll see with PGI guys what's wrong with the netcdf test case.
> 
> Thanks guys for your help!
> Regards,
> Rafik
>  
> On Tuesday 18 January 2005 22:20, Jordan Wilson wrote:
> > I don't think that pre-compilied netcdf binaries will work. 
> You need 
> > to compile your own netcdf library with pgf. Thats just in my 
> > experience though.
> >
> > Jordan
> >
> > ---- Original Message ----
> > From: rdjouad at senes.ca
> > To: wrf-users at ucar.edu
> > Subject: RE: [Wrf-users] Compilation Problem
> > Date: Tue, 18 Jan 2005 11:32:21 -0500
> >
> > >Hi folks!
> > >
> > >I have a serious problem when trying to compile WRF on my Linux 
> > >machine.  The WRF guys say it is due to NETcdf libraries 
> but I have a 
> > >doubt about it since this is happening even when I use 
> pre-compiled 
> > >netcdf binaries.
> > >Please take
> > >a quick look at the message below and let me know if you see
> > >anything:
> > >
> > >
> > >diffwrf is being built now.
> > >wrf_io.o(.text+0x23cc): In function
> > >
> > >`ext_ncd_support_routines_gettimeindex_':
> > >: undefined reference to `nf_put_vara_text_'
> > >
> > >wrf_io.o(.text+0x3c42): In function
> > >
> > >`ext_ncd_support_routines_netcdf_err_':
> > >: undefined reference to `nf_strerror_'
> > >
> > >wrf_io.o(.text+0xb44a): In function `ext_ncd_open_for_read_begin_':
> > >: undefined reference to `nf_open_'
> > >
> > >wrf_io.o(.text+0xb5fc): In function `ext_ncd_open_for_read_begin_':
> > >: undefined reference to `nf_inq_varid_'
> > >
> > >................................ETC
> > >
> > >
> > >AND
> > >
> > >ranlib libwrflib.a
> > >pgf90 -o wrf.exe -fast -w -byteswapio -Mfree -tp p6  -byteswapio 
> > >wrf.o libwrflib.a -L../external/io_netcdf -lwrfio_nf 
> > >-L/home/oper/NETCDF/downloads/exe/netcdf-3.6.0/lib -lnetcdf
> > >-L../external/io_grib1 -lio_grib1
> > >../frame/module_internal_header_util.o
> > >../frame/pack_utils.o -L../external/esmf_time_f90 -lesmf_time
> > >
> > >../external/io_netcdf/libwrfio_nf.a(wrf_io.o)(.text+0x23cc): In 
> > >function
> > >
> > >`ext_ncd_support_routines_gettimeindex_':
> > >: undefined reference to `nf_put_vara_text_'
> > >
> > >../external/io_netcdf/libwrfio_nf.a(wrf_io.o)(.text+0x3c42): In 
> > >function
> > >
> > >`ext_ncd_support_routines_netcdf_err_':
> > >: undefined reference to `nf_strerror_'
> > >
> > >../external/io_netcdf/libwrfio_nf.a(wrf_io.o)(.text+0xb44a): In 
> > >function
> > >
> > >`ext_ncd_open_for_read_begin_':
> > >: undefined reference to `nf_open_'
> > >
> > >................................ETC
> > >
> > >I appreciate your comments!
> > >Rafik
> > >
> > >--
> > >Rafik DJOUAD, Ph.D, B.Eng
> > >
> > >SENES Consultants Limited
> > >121 Granton Drive, Unit 12 Richmond Hill, Ontario CANADA L4B 3N4
> > >Tel: (905) 764-9380
> > >Fax: (905) 764-9386
> > >Email Address: rdjouad at senes.ca
> > >Web Site: http://www.senes.ca/
> > >
> > >This transmission is intended only for the addressee and 
> may contain 
> > >PRIVILEGED or CONFIDENTIAL information. Any unauthorized 
> disclosure, 
> > >use or retention is strictly prohibited. SENES does not accept 
> > >liability for any errors, omissions, corruption or virus 
> in contents 
> > >or attachments.
> > >Information is provided for use "as is" by the addressee. Revised 
> > >documents must not be represented as SENES work product, without 
> > >express, written permission of a SENES Director.
> > >
> > >_______________________________________________
> > >Wrf-users mailing list
> > >Wrf-users at ucar.edu
> > >http://mailman.ucar.edu/mailman/listinfo/wrf-users
> >
> > Visit the student portal @ http://www.studentvuw.vuw.ac.nz
> 
> --
> Rafik DJOUAD, Ph.D, B.Eng 
> 
> SENES Consultants Limited
> 121 Granton Drive, Unit 12 Richmond Hill, Ontario CANADA L4B 3N4
> Tel: (905) 764-9380
> Fax: (905) 764-9386
> Email Address: rdjouad at senes.ca
> Web Site: http://www.senes.ca/ 
> 
> This transmission is intended only for the addressee and may 
> contain PRIVILEGED or CONFIDENTIAL information. Any 
> unauthorized disclosure, use or retention is strictly 
> prohibited. SENES does not accept liability for any errors, 
> omissions, corruption or virus in contents or attachments. 
> Information is provided for use "as is" by the addressee. 
> Revised documents must not be represented as SENES work 
> product, without express, written permission of a SENES Director. 
> 




More information about the Wrf-users mailing list