[0]MOAB ERROR: dagmc.h5m: File is not HDF5!

Hello! This is my first post on here and I am having some trouble getting OpenMC to run on my computer. I followed the instructions here using the Mamba and Conda-forge method. I am currently using OpenMC=0.14.0=dagmc_mpi_openmpi_py310hdacdb64_101 build, but seem to be having issues when I run my job. The output error is:

[0]MOAB ERROR: --------------------- Error Message ------------------------------------
[0]MOAB ERROR: dagmc.h5m: File is not HDF5!
[0]MOAB ERROR: set_up_read() line 449 in src/io/ReadHDF5.cpp
[0]MOAB ERROR: --------------------- Error Message ------------------------------------
[0]MOAB ERROR: NULL file handle.!
[0]MOAB ERROR: is_error() line 134 in src/io/ReadHDF5.hpp
[0]MOAB ERROR: --------------------- Error Message ------------------------------------
[0]MOAB ERROR: Failed to load file after trying all possible readers!
[0]MOAB ERROR: serial_load_file() line 588 in src/Core.cpp
[0]MOAB ERROR: load_file() line 471 in src/Core.cpp
Loading file dagmc.h5m
ERROR: DagMC Couldn't read file dagmc.h5m
Error message: Failed to load file after trying all possible readers
[0]MOAB ERROR: init_dagmc() line 131 in dagmc.cpp
[0]MOAB ERROR: --------------------- Error Message ------------------------------------
[0]MOAB ERROR: Failed to join the obb trees!
[0]MOAB ERROR: construct_obb_tree() line 491 in src/GeomTopoTool.cpp
[0]MOAB ERROR: --------------------- Error Message ------------------------------------
[0]MOAB ERROR: Failed to construct obb tree for volume!
[0]MOAB ERROR: construct_obb_trees() line 591 in src/GeomTopoTool.cpp
[0]MOAB ERROR: --------------------- Error Message ------------------------------------
[0]MOAB ERROR: Failed to build obb trees!
[0]MOAB ERROR: setup_obbs() line 204 in DagMC.cpp
[0]MOAB ERROR: --------------------- Error Message ------------------------------------
[0]MOAB ERROR: Failed to setup the OBBs!
[0]MOAB ERROR: init_OBBTree() line 685 in DagMC.cpp
[0]MOAB ERROR: init_dagmc() line 135 in dagmc.cpp

I have found a similar post with this issue here, but this differs slightly to my issue and I could not find a solution. I also do not know if I need to include this, but I am running OpenMC on an Intel Mac running Sonoma 14.5.

Any guidance would be greatly appreciated!

-Nik

Looks like the error is that the dagmc file is not a hdf5 file. Can you tell us how you made the dagmc referee to in the script

Thank you for the reply!

I should have also stated that I normally run jobs in a cluster at my university and the same dagmc.h5m file works in the same script when run remotely. This error only arises on my local install of OpenMC which I did via the Conda method.

In my actual job script I referred to the .h5m file as:

dagmc_univ = openmc.DAGMCUniverse(filename="/Users/Desktop/TEST/dagmc.h5m")

To create the dagmc.h5m file, I used the stl_to_h5m package.