Dear sir:
Today I tried to install openmc with clone github.First, I chose ubuntu18.03.
Then I installed Anaconda, the purpose is to have a python environment, choose Anaconda3 5.1.0 version.
Then install prerequisites are needed.So I enter this code"sudo apt install gfortran g++ cmake libhdf5-dev",and installed git.
Finally, I successfully installed openmc and entered the code.
git clone https://github.com/mit-crpg/openmc.git
cd openmc
mkdir build && cd build
cmake …
make
sudo make install
My question is coming. When I type openmc-get-nndc-data, I am prompted that openmc is not found. Therefore, the cross section library cannot be downloaded.
I unpacked the nndc package you gave me last time and filled in the cross sections of the xml file.
After running openmc, the prompt failed to find the cross sections.xml file, so the operation failed.
Should be a problem with python? How should I solve the current problem?
2.After encountering this problem, I did not delete openmc, I installed openmc with conda install openmc command.
After that, I can download the nndc database, and openmc can find the cross sections.xml file.
I really want to know how to solve the git method. After installing openmc, I can’t download the nndc database.
Thank you.
Best wishes.
Tang.