Hello,
I have successfully installed OpenMC and configured cross section using “nndc-data.” I have also set the environment variable of OPENMC_CROSS_SECTION to nndc_hdf5/cross_sections.xml
using the command
OPENMC_CROSS_SECTION = nndc_hdf5/cross_sections.xml
When I echoed $OPENMC_CROSS SECTION it also returned nndc_hdf5/cross_sections.xml
.
However, when I runed the “Modelling a Pin-Cell” example on my Jupyter Notebook (which is running through my terminal), an error occured at the very end when actually running OPENMC.
For the input
openmc.run()
The error message follows
Reading settings XML file... ERROR: No cross_sections.xml file was specified in materials.xml, settings.xml, or in the OPENMC_CROSS_SECTIONS environment variable. OpenMC needs such a file to identify where to find ACE cross section libraries. Please consult the user's guide at [http://mit-crpg.github.io/openmc](http://mit-crpg.github.io/openmc) for information on how to set up ACE cross section libraries. STOP 1
I have the cross_sections.xml set to nndc_hdf5/cross_sections.xml
but problem still persist. Does anyone know why it may cause the problem? I am using ubuntu bash on windows to install OPENMC, does that make a difference when configuring cross sections or setting up OpenMC in general?
Sincerely,
Brian