As of now, ONIX can only be installed from source.
Installing from source for Linux and Mac¶
In order to use ONIX coupled with OpenMC, it is necessary to first install OpenMC on your computer. Please refer to OpenMC documentation to install OpenMC
There is only one python dependency that is probably not installed on your computer that ONIX needs, the module Networkx
To install Networkx, type the following:
pip install networkx
Now we need to clone ONIX repository. You should go directly to the GitHub repository to get the latest version of ONIX
git clone https://github.com/jlanversin/ONIX.git git checkout master
Finally, navigate into ONIX folder and install ONIX on your computer:
cd ONIX pip install .