[Wrf-users] WRF compilation failure

Rafik Djouad - SENES Consultants Limited rdjouad at senes.ca
Thu Dec 23 14:23:37 MST 2004


Dear all,

I am trying to compile the latest WRF version on my Linux PC.  I have a 
huge number of "Undefined Reference" as many subroutines seem to be missing.

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_'
........................ETC


and later:


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/WRF/WRFV2/netcdf_links/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_'


The other problem is that PGF90 detects an error in subroutine: 
convert_nmm.f   at lines 201 and 255.

I had libnetcdf.a compiled and installed previously..
May the two problems are linked!

Thanks very much for your support!
Best Regrards,
Rafik


Rafik Djouad Ph.D, M.sc, 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