Skip to content

Latest commit

 

History

History
26 lines (26 loc) · 2.01 KB

cyclus_install.md

File metadata and controls

26 lines (26 loc) · 2.01 KB
  1. Go to your arfc folder and clone the repos
    1. git clone [email protected]:cyclus/cyclus.git
    2. git clone [email protected]:cyclus/cycamore.git
    3. git clone [email protected]:cyclus/cymetric.git
    4. git remote add nathan [email protected]:nsryan2/cycamore.git
    5. git remote add nathan [email protected]:nsryan2/cymetric.git
    6. git remote add nathan [email protected]:nsryan2/cyclus.git
  2. Make a conda environment called Cyclus
    1. echo 'export PATH="~/anaconda/bin:$PATH"' >> ~/.bashrc
    2. source ~/.bashrc
    3. conda config --add channels conda-forge
    4. conda create -n cyclus python=3.11.9
    5. conda activate cyclus
    6. conda install -y openssh gxx_linux-64 gcc_linux-64 cmake make docker-pycreds git xo python-json-logger glibmm glib=2.80.2 libxml2 libxmlpp libxmlpp-4.0 libblas libcblas liblapack pkg-config coincbc=2.9 boost-cpp hdf5 sqlite pcre gettext bzip2 xz setuptools nose pytables pandas jinja2 cython==0.26 websockets pprintpp
  3. Follow the installation guides for each
    1. Cyclus
    2. cycamore
    3. cymetric
  4. Build the docker image:
    1. Start the docker deamon (sudo launchctl start docker for mac and sudo systemctl start docker for linux)
    2. Build the dependencies docker build -t cyclus-local -f docker/cyclus-deps/Dockerfile .
    3. Build the install image docker build -t cyclus-local-install -f docker/cyclus-ci/Dockerfile . Don’t tag the dependency and actual images the same thing (that’s what the -t does)
  5. Run the docker image docker run -it cyclus-local-install /bin/bash
  6. Install auto tag complete
  7. Run cyclus -a to see which archeytypes are installed.