[Wrf-users] WRFV3 compilation errors

Luis Fernando Montana Roa lfmontanar at unal.edu.co
Fri Apr 26 15:16:47 MDT 2013


Hi, I want to install WRF-ARW 3.4.1 on a cluster with CentOS 6.4, gfortran
compiler 4.4.7, netcdf 4.1.3, mpich2 1.2.1

"uname -a": Linux localhost 2.6.32-358.0.1.el6.x86_64 #1 SMP Wed Feb 27
06:06:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

When I compile em_real, There are some errorrs:

...
make[2]: Entering directory `/state/partition1/wrf/WRFV3/external/io_netcdf'
x=`echo "gfortran -w -ffree-form -ffree-line-length-none
-fconvert=big-endian -frecord-marker=4 " | awk '{print $1}'` ; export x ; \
 if [ $x = "gfortran" ] ; then \
           echo removing external declaration of iargc for gfortran ; \
   /lib/cpp -C -P -C -P -traditional -I/usr/local/netcdf/include
-I../ioapi_share diffwrf.F90 | sed '/integer *, *external.*iargc/d' >
diffwrf.f ;\
        else \
   /lib/cpp -C -P -C -P -traditional -I/usr/local/netcdf/include
-I../ioapi_share diffwrf.F90 > diffwrf.f ; \
        fi
removing external declaration of iargc for gfortran
gfortran -w -ffree-form -ffree-line-length-none -fconvert=big-endian
-frecord-marker=4  -c  -I/usr/local/netcdf/include -I../ioapi_share
diffwrf.f
diffwrf io_netcdf is being built now.
wrf_io.o: In function `ext_ncd_get_var_info_':
wrf_io.f:(.text+0x1fe7): undefined reference to `nf_inq_varid_'

...

/usr/local/netcdf/lib/libnetcdff.so: undefined reference to
`nf_get_varm_double_'
/usr/local/netcdf/lib/libnetcdff.so: undefined reference to
`nf_def_var_endian_'
/usr/local/netcdf/lib/libnetcdff.so: undefined reference to
`nf_inq_compound_fieldname_'
/usr/local/netcdf/lib/libnetcdff.so: undefined reference to `nf_inq_typeid_'
/usr/local/netcdf/lib/libnetcdff.so: undefined reference to
`nf_put_varm_int1_'
...


Any suggestions?
Thanks in advance

-- 
Fernando
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20130426/8f829ef8/attachment.html 


More information about the Wrf-users mailing list