I am trying to install openMC on Manjaro through the terminal, as instructed by the openmc tutorial by Copenhagen Atomics ( https://youtu.be/sCDT5ZAeJcY?si=GwApix-8RGlTcHgu ). I am able to get to the package selection line, but hitting “all” locks me into a display of green (comment?) text, and hitting none or enter+enter starts an installation that ultimately fails because of the following errors:
- one or more files did not pass the validity check
- could not find the fakeroot library
- could not resolve all dependencies
it then gives me error statuses 15 and 8 and exits
1- if you don’t post the output terminal is hard to help you.
2- you should take a look if someone else did this question, because another guy already post the same of you, the day before you.
3- here a easy solution for you: don’t compile from source, use the conda way to install alredy compilled. (But you shoud read the OpenMC docs anyway: Quick Install Guide — OpenMC Documentation )
paru -S nuclear-data miniconda3
echo """
#MiniConda
[ -f /opt/miniconda3/etc/profile.d/conda.sh ] && source /opt/miniconda3/etc/profile.d/conda.sh
export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1
#OpenMC Cross Sections
var=`echo /opt/nuclear-data/*hdf5 | head -n1`
export OPENMC_CROSS_SECTIONS=$var/cross_sections.xml
""" >> ~/.bashrc
source /opt/miniconda3/etc/profile.d/conda.sh
conda config --add channels conda-forge
conda create -n openmc-env openmc[version=0.14.0,build=nompi_py312hecd8f91_1]
This will install the miniconda3 aur package, use conda to create a envrolviment and install openmc in this envrolviment.
So every time you want to user openmc, you should activate this envrolvment after open the terminal:
conda activate openmc-env
If you don’t wanna this command every time after open the terminal, put on .bashrc:
echo "conda activate openmc-env" >> ~/.bashrc
You can figure out another versions of OpenMC with the command:
conda search openmc
Recently they release the 0.15.0 version.
Today this version is not on conda yet, but you can check it later and install new version when you want. For now you can start to use the 0.14.0 version.