Sims 2.3.1 available via conda; 2.3.2 available via eups

(Scott Daniel) #1

There are new versions of the LSST Simulations stack available… If you are installing from source can get version 2.3.2 using

eups distrib install lsst_sims -t sims


eups distrib install lsst_sims -t sims_2_3_2

Note: when you do eups list, these versions will not appear listed as sims_2.3.2. They will appear as a something like 12.0-22-ugly-github-sha. This is because of a recent update to eups distrib that only causes it to recognize version numbers that begin with a number, but don’t worry, sims_2.3.2 is there.

If you are installing from conda, you can get version 2.3.1 from the channel via the usual conda install lsst-sims. Unfortunately, due to some technical difficulties with conda, you will not be able to update an already install LSST Simulations stack. You will need to create a clean environment and install the new stack into that environment. This can be done in conda via

conda create -n my_environment_name

Once that is done, you can enter the new environment with

source activate my_environment_name

You leave the environment with

source deactivate

To see a list of available environment, use

conda info --envs

The only user-facing difference between sims_2.3.1 and sims_2.3.2 is that sims_2.3.2 includes a fix to the MAF metric that measures the time between filter changes. You can install sims_2.3.1 from source using

eups distrib install lsst_sims -t sims_2_3_1

(JMatt Peterson) #2

When installing the conda version, this approach should work for most users.

conda config --add channels
conda create --name sims_2.3.1 python=2
source activate sims_2.3.1
conda install lsst-sims

To remove an environment entirely.

conda remove --name sims_2.3.1 --all

(Scott Daniel) #3

Note that a bug was discovered in sims_utils. The fix has been incorporated in sims version This will not affect the conda install (or anyone installing with eups distrib install lsst_sims -t sims, which now points to version Do not expect eups distrib install lsst_sims -t sims_2_3_2 to work, though. The correct version-specific eups distrib install command is eups distrib install lsst_sims -t sims_2_3_2_1.

Version was built against the w.2016.50 weekly DM tag.