# The runtime error form JEFF database script

**URL:** <https://openmc.discourse.group/t/the-runtime-error-form-jeff-database-script/347>\
**Category:** User Support\
**Created:** [September 10, 2018, 8:46pm UTC](https://openmc.discourse.group/t/the-runtime-error-form-jeff-database-script/347 "2018-09-10T20:46:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![YimingZ](https://avatars.discourse-cdn.com/v4/letter/y/f19dbf/32.png) [@YimingZ](https://openmc.discourse.group/u/YimingZ)\
**Post date:** [September 10, 2018, 8:46pm UTC](https://openmc.discourse.group/t/the-runtime-error-form-jeff-database-script/347/1 "2018-09-10T20:46:17Z")

</div>

Hi,

I’m trying to get JEFF database through [openmc-get-jeff-data](https://openmc.readthedocs.io/en/stable/usersguide/scripts.html#scripts-jeff) script, It successful download and extract the ACE file. However, an error pops out when the script converting the ACE files to H5 format. The error said: RuntimeError: Unable to create attribute (object header message is too large). I attached the screenshot of the error. Please contact me if you know how to fix this error. Thanks in advance.

Best wishes,  
Yiming

 ![JEFF-error.png](https://global.discourse-cdn.com/free1/uploads/openmc/original/1X/dcd5053022da7eff04cafd55c6d721e15cc3be88.png)

---

<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:** [September 10, 2018, 9:46pm UTC](https://openmc.discourse.group/t/the-runtime-error-form-jeff-database-script/347/2 "2018-09-10T21:46:50Z")

</div>

Hi Yiming,

As discussed [here](https://groups.google.com/forum/#!topic/openmc-users/_vuKRVNUllE), if you pass the argument ‘–libver latest’, converting the JEFF data should work.

Best regards,  
Paul

---

<div class="post-metadata">

**Author:** ![YimingZ](https://avatars.discourse-cdn.com/v4/letter/y/f19dbf/32.png) [@YimingZ](https://openmc.discourse.group/u/YimingZ)\
**Post date:** [September 11, 2018, 2:06pm UTC](https://openmc.discourse.group/t/the-runtime-error-form-jeff-database-script/347/3 "2018-09-11T14:06:46Z")

</div>

Hi Paul,

Thanks for your email. I have tried running the’‘openmc-get-jeff-data --libver latest’ script. Yes, It works wonderfully and I got the database files in h5 format. However, when I try to run a fuel pin simulation, the openmc.run() module cannot run the calculations and give the error like this:

_Program received signal SIGSEGV: Segmentation fault - invalid memory reference._

_Backtrace for this error:_  
_#0 0x7FB5DC553407_  
_#1 0x7FB5DC553A0E_  
_#2 0x7FB5DB449F1F_  
_#3 0x7FB5DDC77D55_  
_#4 0x7FB5DDC9378A_  
_#5 0x7FB5DDC7337A_

I attach the fuel pin input file in this email. The same input can work successfully when I set the **OPENMC\_CROSS\_SECTIONS** environment variable to nndc\_hdf5/cross\_sections.xml. Can you help me take a look at this problem? Thanks in advance.

Best wishes,

Yiming

在 2018年9月10日星期一 UTC+1下午10:47:36，Paul Romano写道：

[fuel\_pin.ipynb](https://openmc.discourse.group/uploads/short-url/evpAIZXA4x9SMqU2TSuUmt5wcAa.ipynb) (20.2 KB)

---

<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:** [September 13, 2018, 6:10pm UTC](https://openmc.discourse.group/t/the-runtime-error-form-jeff-database-script/347/4 "2018-09-13T18:10:39Z")

</div>

Hi Yiming,

What version of HDF5 are you using with OpenMC? Because the JEFF data library only works with the ‘latest’ HDF5 format library version, using it with OpenMC compiled against HDF5 1.8 probably won’t work. I did try running OpenMC with my own version of the JEFF data and it seemed to work fine.

Best,  
Paul
