DAGMC Module Not Found in Python After Docker Build with OpenMC and DAGMC Support

Hello,

I am using Docker to build and run OpenMC on a Windows 11 environment.

When building the image in the Dockerfile, I included DAGMC support with the following command:

docker build -t openmc_dagmc --build-arg build_dagmc=on .

After building the image, I checked the OpenMC version inside the Docker container using openmc -v, and it shows:

DAGMC support: yes

However, when I connect the Docker interpreter to Python and try to import dagmc, I get an error saying the dagmc module is not found. Additionally, when I check the installed modules, dagmc is not listed.

Is there a solution to this issue?

Hi there,

There is no DAGMC python module. With OpenMC, DAGMC is a software library that is used as part of the OpenMC executable.

Regards,
Paul