# Issue running tests

**URL:** <https://openmc.discourse.group/t/issue-running-tests/2664>\
**Category:** User Support\
**Created:** [January 30, 2023, 8:53am UTC](https://openmc.discourse.group/t/issue-running-tests/2664 "2023-01-30T08:53:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MatF](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@MatF](https://openmc.discourse.group/u/MatF)\
**Post date:** [January 30, 2023, 8:53am UTC](https://openmc.discourse.group/t/issue-running-tests/2664/1 "2023-01-30T08:53:18Z")

</div>

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](https://openmc.discourse.group/uploads/short-url/suxnvDl235sz80YlwkRys65o4lw.py) (955.4 KB) (I’m using a py extension in order to upload the file)

Matteo

---

<div class="post-metadata">

**Author:** ![MatF](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@MatF](https://openmc.discourse.group/u/MatF)\
**Post date:** [January 30, 2023, 9:32am UTC](https://openmc.discourse.group/t/issue-running-tests/2664/2 "2023-01-30T09:32:45Z")

</div>

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](https://openmc.discourse.group/uploads/short-url/5M0rds2tY4gZpE7KyWQnWavQ89e.py) (1.0 MB)

Thanks,  
Matteo

---

<div class="post-metadata">

**Author:** ![kkiesling](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/kkiesling/32/2989_2.png) [@kkiesling](https://openmc.discourse.group/u/kkiesling)\
**Post date:** [February 1, 2023, 5:46pm UTC](https://openmc.discourse.group/t/issue-running-tests/2664/3 "2023-02-01T17:46:33Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![MatF](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@MatF](https://openmc.discourse.group/u/MatF)\
**Post date:** [February 6, 2023, 8:49am UTC](https://openmc.discourse.group/t/issue-running-tests/2664/4 "2023-02-06T08:49:03Z")

</div>

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
