Problem in Converting ACE to HDF5

Hello everyone,

I am facing a problem in converting JEFF3.2 data ACE files to HDF5. I am already using JEFF3.2 so i tried running ACE-to-HDF5 script and it returned an error. Same error was encountered when i ran the get-jeff-data script. the error i am seeing is

Traceback (most recent call last):
File “openmc-get-jeff-data”, line 168, in
library = openmc.data.DataLibrary()
AttributeError: ‘module’ object has no attribute ‘DataLibrary’

can you please help me with that. Thank you in advance.

Hi Khurrum,

It looks like the scripts you are using don’t have access to the most up-to-date OpenMC Python API that is needed. Did you install OpenMC using ‘make install’? Under the hood, this will call ‘python setup.py install’ to make sure that the Python API is available from your Python interpreter.

Best regards,
Paul

Hi Paul,

Thank you very much for the prompt answer. Yes that was the problem. I was using api of stable version 0.8 while compile the latest version in another folder without issuing the make install command.

Thank you for your help again.