Error while running the c5g7 Benchmark script

Hi all
I installed OpenMC on Linux with Conda-Forge and tried to run the Benchmark C5G7 script (build-xml-2d.py), but I get this error (picture).

Best regards

Hi Mohamed,

Yes, it appears that those scripts are out of date and do not match the current Python API. I’ve copied Adam Nelson, who originally wrote the scripts to generate the C5G7 model (and OpenMC’s multigroup capability), on this email to see if he’d be able to fix it.

Best,
Paul

Thank you, Mr Paul, for your answer,
and I hope that Mr Adam Nelson will be able to answer my question quickly in order to compare my results with OpenMC

Best,

Mohamed

Hello Mohamed,

I just posted a pull request to that benchmarks repository with the fix you will need. We will get it approved shortly so that it will be in the main repository.

Sorry for the delay!
Adam

Just wanted to send a quick update that the benchmarks repository has been updated so that the C5G7 scripts now work with the latest release of OpenMC.

Best,
Paul