How can I enable the DAGMC feature in OpenMC while running it using Docker?The error page screenshot is shown below.Any help is appreciated,thank you.
Just saw this post and i think this was also asked on one of my github repos but I think this is a better place for the answer
The options are to compile openmc with dagmc enabled. See the openmc install fro source instructions 2. Installation and Configuration — OpenMC Documentation
Or to install openmc via conda (if you have conda in your docker image) and ensure that a dagmc containing version is installed with something like this
conda install -y -c conda-forge "openmc=dagmc*"
To learn more about compiling openmc inside docker you could look at the openmc docker image which has options for building with or without dagmc
You can also download a prebuilt docker image from dockerhub that contains dagmc
https://hub.docker.com/r/openmc/openmc/tags.
Naturally you can also extend these prebuilt docker images by usong them as a base docker image with the FROM keyword in a new dockerfile.
Thank you for your assistance! My issue has been resolved. Then I encountered a new error like this:
Looks like the error message is letting you know that materials need providing for each dagmc material tag.
When making an openmc.Material() you can set the name to equal the dagmc material tags.