Hello,
I was wondering if someone could help me with the installation process for OpenMC.
I’m having issues compiling OpenMC from source with DAGMC, Libmesh, and MPI (the issue seems to be with DAGMC) - I will attach the terminal output from the make command.
Notes:
- I have modified CMakelists to switch ON the additional packages
- I have used cmake DCMAKE_PREFIX_PATH flag as instructed
- DAGMC should be installed corrected per their instruction (not 100% sure though)
- I’m installing on WSL 2 Ubuntu 22.04.5 LTS
- all other pre-requisites should be installed
For some reason, i cannot upload a .txt file (or anything as a new user here) so here is a dump of the terminal output where the error is:
/usr/include/c++/9/bits/stl_function.h:592:2: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/9/map:60,
from /home/dwt/dagmc_bld/DAGMC/include/DagMC.hpp:7,
from /home/dwt/openmc/include/openmc/particle_data.h:12,
from /home/dwt/openmc/include/openmc/particle.h:13,
from /home/dwt/openmc/include/openmc/bank.h:6,
from /home/dwt/openmc/src/bank.cpp:1:
/usr/include/c++/9/bits/stl_tree.h:1354:10: note: mismatched types ‘_Tp*’ and ‘std::__cxx11::basic_string’
1354 | if (!_M_impl._M_key_compare(_S_key(__x), __k))
make[2]: *** [CMakeFiles/libopenmc.dir/build.make:63: CMakeFiles/libopenmc.dir/src/bank.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:244: CMakeFiles/libopenmc.dir/all] Error 2
make: *** [Makefile:130: all] Error 2