[Wrf-users] Compilation errors

Akhilesh Kumar Mishra akhil at io.met.fsu.edu
Tue Jul 18 13:38:10 MDT 2006


Dear Users,
I was trying to compile the wrf 3dvar as described in online tutorial 
and  during test run
while compiling the wrfvar in last few lines Errors are encountered 
twice ,can someone help me in debugging the same?


** wrf_abort   === End of Compilation 4 ===
1501-510  Compilation successful for file diffwrf.f.
diffwrf is being built now.
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_real
ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_real
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_double
ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_double
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_int
ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_int
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_text
ld: 0711-317 ERROR: Undefined symbol: .nf_strerror
ld: 0711-317 ERROR: Undefined symbol: .nf_open
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_varid
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_var
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_dimlen
ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_text
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_nvars
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_varname
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_vartype
ld: 0711-317 ERROR: Undefined symbol: .nf_get_att_int
ld: 0711-317 ERROR: Undefined symbol: .nf_get_att_text
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_vardimid
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
make: 1254-005 Ignored error code 8 from last command.
         /bin/rm -f libio_grib1.a
         ( cd MEL_grib1; make CC="cc_r -DNOUNDERSCORE 
-DNCARIBM_NOC99" archive )
         ar cruv ../libio_grib1.a 
FTP_getfile.o  apply_bitmap.o  display_gribhdr.o  gbyte.o  grib_dec.o 
  grib_enc.o  grib_seek.o  gribgetbds.o  gribgetbms.o  gribgetgds.o 
gribgetpds.o  gribhdr2file.o  gribputbds.o  gribputgds.o 
gribputpds.o  hdr_print.o  init_dec_struct.o  init_enc_struct.o 
init_gribhdr.o  init_struct.o  ld_dec_lookup.o  ld_enc_input.o 
ld_enc_lookup.o  ld_grib_origctrs.o  make_default_grbfn.o 
make_grib_log.o  map_lvl.o  map_parm.o  pack_spatial.o 
prt_inp_struct.o  upd_child_errmsg.o  prt_badmsg.o  swap.o grib_uthin.o
a - FTP_getfile.o


Second error is at the last

   ranlib libwrflib.a
         xlf90_r -o wrfvar.exe -bmaxstack:256000000 
-bmaxdata:2048000000 wrfvar.o libwrflib.a -L../external/io_netcdf 
-lwrfio_nf -L/data/akhil/wrf/wrfvar_v2.1/netcdf_links/lib 
-lnetcdf  -lmass -lmassv -L../external/io_int 
-lwrfio_int  -L../external/io_grib1 
-lio_grib1  -L../external/esmf_time_f90 
-lesmf_time  ../frame/module_internal_header_util.o  ../frame/pack_utils.o
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_real
ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_real
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_double
ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_double
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_int
ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_int
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_text
ld: 0711-317 ERROR: Undefined symbol: .nf_strerror
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_varid
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_vartype
ld: 0711-317 ERROR: Undefined symbol: .nf_get_att_int
ld: 0711-317 ERROR: Undefined symbol: .nf_get_att_text
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_vardimid
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_dimlen
ld: 0711-317 ERROR: Undefined symbol: .nf_close
ld: 0711-317 ERROR: Undefined symbol: .nf_sync
ld: 0711-317 ERROR: Undefined symbol: .nf_open
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_var
ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_text
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_nvars
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_varname
ld: 0711-317 ERROR: Undefined symbol: .nf_enddef
ld: 0711-317 ERROR: Undefined symbol: .nf_create
ld: 0711-317 ERROR: Undefined symbol: .nf_def_dim
ld: 0711-317 ERROR: Undefined symbol: .nf_def_var
ld: 0711-317 ERROR: Undefined symbol: .nf_put_att_text
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_att
ld: 0711-317 ERROR: Undefined symbol: .nf_put_att_int
ld: 0711-317 ERROR: Undefined symbol: .nf_put_att_double
ld: 0711-317 ERROR: Undefined symbol: .nf_get_att_double
ld: 0711-317 ERROR: Undefined symbol: .nf_redef
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
make: 1254-005 Ignored error code 8 from last command.

regards and wishes
Akhilesh






More information about the Wrf-users mailing list