Hi IbrahimDgreat,
You might want to try Shimwell’s suggestions, but if you want to use the typical Linux workflow, I think it would be better. some parts need to be done or checked.
You don’t need to make dual booting on your Windows machine because from Win 10 pro - Win 11 there is WSL (Windows subsystem Linux) which could give you the Linux terminal and its basic Linux environment. Their documentation can be read here
To use WSL, you are gonna need to turn on the Windows feature for WSL and virtual machine and follow the instructions for manual installation. Then you can start to set up the Linux environment from your administrator cmd (command prompt)
wsl --install #to install wsl
wsl --list --online #to see which linux distro available online. If you want to use Ubuntu, then
wsl --install -d Ubuntu # this will install Ubuntu to your windows
After that, you will have the Ubuntu terminal on your system. You will asked to make a username and super user password for your local Ubuntu profile. Then I recommend you to update and upgrade your Ubuntu, install some basic compiler
sudo apt update
sudo apt upgrade
sudo apt build-essential
After that step, you have a functional Ubuntu/Linux distribution environment ready to use. I think you just need to do this one time because after this steps you can find Ubuntu from your Windows search and open the terminal anytime.
You can also check it from your administrator cmd
wsl -l -v # to list the installed Linux distribution you have on your machine
There will be a new Linux icon at the left bottom of your Windows Explorer. That is the path to access your Linux side from your windows. On the other hand, if you want to go to your Windows side from Linux, you can access the Windows partition from the /mnt/
directory from Linux root. It will take time but practice makes perfect.
After that, you will need an editor that also connects to your Ubuntu side from WSL. I am using Visual Studio code since it has a good extension for WSL and it can directly connect to your Linux distribution after you install the WSL extension. Since there is a rich Python API in openmc, I recommend you install a Python extension from your Visual Studio code, and also the jupyter notebook extension. You can read some documentation about visual studio code online, like this one
Then the best part of it, getting the openmc.
I think you have visited this detailed installation documentation
https://docs.openmc.org/en/latest/usersguide/install.html#usersguide-build
All download options for Linux provided in the documentation should work perfectly on the Linux side, you will need to do that from your Linux/Ubuntu terminal. You can choose between the conda-mamba options, docker options, spack, or compiling from source.
If something happens during this steps, try to find the solution online from the error message shown in your Linux/Ubuntu terminal because sometimes the error shows up cause we forgot to install some dependency or prerequisites.
Like there is specific documentation to install conda from a Linux terminal
https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html
I am compiling my openmc from source and it was challenging, but a long time ago I tried conda and I think you can continue to install openmc from conda if you want to.
Copenhagen Atomics has made some videos to set up the openmc from docker, so you can read the documentation for openmc Docker and see how they do on their Linux distribution before you try to your installed Linux distribution. Because the workflow is quite similar between Linux distributions.
After that, you can check whether you have a fully operational openmc or not by
which openmc # to find the path to the binary openmc file
openmc --version # to know which version of openmc exists in your system
echo $OPENMC_CROSS_SECTIONS # to get the path to your nuclear data xsdir
You might want to test your openmc first, and I think this topic can help you