While using mcnp_to_openmc to convert one of my MCNP inputs to an OpenMC input, I encountered the error message ‘AttributeError: module ‘openmc’ has no attribute ‘IndependentSource’.’ I am using OpenMC version 0.13.2. Could someone please help me resolve this issue?"
IndependantSource is a version 0.14 method of neutron sourcing. You can either update or use a method available in 0.13.2.
Okay sir. Thank you for your kind and prompt response.
The attribute IndependentSource is only available from version 0.14. Use openmc.Source() instead. That should solve the problem.
Okay sir. Thank you for your kind response. It worked.