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>&quot;uname -a&quot;: 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&#39;</div><div>x=`echo &quot;gfortran -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 &quot; | awk &#39;{print $1}&#39;` ; export x ; \</div>

<div><span style="white-space:pre-wrap">        </span>if [ $x = &quot;gfortran&quot; ] ; 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 &#39;/integer *, *external.*iargc/d&#39; &gt; 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 &gt; 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_&#39;:</div><div>wrf_io.f:(.text+0x1fe7): undefined reference to `nf_inq_varid_&#39;</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_&#39;</div><div>/usr/local/netcdf/lib/libnetcdff.so: undefined reference to `nf_def_var_endian_&#39;</div><div>/usr/local/netcdf/lib/libnetcdff.so: undefined reference to `nf_inq_compound_fieldname_&#39;</div>

<div>/usr/local/netcdf/lib/libnetcdff.so: undefined reference to `nf_inq_typeid_&#39;</div><div>/usr/local/netcdf/lib/libnetcdff.so: undefined reference to `nf_put_varm_int1_&#39;</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>