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<div><br></div><div>"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</div>
<div><br></div><div>When I compile em_real, There are some errorrs:</div><div><br></div><div>...</div><div><div>make[2]: Entering directory `/state/partition1/wrf/WRFV3/external/io_netcdf'</div><div>x=`echo "gfortran -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 " | awk '{print $1}'` ; export x ; \</div>
<div><span style="white-space:pre-wrap">        </span>if [ $x = "gfortran" ] ; then \</div><div> echo removing external declaration of iargc for gfortran ; \</div><div><span style="white-space:pre-wrap">        </span> /lib/cpp -C -P -C -P -traditional -I/usr/local/netcdf/include -I../ioapi_share diffwrf.F90 | sed '/integer *, *external.*iargc/d' > diffwrf.f ;\</div>
<div> else \</div><div><span style="white-space:pre-wrap">        </span> /lib/cpp -C -P -C -P -traditional -I/usr/local/netcdf/include -I../ioapi_share diffwrf.F90 > diffwrf.f ; \</div><div> fi</div>
<div>removing external declaration of iargc for gfortran</div><div>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</div><div>
diffwrf io_netcdf is being built now. </div><div>wrf_io.o: In function `ext_ncd_get_var_info_':</div><div>wrf_io.f:(.text+0x1fe7): undefined reference to `nf_inq_varid_'</div></div><div><br></div><div>...</div><div>
<br></div><div><div>/usr/local/netcdf/lib/libnetcdff.so: undefined reference to `nf_get_varm_double_'</div><div>/usr/local/netcdf/lib/libnetcdff.so: undefined reference to `nf_def_var_endian_'</div><div>/usr/local/netcdf/lib/libnetcdff.so: undefined reference to `nf_inq_compound_fieldname_'</div>
<div>/usr/local/netcdf/lib/libnetcdff.so: undefined reference to `nf_inq_typeid_'</div><div>/usr/local/netcdf/lib/libnetcdff.so: undefined reference to `nf_put_varm_int1_'</div></div><div>...</div><div><br></div>
<div>
<br></div><div>Any suggestions?</div><div>Thanks in advance</div><div><br></div><div>-- </div><div>Fernando<br>
</div>