<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 16px; font-family: Courier, sans-serif; "><div><div><div><br></div><div>Not quite. &nbsp;WRF 3.4.1 doesn't support the "new" netCDF4 features that require HDF5. &nbsp;But you can still compile netCDF4.1.3 in classic mode (w/o HDF5) and link WRF to it.</div><div><br></div><div>Going back to the original problem: &nbsp;Was the same compiler used to build netCDF and WRF?</div><div><br></div><div>-Eric</div><div><br></div><div>




<font face="Courier,Courier New"><span style="font-size:11pt">--------------------------------------------------------------------<br>
Eric M. Kemp &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Goddard Space Flight Center<br>
Chief Programmer/Analyst &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mailstop 610.3<br>
SSAI &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Greenbelt, MD 20771<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Telephone: &nbsp;301-286-9768<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;E-mail: &nbsp;&nbsp;&nbsp;&nbsp;<a href="eric.kemp@nasa.gov">eric.kemp@nasa.gov</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;E-mail: &nbsp;&nbsp;&nbsp;&nbsp;<a href="eric.kemp@ssaihq.com">eric.kemp@ssaihq.com</a><br>
--------------------------------------------------------------------<br>
<br>
</span></font>


</div></div></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Lucida Grande; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Juan Camilo Hernandez Diaz &lt;<a href="mailto:camilo.hernandez@gmail.com">camilo.hernandez@gmail.com</a>&gt;<br><span style="font-weight:bold">Reply-To: </span> "<a href="mailto:camilo.hernandez@gmail.com">camilo.hernandez@gmail.com</a>" &lt;<a href="mailto:camilo.hernandez@gmail.com">camilo.hernandez@gmail.com</a>&gt;<br><span style="font-weight:bold">Date: </span> Monday, May 6, 2013 12:24 PM<br><span style="font-weight:bold">To: </span> "<a href="mailto:wrf-users@ucar.edu">wrf-users@ucar.edu</a>" &lt;<a href="mailto:wrf-users@ucar.edu">wrf-users@ucar.edu</a>&gt;<br><span style="font-weight:bold">Subject: </span> Re: [Wrf-users] WRFV3 compilation errors<br></div><div><br></div><span id="result_box" class="" lang="en"><span class="hps">This</span> <span class="hps">version</span> <span class="hps">of the model</span> <span class="hps">does not support</span> <span class="hps">NetCDF</span> <span class="hps">4.x</span></span>, <span id="result_box" class="short_text" lang="en"><span class="hps">You must</span> <span class="hps">install</span> <span class="hps">the</span> <span class="hps">version</span> <span class="hps">3.6.x.<br><br>-----<br>Juan Camilo Hernández Díaz<br>Grupo de Oceanografía e Ingeniería Costera - OCEANICOS<br>Facultad de Minas - Universidad Nacional de Colombia 
<div>Oficina M8b - 9911<br><a href="http://www.jkoyo.net/" target="_blank">http://www.jkoyo.net</a><br></div><br></span></span><br><div class="gmail_quote">On Fri, Apr 26, 2013 at 4:16 PM, Luis Fernando Montana Roa <span dir="ltr">&lt;<a href="mailto:lfmontanar@unal.edu.co" target="_blank">lfmontanar@unal.edu.co</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, I want to install WRF-ARW 3.4.1 on a cluster with CentOS 6.4,&nbsp;gfortran compiler 4.4.7,&nbsp;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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo removing external declaration of iargc for gfortran ; \</div><div><span style="white-space:pre-wrap">        </span> &nbsp; /lib/cpp -C -P -C -P -traditional -I/usr/local/netcdf/include -I../ioapi_share diffwrf.F90 | sed '/integer *, *external.*iargc/d' &gt; diffwrf.f ;\</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else \</div><div><span style="white-space:pre-wrap">        </span> &nbsp; /lib/cpp -C -P -C -P -traditional -I/usr/local/netcdf/include -I../ioapi_share diffwrf.F90 &gt; diffwrf.f ; \</div><div>&nbsp; &nbsp; &nbsp; &nbsp; 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 &nbsp;-c &nbsp;-I/usr/local/netcdf/include -I../ioapi_share diffwrf.f</div><div>



diffwrf io_netcdf is being built now.&nbsp;</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><span class="HOEnZb"><font color="#888888"><div><br></div><div>--&nbsp;</div><div>Fernando<br></div></font></span><br>_______________________________________________<br>
Wrf-users mailing list<br><a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br><a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br><br></blockquote></div><br></span></body></html>