Issue running tests

Dear OpenMC community,

With the present I want to report some problems I’ve encountered while running the test suite of OpenMC.
I’ve found similar problems both testing the code on my WSL2 Debian and on a cluster with Red Hat Enterprise 8. Here I’m reporting just the results obtained on WSL.
I’ve installed OpenMC v0.13.2. Built with ‘cmake -DCMAKE_BUILD_TYPE=Release’.

  • cmake version 3.18.4
  • GNU Make 4.3
  • gcc (Debian 10.2.1-6) 10.2.1

as for the Python interface, this has been compiled with ‘ python3 setup.py develop’, and Python 3.9.2 with packages:

anyio 3.6.2
asttokens 2.2.1
attrs 22.2.0
backcall 0.2.0
certifi 2022.12.7
charset-normalizer 3.0.1
colorama 0.4.6
contourpy 1.0.7
cycler 0.11.0
Cython 0.29.33
decorator 5.1.1
exceptiongroup 1.1.0
executing 1.2.0
fonttools 4.38.0
future 0.18.3
h5py 3.8.0
idna 3.4
iniconfig 2.0.0
ipython 8.8.0
jedi 0.18.2
Jinja2 3.1.2
kiwisolver 1.4.4
libmesh 0.0.6
lxml 4.9.2
MarkupSafe 2.1.2
matplotlib 3.6.3
matplotlib-inline 0.1.6
mpi4py 3.1.4
numpy 1.20.3
openmc 0.13.2
packaging 23.0
pandas 1.5.3
parso 0.8.3
pexpect 4.8.0
pickleshare 0.7.5
Pillow 9.4.0
pip 20.3.4
pkg-resources 0.0.0
pluggy 0.13.0
prompt-toolkit 3.0.36
ptyprocess 0.7.0
pure-eval 0.2.2
Pygments 2.14.0
pyne 0.7.7
pyparsing 3.0.9
pytest 7.2.1
python-dateutil 2.8.2
pytz 2022.7.1
requests 2.28.2
scipy 1.10.0
setuptools 44.1.1
six 1.16.0
sniffio 1.3.0
stack-data 0.6.2
tomli 2.0.1
traitlets 5.8.1
uncertainties 3.1.7
urllib3 1.26.14
validation 0.0.0
vtk 9.2.5
wcwidth 0.2.6

The output of the tests, i.e. ‘pytest -v -s’ is in the attached file.
I’ve obtained the same exact test results both using OpenMC v0.13.2 and OpenMC 0.13.3.dev0 (Last commit: Jan 24, 2023).
report2.py (955.4 KB) (I’m using a py extension in order to upload the file)

Matteo

As for the cluster with Red Hat Enterprise 8, OpenMC 0.13.3.dev0 (Last commit: Jan 24, 2023) has been compiled with

  • icc (ICC) 2021.6.0 20220226
  • mpich 4.0.3
  • cmake version 3.21.3
  • GNU Make 4.2.1
  • Python 3.8.15

And python packages:

asttokens 2.2.1
attrs 22.2.0
backcall 0.2.0
colorama 0.4.6
contourpy 1.0.7
cycler 0.11.0
decorator 5.1.1
exceptiongroup 1.1.0
executing 1.2.0
fonttools 4.38.0
future 0.18.3
h5py 3.8.0
iniconfig 2.0.0
ipython 8.9.0
jedi 0.18.2
kiwisolver 1.4.4
lxml 4.9.2
matplotlib 3.6.3
matplotlib-inline 0.1.6
mpi4py 3.1.4
numpy 1.21.1
openmc 0.13.3.dev0
packaging 23.0
pandas 1.5.3
parso 0.8.3
pexpect 4.8.0
pickleshare 0.7.5
Pillow 9.4.0
pip 22.0.4
pluggy 1.0.0
prompt-toolkit 3.0.36
ptyprocess 0.7.0
pure-eval 0.2.2
Pygments 2.14.0
pyparsing 3.0.9
pytest 7.2.1
python-dateutil 2.8.2
pytz 2022.7.1
scipy 1.10.0
setuptools 56.0.0
six 1.16.0
stack-data 0.6.2
tomli 2.0.1
traitlets 5.8.1
uncertainties 3.1.7
vector 0.11.0
vtk 9.2.5
wcwidth 0.2.6

You can find the output of the tests in the attached file .py
report.py (1.0 MB)

Thanks,
Matteo

Regarding the failed tests, I believe all 6 have been known to fail due to building in Release mode vs Debug, so I wouldn’t particularly worry about those. (Someone else should chime in to confirm this)

It’s hard to tell what is causing the errors exactly because it is just reporting an error when trying to make so I am unfortunately not much help on those.

Thank for the suggestion @kkiesling.
I’ve tried to re-run the tests by compiling the code in Debug mode. Some tests have failed anyway, but not the one I was reporting before.

Matteo