# Having problem while downloading OpenMC with Anaconda after successful download of conda, mamba, & mamba install OpenMC but still can't proceed to "install OpenMC" having error message saying: " OpenMC does not exist" what should I do?

**URL:** <https://openmc.discourse.group/t/having-problem-while-downloading-openmc-with-anaconda-after-successful-download-of-conda-mamba-mamba-install-openmc-but-still-cant-proceed-to-install-openmc-having-error-message-saying-openmc-does-not-exist-what-should-i-do/4681>\
**Category:** User Support\
**Created:** [August 13, 2024, 6:47pm UTC](https://openmc.discourse.group/t/having-problem-while-downloading-openmc-with-anaconda-after-successful-download-of-conda-mamba-mamba-install-openmc-but-still-cant-proceed-to-install-openmc-having-error-message-saying-openmc-does-not-exist-what-should-i-do/4681 "2024-08-13T18:47:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![IbrahimDgreat](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/ibrahimdgreat/32/3454_2.png) [@IbrahimDgreat](https://openmc.discourse.group/u/IbrahimDgreat)\
**Post date:** [August 13, 2024, 6:47pm UTC](https://openmc.discourse.group/t/having-problem-while-downloading-openmc-with-anaconda-after-successful-download-of-conda-mamba-mamba-install-openmc-but-still-cant-proceed-to-install-openmc-having-error-message-saying-openmc-does-not-exist-what-should-i-do/4681/1 "2024-08-13T18:47:50Z")

</div>

![IMG_20240813_163309_95](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/7/7fddf6f4181375f76b0c53b9324ebeaeda2b4359.jpeg)  
 ![IMG_20240813_162807_474](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/f/f0c3806ea53b10a78f221e6bbdfdc578015a4e42.jpeg)

---

<div class="post-metadata">

**Author:** ![Shimwell](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/shimwell/32/3876_2.png) [@Shimwell](https://openmc.discourse.group/u/Shimwell)\
**Post date:** [August 13, 2024, 7:36pm UTC](https://openmc.discourse.group/t/having-problem-while-downloading-openmc-with-anaconda-after-successful-download-of-conda-mamba-mamba-install-openmc-but-still-cant-proceed-to-install-openmc-having-error-message-saying-openmc-does-not-exist-what-should-i-do/4681/2 "2024-08-13T19:36:30Z")

</div>

This looks like you are trying to install openmc on a windows OS. There is an effort to make openmc available for windows but currently it is not nerged into the main branch. Here is the pull request if you want to try it out

> <https://github.com/openmc-dev/openmc/pull/2919>
>
> \# Description
> 
> This PR is an initial attempt to adding native Windows support …to OpenMC. With these modifications, I have been able to compile vanilla OpenMC on Windows, using both MSVC (19.38) and the Intel compilers. I have made this a draft PR for the moment due to the following changes / restrictions.
> 
> \* I found that the version of xtensor we are using in the submodules has a memory bug on Windows. For the time being, I have simply commented out loading the xtensor submodule directories, and currently get more recent versions with FetchContent. ~~If we want to merge this, we will need update the submodule (or move to FetchContent ??)~~ (see #2941).
> 
> \* In general, I was able to get most of the Python API to work, with the exception of the cythonized bits like resonance reconstruction and fast ENDF floating point conversion. For now, I have simply disabled them on Windows. Otherwise, it seems to work just fine ? I was able to run the pin cell depletion example problem from Python.
> 
> \* With Intel compilers, OpenMP parallelism works fine. With MSVC, an experimental flag needs to be added: \`/openmp:llvm\`. With this, MSVC builds it in parallel, and it seems to work. This experimental OMP support on Windows does not like the \`#pragma omp atomic write seq\_cst\` we have in \`SharedArray\`, so I have added compilation guards to use a simple \`#pragma omp atomic write\` when using MSVC. In theory, this could open us up to a race condition here, but I haven't observed any problems with this yet (and in any case, using Intel avoid this problem).
> 
> \* Many of the tests are failing on Windows. I have not been able to figure out why this is, however, as I can barely even get the tests to pass on my linux machine half the time. The results which I have obtained thus far seem to be in agreement with what I would expect. I am not sure to what extent some tests might be failing due to differences in Python dependencies on Windows ?
> 
> I am very open to suggestions on how to tackle the remaining problems ! I am definitely not a Windows developer, and have yet to find/understand good tools to properly examine this on Windows. For example, it will almost always crash in Debug mode because we apparently do some bad things with iterators in some spots. If you compile in Release mode, these do not pose a problem. Please feel free to test it out on a Windows machine and find all the bugs I have probably missed ! For now, I am not building HDF5 myself, but simply download and install the pre-built binaries from the HDF5 website.
> 
> Fixes #1243
> 
> \# Checklist
> 
> \- \[\] I have performed a self-review of my own code
> \- \[\] I have run \[clang-format\](https://docs.openmc.org/en/latest/devguide/styleguide.html#automatic-formatting) (version 15) on any C++ source files (if applicable)
> \- \[\] I have followed the \[style guidelines\](https://docs.openmc.org/en/latest/devguide/styleguide.html#python) for Python source files (if applicable)
> \- \[\] I have made corresponding changes to the documentation (if applicable)
> \- \[\] I have added tests that prove my fix is effective or that my feature works (if applicable)
> \<!--
> While tests will automatically be checked by CI, it is good practice to
> ensure that they pass locally first. See instructions here:
> https://docs.openmc.org/en/latest/devguide/tests.html
> \--\>

---

<div class="post-metadata">

**Author:** ![wahidluthfi](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/wahidluthfi/32/3375_2.png) [@wahidluthfi](https://openmc.discourse.group/u/wahidluthfi)\
**Post date:** [August 14, 2024, 12:08am UTC](https://openmc.discourse.group/t/having-problem-while-downloading-openmc-with-anaconda-after-successful-download-of-conda-mamba-mamba-install-openmc-but-still-cant-proceed-to-install-openmc-having-error-message-saying-openmc-does-not-exist-what-should-i-do/4681/3 "2024-08-14T00:08:35Z")

</div>

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

> **[Install WSL](https://learn.microsoft.com/en-us/windows/wsl/install)**
>
> Install Windows Subsystem for Linux with the command, wsl --install. Use a Bash terminal on your Windows machine run by your preferred Linux distribution - Ubuntu, Debian, SUSE, Kali, Fedora, Pengwin, Alpine, and more are available.

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)

```auto
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

```auto
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

```auto
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

> **[Developing in the Windows Subsystem for Linux with Visual Studio Code](https://code.visualstudio.com/docs/remote/wsl)**
>
> Using Visual Studio Code Remote Development with the Windows Subsystem for Linux (WSL)

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](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](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.

[![](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/6/61d76580119059728024727aac8e8a77a0bc10a6.jpeg "OpenMC Tutorial | Build, install & run nuclear simulations") ](https://www.youtube.com/watch?v=sCDT5ZAeJcY)

After that, you can check whether you have a fully operational openmc or not by

```auto
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

> [@How to run OpenMC](https://openmc.discourse.group/t/how-to-run-openmc/4679/2):
>
> Hi Birsen, welcome to the community. I am not a docker user, but I am using openmc from WSL Windows and compiling it from the source. I think there are some tutorials on YouTube, one from Copenhagen Atomics that give a glimpse into how to use Docker on WSL and do neutronic calculations from it. If you have successfully set the openmc environment, you can check your openmc version by using this command from the Linux terminal. openmc --version Next, you need to check the nuclear data library …

---

<div class="post-metadata">

**Author:** ![MATinTC](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@MATinTC](https://openmc.discourse.group/u/MATinTC)\
**Post date:** [October 7, 2024, 11:37am UTC](https://openmc.discourse.group/t/having-problem-while-downloading-openmc-with-anaconda-after-successful-download-of-conda-mamba-mamba-install-openmc-but-still-cant-proceed-to-install-openmc-having-error-message-saying-openmc-does-not-exist-what-should-i-do/4681/4 "2024-10-07T11:37:03Z")

</div>

Greetings, sorry for using this old thread but it is similar to a problem I have.  
After trying to install from source in WSL without success I tried using conda forge and mamba to install openmc and it seemed to get installed properly, but when I try to run it, or check version for it, I get the following error, which googling doesn’t show me anything helpful. I include one screenshot in this message and another in the following message ( the error is too large for one screenshot )

 ![Captura de pantalla 2024-10-07 133602](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/f/ff0d890072668ccb6c1821b135272d4d7ce9c07a.png)

---

<div class="post-metadata">

**Author:** ![MATinTC](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@MATinTC](https://openmc.discourse.group/u/MATinTC)\
**Post date:** [October 7, 2024, 11:37am UTC](https://openmc.discourse.group/t/having-problem-while-downloading-openmc-with-anaconda-after-successful-download-of-conda-mamba-mamba-install-openmc-but-still-cant-proceed-to-install-openmc-having-error-message-saying-openmc-does-not-exist-what-should-i-do/4681/5 "2024-10-07T11:37:25Z")

</div>

![Captura de pantalla 2024-10-07 133627](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/0/0b4d78164b72803466c2575199785acc9df71802.png)  
The second part of the error.

---

<div class="post-metadata">

**Author:** ![wahidluthfi](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/wahidluthfi/32/3375_2.png) [@wahidluthfi](https://openmc.discourse.group/u/wahidluthfi)\
**Post date:** [October 7, 2024, 12:51pm UTC](https://openmc.discourse.group/t/having-problem-while-downloading-openmc-with-anaconda-after-successful-download-of-conda-mamba-mamba-install-openmc-but-still-cant-proceed-to-install-openmc-having-error-message-saying-openmc-does-not-exist-what-should-i-do/4681/6 "2024-10-07T12:51:55Z")

</div>

Hi MATinTC, Welcome to openmc community.  
Sorry that you didn’t successfully compile your openmc from source. May I know which part of the openmc building process that didn’t success? Was it during `make` process? What is the error pop up on your screen? Maybe other members has also encounter similar error and know the solution.

I am regularly using openmc from WSL and compile from the source, and the last time I tried conda is on other PC of my colleagues, but it is a long time ago with version 0.14.0. I am only follow the instructions at the documentation and somehow it works. So I don’t have any experience with the recent version of openmc. Have you tried to install other version of openmc?

I think `mamba search openmc` will show the all versions of OpenMC that are available on the conda-forge channel.

But I am also seeing the `core dumped` error which might come from other error in your input.  
You might want to try to run a simple input from example folder just to make sure that the openmc has been installed successfully.

---

<div class="post-metadata">

**Author:** ![MATinTC](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@MATinTC](https://openmc.discourse.group/u/MATinTC)\
**Post date:** [October 7, 2024, 1:34pm UTC](https://openmc.discourse.group/t/having-problem-while-downloading-openmc-with-anaconda-after-successful-download-of-conda-mamba-mamba-install-openmc-but-still-cant-proceed-to-install-openmc-having-error-message-saying-openmc-does-not-exist-what-should-i-do/4681/7 "2024-10-07T13:34:30Z")

</div>

Thanks for the response, I see that openmc is not installed properly, may I ask how to re install it properly or how to fix it?

---

<div class="post-metadata">

**Author:** ![wahidluthfi](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/wahidluthfi/32/3375_2.png) [@wahidluthfi](https://openmc.discourse.group/u/wahidluthfi)\
**Post date:** [October 7, 2024, 9:39pm UTC](https://openmc.discourse.group/t/having-problem-while-downloading-openmc-with-anaconda-after-successful-download-of-conda-mamba-mamba-install-openmc-but-still-cant-proceed-to-install-openmc-having-error-message-saying-openmc-does-not-exist-what-should-i-do/4681/8 "2024-10-07T21:39:58Z")

</div>

I think it will depend on the state of your current installation process. Are you trying to use WSL and compile from source?  
Have you prepared the all [Prerequisites](https://docs.openmc.org/en/stable/usersguide/install.html#prerequisites) needed by openmc? Most of it can be installed when you install build-essential `sudo apt install build-essential` but you can install it separately using sudo apt install.  
Have you configured your openmc `cmake ..` successfully? There are various options on configuring openmc as shown in the documentation.

---

<div class="post-metadata">

**Author:** ![MATinTC](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@MATinTC](https://openmc.discourse.group/u/MATinTC)\
**Post date:** [October 7, 2024, 10:59pm UTC](https://openmc.discourse.group/t/having-problem-while-downloading-openmc-with-anaconda-after-successful-download-of-conda-mamba-mamba-install-openmc-but-still-cant-proceed-to-install-openmc-having-error-message-saying-openmc-does-not-exist-what-should-i-do/4681/9 "2024-10-07T22:59:15Z")

</div>

I am installing it using wsl and conda (mini forge in this case), not installing it from source

---

<div class="post-metadata">

**Author:** ![wahidluthfi](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/wahidluthfi/32/3375_2.png) [@wahidluthfi](https://openmc.discourse.group/u/wahidluthfi)\
**Post date:** [October 7, 2024, 11:13pm UTC](https://openmc.discourse.group/t/having-problem-while-downloading-openmc-with-anaconda-after-successful-download-of-conda-mamba-mamba-install-openmc-but-still-cant-proceed-to-install-openmc-having-error-message-saying-openmc-does-not-exist-what-should-i-do/4681/10 "2024-10-07T23:13:11Z")

</div>

Sorry, I have not much experience with conda installation, So I think I only recommended you to follow the instructions \>\> [Installing on Linux/Mac with Mamba and conda-forge](https://docs.openmc.org/en/stable/usersguide/install.html#installing-on-linux-mac-with-mamba-and-conda-forge)  
Disclaimer: I am using [miniconda](https://docs.anaconda.com/miniconda/) at that time and not using other conda installation, so I have no experience with other installation methods.

Have you add conda-forge to your conda channel? openmc can be installed via the conda-forge channel with mamba.  
`conda config --add channels conda-forge`

Since conda create dedicated openmc environment `openmc-env`, then if you think something is not work properly, you could (at last) delete this environment and start again following the instructions.

```auto
conda env list
conda deactivate # to deactivate current env 
conda remove --name openmc_env --all # if openmc_env is your openmc environment name

```

Also make sure that your new openmc environment use python 3.10+ version because the latest openmc version supports Python 3.10+.

> [@Release of OpenMC 0.15.0](https://openmc.discourse.group/t/release-of-openmc-0-15-0/4440/6):
>
> The latest release (and current developmental branch) supports Python 3.10+. This is now specified in pyproject.toml:
