Skip to content
This repository was archived by the owner on Dec 28, 2024. It is now read-only.

About

scripts and documentation on bootstrapping a SO software environment in SO:UK.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

110 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

so-software-environment

scripts and documentation on bootstrapping a SO software environment in SO:UK.

Creating SO software stack using conda

This is the recommended method if you are developing on your machine. For simons1, soukdev1, Blackett, SDSC, or NERSC, see relevant sections in SO wiki or talk to respective people in loading maintained SO software environments.

  1. install conda/mamba first

  2. install SO environment: before you begin, you may want to edit examples/so.yml manually if you want to choose a different version of toast or sotodlib for example.

    • create new environment:

      • using conda:

        # you may need to activate the base environment first if you haven't done so.
        conda activate
        # or
        . activate
        # then
        conda env create -f examples/so.yml
        conda activate so-310
        python -m ipykernel install --user --name so-310 --display-name so-310
      • using mamba:

        # you may need to activate the base environment first if you haven't done so.
        conda activate
        # or
        . activate
        # then
        mamba env create -f examples/so.yml
        conda activate so-310
        python -m ipykernel install --user --name so-310 --display-name so-310
    • update existing environment:

      • using conda: conda env update --name so-310 --file examples/so.yml --prune

      • using mamba: mamba env update --name so-310 --file examples/so.yml --prune

  3. (optional) install & development: here we use sotodlib as an example:

    # go to some directory that you want to put the git repo first
    git clone git@github.com:simonsobs/sotodlib.git
    # change branch or tag if you need
    # pip install -e .
  4. running TOAST test to ensure your installation works:

    python -c 'import toast.tests; toast.tests.run()'

About

scripts and documentation on bootstrapping a SO software environment in SO:UK.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages