[Wrf-users] Compilation Problem

Rafik Djouad rdjouad at senes.ca
Tue Jan 18 09:32:21 MST 2005


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. 



More information about the Wrf-users mailing list