Installation on ubuntu 22.04 LTS

Hello. I am new here. I unable to install openmc on ubuntu 22.04 LTS. I have followed the steps mentioned in the quick installation guide. But I was unable to install. Can someone please help me out?

Hi, try this :
git clone --recurse-submodules GitHub - openmc-dev/openmc: OpenMC Monte Carlo Code
d openmc
mkdir build && cd build
d build/
cmake …
make -j 4
make install
d …
pip install .
d …
wget https://anl.box.com/shared/static/9igk353zpy8fn9ttvtrqgzvw1vtejoz6.xz
tar -xvf 9igk353zpy8fn9ttvtrqgzvw1vtejoz6.xz
export OPENMC_CROSS_SECTIONS=‘here put pwd’/endfb-vii.1-hdf5/cross_sections.xml

1 Like

I have experienced in using WSL. To install OpenMC using Ubuntu 22.04, follow the steps to install OpenMC on Linux as mentioned on Quick Install Guide — OpenMC Documentation. But as you need to have conda preinstalled, you can refer How To Install the Anaconda Python Distribution on Ubuntu 22.04 | DigitalOcean. Perform this steps on the Ubuntu Terminal.

Hope this would help.

1 Like