# Error in running OpenMC version 0.9

**URL:** <https://openmc.discourse.group/t/error-in-running-openmc-version-0-9/294>\
**Category:** User Support\
**Created:** [October 20, 2017, 10:38am UTC](https://openmc.discourse.group/t/error-in-running-openmc-version-0-9/294 "2017-10-20T10:38:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajay\_Rawat](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Ajay\_Rawat](https://openmc.discourse.group/u/Ajay_Rawat)\
**Post date:** [October 20, 2017, 10:38am UTC](https://openmc.discourse.group/t/error-in-running-openmc-version-0-9/294/1 "2017-10-20T10:38:31Z")

</div>

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](http://openmc.readthedocs.io/en/latest/license.html)  
> 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

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [October 23, 2017, 3:40pm UTC](https://openmc.discourse.group/t/error-in-running-openmc-version-0-9/294/2 "2017-10-23T15:40:11Z")

</div>

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](http://openmc.readthedocs.io/en/latest/usersguide/cross_sections.html), but if you run into any issues or have specific questions, let us know and we can help as needed.

Best,  
Paul

---

<div class="post-metadata">

**Author:** ![Ajay\_Rawat](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Ajay\_Rawat](https://openmc.discourse.group/u/Ajay_Rawat)\
**Post date:** [October 26, 2017, 3:38am UTC](https://openmc.discourse.group/t/error-in-running-openmc-version-0-9/294/3 "2017-10-26T03:38:20Z")

</div>

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

With best regards  
Ajay Rawat
