ERROR: Cross-section table U235 is not a continuous-energy neutron table.

All -

I am trying to duplicate the pin-cell model example problem using OpenMC v 0.10.0. I downloaded the pregenerated data libraries from openmc.org and extracted the files into a directory I created. All of the data files have the HDF5 format. When I attempt to run the pin-cell problem, I get the error message cited in the subject line of this post. Why am I getting this message, and how do I fix the problem? Any help would be appreciated. Thanks.

Jim

Hello James,
Pregenerated data libraries from openmc.org only works for openmc version = 0.11.0. If you update your openmc, It will work perfectly fine.

Best wishes

Hello James

Please see below the process I used to install openmc and upgrade to 0.11.0

Hope you find it useful

I am using a Windows 10 computer

The first stage is to download Microsoft Subsystem for Linux

Open PowerShell as Administrator and run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Restart your computer when prompted

Download the Linux distribution of your choice from Microsoft Store, I used Ubuntu 18.04

Create the user account

Install Anaconda for Linux
wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh

chmod a+rwx Anaconda3-2020.02-Linux-x86_64.sh

./Anaconda3-2020.02-Linux-x86_64.sh

then conda/python and associated packages are installed

restart the terminal

if you run conda install openmc, this would install the 0.10.0 version, the version that works with the openmc official data file at https://openmc.org/official-data-libraries/ is 0.11.0 So, we have to install version 0.11.0, but to do that, first install the version 0.10.0 and upgrade to 0.11.0

to do this,
conda config --set auto_activate_base false
conda config --add channels conda-forge
conda update -n base -c defaults conda
conda install openmc

create new environment
conda create --name opmc11 python=3.7
conda activate opmc11

conda install openmc=0.11.0

conda install jupyter notebook

I am not sure yet how to make the newly created environment permanent in .bashrc or profile.d

create a directory to store your cross section data files

download the official data file into the newly created directory and expand the file with wget https://anl.box.com/shared/static/9igk353zpy8fn9ttvtrqgzvw1vtejoz6.xz

Hello James

Please see below the process I used to install openmc and upgrade to 0.11.0

Hope you find it useful

I am using a Windows 10 computer

The first stage is to download Microsoft Subsystem for Linux

Open PowerShell as Administrator and run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Restart your computer when prompted

Download the Linux distribution of your choice from Microsoft Store, I used Ubuntu 18.04

Create the user account

Install Anaconda for Linux
wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh

chmod a+rwx Anaconda3-2020.02-Linux-x86_64.sh

./Anaconda3-2020.02-Linux-x86_64.sh

then conda/python and associated packages are installed

restart the terminal

if you run conda install openmc, this would install the 0.10.0 version, the version that works with the openmc official data file at https://openmc.org/official-data-libraries/ is 0.11.0 So, we have to install version 0.11.0, but to do that, first install the version 0.10.0 and upgrade to 0.11.0

to do this,
conda config --set auto_activate_base false
conda config --add channels conda-forge
conda update -n base -c defaults conda
conda install openmc

create new environment
conda create --name opmc11 python=3.7
conda activate opmc11

conda install openmc=0.11.0

conda install jupyter notebook

I am not sure yet how to make the newly created environment permanent in .bashrc or profile.d

create a directory to store your cross section data files

download the official data file into the newly created directory and expand the file with wget https://anl.box.com/shared/static/9igk353zpy8fn9ttvtrqgzvw1vtejoz6.xz