I installed openmc from source on Linux (Ubuntu 20.04.4) and am trying to use a separate package with it, called “openmc-plasma-source,” but when I try and run the sample script from its Github I get this:
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%
############### %%%%%%%%%%%%%%%%%%%%%%%%
################## %%%%%%%%%%%%%%%%%%%%%%%
################### %%%%%%%%%%%%%%%%%%%%%%%
#################### %%%%%%%%%%%%%%%%%%%%%%
##################### %%%%%%%%%%%%%%%%%%%%%
###################### %%%%%%%%%%%%%%%%%%%%
####################### %%%%%%%%%%%%%%%%%%
####################### %%%%%%%%%%%%%%%%%
###################### %%%%%%%%%%%%%%%%%
#################### %%%%%%%%%%%%%%%%%
################# %%%%%%%%%%%%%%%%%
############### %%%%%%%%%%%%%%%%
############ %%%%%%%%%%%%%%%
######## %%%%%%%%%%%%%%
%%%%%%%%%%%
| The OpenMC Monte Carlo Code
Copyright | 2011-2022 MIT, UChicago Argonne LLC, and contributors
License | https://docs.openmc.org/en/latest/license.html
Version | 0.13.0
Git SHA1 | cff247e35785e7236d67ccf64a3401f0fc50a469
Date/Time | 2022-03-06 18:25:07
OpenMP Threads | 8
Reading settings XML file…
ERROR: No cross_sections.xml file was specified in materials.xml or in the
OPENMC_CROSS_SECTIONS environment variable. OpenMC needs such a file to
identify where to find data libraries. Please consult the user’s guide
at https://docs.openmc.org/ for information on how to set up data
libraries.
Traceback (most recent call last):
File “plasma.py”, line 64, in
model.run()
File “/home/agilan/.local/lib/python3.8/site-packages/openmc/model/model.py”, line 580, in run
openmc.run(particles, threads, geometry_debug, restart_file,
File “/home/agilan/.local/lib/python3.8/site-packages/openmc/executor.py”, line 276, in run
_run(args, output, cwd)
File “/home/agilan/.local/lib/python3.8/site-packages/openmc/executor.py”, line 116, in _run
raise RuntimeError(error_msg)
RuntimeError: No cross_sections.xml file was specified in materials.xml or in the OPENMC_CROSS_SECTIONS environment variable. OpenMC needs such a file to identify where to find data libraries.
Does anyone know why this error is occurring?