Error in running OpenMC version 0.9

Dear Friends,
I have just installed the OpenMC in a machine with gfortran 7.2. Every thing seems to be O.K. and I’m able
to generate the openmc executable.

But when i run any example problem i ran into this error message;

%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%
############### %%%%%%%%%%%%%%%%%%%%%%%%
################## %%%%%%%%%%%%%%%%%%%%%%%
################### %%%%%%%%%%%%%%%%%%%%%%%
#################### %%%%%%%%%%%%%%%%%%%%%%
##################### %%%%%%%%%%%%%%%%%%%%%
###################### %%%%%%%%%%%%%%%%%%%%
####################### %%%%%%%%%%%%%%%%%%
####################### %%%%%%%%%%%%%%%%%
###################### %%%%%%%%%%%%%%%%%
#################### %%%%%%%%%%%%%%%%%
################# %%%%%%%%%%%%%%%%%
############### %%%%%%%%%%%%%%%%
############ %%%%%%%%%%%%%%%
######## %%%%%%%%%%%%%%
%%%%%%%%%%%

The OpenMC Monte Carlo Code
Copyright | 2011-2017 Massachusetts Institute of Technology
License | License Agreement — OpenMC Documentation
Version | 0.9.0
Git SHA1 | 3b0c044974c59773dac4e3ce261a87e18fc53de5
Date/Time | 2017-10-20 16:20:50
OpenMP Threads | 24

Reading settings XML file…
Reading geometry XML file…
Reading materials XML file…
Reading cross sections XML file…
Reading U235 from /home/rseg/ajayr/tmp/openmc/openmc/data/nndc_hdf5/U235.h5
HDF5-DIAG: Error detected in HDF5 (1.8.19) thread 0:
#000: H5F.c line 602 in H5Fopen(): unable to open file
major: File accessibilty
minor: Unable to open file
#001: H5Fint.c line 1085 in H5F_open(): unable to read superblock
major: File accessibilty
minor: Read failed
#002: H5Fsuper.c line 292 in H5F_super_read(): unable to load superblock
major: Object cache
minor: Unable to protect metadata
#003: H5AC.c line 1260 in H5AC_protect(): H5C_protect() failed.
major: Object cache
minor: Unable to protect metadata
#004: H5C.c line 3572 in H5C_protect(): can’t load entry
major: Object cache
minor: Unable to load metadata into cache
#005: H5C.c line 7952 in H5C_load_entry(): unable to load entry
major: Object cache
minor: Unable to load metadata into cache
#006: H5Fsuper_cache.c line 172 in H5F_sblock_load(): bad superblock version number
major: File accessibilty
minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.8.19) thread 0:
#000: H5A.c line 1678 in H5Aexists_by_name(): not a location
major: Invalid arguments to routine
minor: Inappropriate type
#001: H5Gloc.c line 251 in H5G_loc(): invalid object ID
major: Invalid arguments to routine
minor: Bad value
ERROR: HDF5 data does not indicate a version. Your installation of OpenMC
expects version 1.x data.
ERROR STOP

Error termination. Backtrace:
#0 0x4e8273 in ???
#1 0x42f44d in ???
#2 0x4313ed in ???
#3 0x44564b in ???
#4 0x451822 in ???
#5 0x42eea4 in ???
#6 0x421e8e in ???
#7 0x38f5c1ed5c in ???
#8 0x421d48 in ???

I wonder what could be the problem?
I have installed HDF5 using the command

./configure --prefix=/apps/scratch/rseg/ajayr/opt/hdf5/1.8.19 --enable-fortran --enable-fortran2003

Waiting for reply.

With regards
Ajay

Hi Ajay,

The format of the data files changed slightly in version 0.9.0, so you’ll need to regenerate your HDF5 libraries. This is covered pretty thoroughly in the user’s manual, but if you run into any issues or have specific questions, let us know and we can help as needed.

Best,
Paul

Dear Paul,
Thank you for your suggestion. It turns out that HDF5 x-sections libraries were the problem.

With best regards
Ajay Rawat