You are on page 1of 1

****************************INSTALL CONDA********************************************

1 https://conda.io/docs/user-guide/install/linux.html
2 https://conda.io/docs/user-guide/install/macos.html

bash Miniconda3-latest-Linux-x86_64.sh

************************************INSTALL OPENMC*******************************************
1 https://openmc.readthedocs.io/en/stable/quickinstall.html

conda config --add channels conda-forge


conda install openmc
openmc --versions

*****************************DOWNLOAD CROSSSECTION************************************
1 https://openmc.readthedocs.io/en/stable/usersguide/cross_sections.html

openmc-get-nndc-data

If ipython if missing...........................

pip install ipython


openmc-get-nndc-data

*****************************CONFIGURE CROSSSECTION***********************************

sudo gedit .bashrc


sudo gedit .profile

Set the below commnad and save

export OPENMC_CROSS_SECTIONS=/home/yahyaalzah/nndc_hdf5/cross_sections.xml

exportOPENMC_CROSS_SECTIONS=/Users/ Yahyalzah/nndc_hdf5/cross_sections.xml

************EXTRA GUIDE****************
https://askubuntu.com/questions/730/how-do-i-set-environment-variables

************OPENMC EXAMPLE*************
1 https://github.com/mit-crpg/openmc
2 http://openmc.readthedocs.io/en/stable/usersguide/scripts.html#scripts-openmc

You might also like