Hello!
I am currently working on installing OpenMC for the use in an Apptainer SIF file. I already have OpenMC 0.14.0 working perfectly on my macbook (m2 max, sonoma 14.2). But I cannot seem to get the installation to work in my SIF file.
I use Lima as a virtual machine for running apptainer as a shell and building the SIF file in a virtual environment.
I try to run in Fedora39 for the SIF file build and use dnf for all the installation of the packages.
In install all the dependencies listed on the quick install page and some of the optionals listed on the detailed installation page. The installed packages are:
libpng-devel, hdf5-devel, cmake, xtensor, mpich, openmpi, libtool, gcc, clang, fmt, gsl, automake, kernel-devel, python-devel, python3-pip, python3-h5py I also run dnf groupinstall -y “Development Tools” “Development Libraries”
I might have forgotten to list some and some are overlapping, but I have been trying different things to no avail.
The installation issues first appear when I run the build itself and it does install OpenMC, but some functionality is missing and it causes crashes at runtime.
It seems that at least that these cause issues during build tome:
cmfd_solver.cpp.o, distribution_energy.cpp.o, material.cpp.o, nuclide.cpp.o, photon.cpp.o, secondary_correlated.cpp.o, secondary_kalbach.cpp.o, trigger.cpp.o, volume_calc.cpp.o, wmp.cpp.o
I am wondering if these are known issues and can be fixed by upgrading a package or such or if it is an issue with apptainer and the SIF file format. Help is much appreciated.
Further info is also available.
Appending a terminal readout of the terminal at OpenMC build time.