OpenMC aborted by settings.photon_transport

Hi,
I have an openmc model that I have used to calculate several neutron parameters such as heating, TBR, flux, heating and flux maps. However, just by setting settings.photon_transport = True, I get this error.

File ~/anaconda3/envs/dagm/lib/python3.9/site-packages/openmc/executor.py:116, in _run(args, output, cwd)
    113     error_msg = 'OpenMC aborted unexpectedly.'
    114 error_msg = ' '.join(error_msg.split())
--> 116 raise RuntimeError(error_msg)

RuntimeError: OpenMC aborted unexpectedly.

I also notice this:

 Reading Ir from /home/fnovais/OPENMC/XS/endfb71/endfb71_hdf5/photon/Ir.h5 
 Reading Ir193 from /home/fnovais/OPENMC/XS/jeff33_hdf5/Ir193.h5
corrupted double-linked list

I am assuming there is something wrong with my photon cross-sections, but I am not sure what it is. Any sugestions?

1 Like

@fnovais I finally was able to figure out the issue here. It’s due to a subtle mismatch in some of the photon data that we use. For full details, you can take a look at the bug fix that I just submitted. Once it’s merged, you can either use the develop branch of OpenMC or wait for our next release that will include it.

2 Likes

Thank you very much @paulromano!