Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Warning! ***HDF5 library version mismatched error***

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

netkasal

New member
Dear all

I have recently compiled WRF-4.0.3 and WPS.4.0.3 successfully using Cray Intel (ftn, cc, icc) compilers. Having done that, however I am not able to run WPS geogrid.exe for a reason I do not understand.

I have attached the log file but in short here is the error message I am getting.

Processing domain 1 of 1
Processing XLAT and XLONG
Warning! ***HDF5 library version mismatched error***
The HDF5 header files used to compile this application do not match
the version used by the HDF5 library to which this application is linked.
Data corruption or segmentation faults may occur if the application continues.
This can happen when an application was compiled by one version of HDF5 but
linked with a different version of static or shared HDF5 library.
.
.
.
Bye...
forrtl: error (76): Abort trap signal


As far as I understand, I used the same HDF5 library to compile and run the code(please look the configure and log files). I can't figure out what went wrong? Your help is much appreciated.

thanks.
Netsanet
 

Attachments

  • geogrid.log
    7.2 KB · Views: 56
  • my_geogrid.log
    5.9 KB · Views: 52
  • configure.wrf
    21.4 KB · Views: 56
  • configure.wps
    3.9 KB · Views: 54
Can you try to reinstall netCDF, following the steps below:

setenv DIR path_to_directory/Build_WRF/LIBRARIES
setenv CC gcc
setenv CXX g++
setenv FC gfortran
setenv FCFLAGS -m64
setenv F77 gfortran
setenv FFLAGS -m64

tar xzvf netcdf-4.1.3.tar.gz
cd netcdf-4.1.3
./configure --prefix=$DIR/netcdf --disable-dap \
--disable-netcdf-4 --disable-shared
make
make install
setenv PATH $DIR/netcdf/bin:$PATH
setenv NETCDF $DIR/netcdf

Then recompile WRF/WPS. Hope this will work.
 
Top