[Wrf-users] Unable to build WRF3.6 on CYGWIN
ashwinD12 .
winash12 at gmail.com
Sun Jul 13 04:47:16 MDT 2014
Hello,
I have tried to build WRF V3.6 on CYGWIN(gfortran and gcc) with
the following instructions in configure_new.defaults -
LIB_EXTERNAL = \
-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
I get the following errors when I type ./compile em_real >& compile.log -
removing external declaration of iargc for gfortran
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
diffwrf io_netcdf is being built now.
/home/lenovo/gz/WRFV3/netcdf_links/lib/libnetcdf.a(libnetcdf4_la-nc4internal.o):
In function `nc4_rec_find_hdf_type':
/home/lenovo/gz/netcdf-4.2.1.1/libsrc4/nc4internal.c:362: undefined
reference to `H5Tequal'
/home/lenovo/gz/WRFV3/netcdf_links/lib/libnetcdf.a(libnetcdf4_la-nc4internal.o):
In function `find_var_shape_grp':
/home/lenovo/gz/netcdf-4.2.1.1/libsrc4/nc4internal.c:109: undefined
reference to `H5Dget_space'
There are about 480 errors. Under my /usr/local/lib folder
the required HDF5 libraries are present i.e libhdf5.a, etc.
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 ?
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.
Any pointers would be appreciated ?
Regards,
Ashwin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20140713/11c170c7/attachment.html
More information about the Wrf-users
mailing list