<div dir="ltr">Hello,<div> I have tried to build WRF V3.6 on CYGWIN(gfortran and gcc) with the following instructions in configure_new.defaults - </div><div><br></div><div><p class=""><span style="font-family:'Courier New'">
LIB_EXTERNAL = \<br>
-L$(WRF_SRC_ROOT_DIR)/external/io_netcdf -lwrfio_nf -L/usr/local/lib
-lnetcdff -lnetcdf -L/usr/local/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz <br><br></span></p><p class=""><span style="font-family:'Courier New'">I get the following errors when I type ./compile em_real >& compile.log - </span></p>
<p class=""><span style="font-family:'Courier New'"><br></span></p><p class=""><span style="font-family:'Courier New'">removing external
declaration of iargc for gfortran<br>
gfortran -w -ffree-form -ffree-line-length-none
-fconvert=big-endian -frecord-marker=4
-c
-I/home/lenovo/gz/WRFV3/netcdf_links/include -I../ioapi_share
diffwrf.f<br>
diffwrf io_netcdf is being built now. <br>
/home/lenovo/gz/WRFV3/netcdf_links/lib/libnetcdf.a(libnetcdf4_la-nc4internal.o):
In function `nc4_rec_find_hdf_type':<br>
/home/lenovo/gz/netcdf-4.2.1.1/libsrc4/nc4internal.c:362: undefined reference
to `H5Tequal'<br>
/home/lenovo/gz/WRFV3/netcdf_links/lib/libnetcdf.a(libnetcdf4_la-nc4internal.o):
In function `find_var_shape_grp':<br>
/home/lenovo/gz/netcdf-4.2.1.1/libsrc4/nc4internal.c:109: undefined reference
to `H5Dget_space'<br>
</span></p><p class=""><span style="font-family:'Courier New'"><br></span></p><p class=""><span style="font-family:'Courier New'">There are about 480 errors. Under my /usr/local/lib folder </span></p><p class="">
<span style="font-family:'Courier New'">the required HDF5 libraries are present i.e libhdf5.a, etc.</span></p><p class=""><span style="font-family:'Courier New'"><br></span></p><p class=""><font face="Courier New">I am using netcdf-4.2.1 and it was built with netcdf4 enabled. Should I disable this and rebuild netcd4 and then build WRFV3.6 ?</font></p>
<p class=""><font face="Courier New"><br></font></p><p class=""><font face="Courier New">When I run the 'nm' program with the -a option all those missing references show up under those libraries so I really do not know where the problem is.</font></p>
<p class=""><font face="Courier New"><br></font></p><p class=""><font face="Courier New">Any pointers would be appreciated ?</font></p><p class=""><font face="Courier New">Regards,</font></p><p class=""><font face="Courier New">Ashwin. </font></p>
<p class=""><span style="font-family:'Courier New'"><br></span></p><p class=""><span style="font-family:'Courier New'"><br></span></p></div></div>