Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The recommended install instructions will provide these dependencies for you through an Anaconda distribution.  

Binary Installation (using conda)
Anchor
Binary Installation
Binary Installation

1) Install the Anaconda Scientific Python Distribution (or the stripped-down Miniconda, for a quicker install).  

...

Code Block
conda config --add channels http://eupsforgeconda.lsst.netcodes/conda/devsims

3) Install the desired sims packages

...

Code Block
conda update lsst-sims

Installing from Source

Anchor
Installation
Installation

...

In these instructions we assume you are installing in ~/lsst, however the install directory can be any place in the file system, including a place visible to all users.  To install in another location, replace ~/lsst with the desired path in the following instructions.  For multi user stacks, permissions are typically restricted to read only for the main stack so packages are not accidentally installed in the main stack.

...

languagetext

...

For the basic install, please follow the directions here: https://

...

pipelines.

...

lsst.

...

io/

...

install/newinstall.

...

Choose yes when prompted to install Anaconda (the recommended approach).  Choose yes when prompted to install git**.   These packages will not interfere with your system installed versions. This step will download about 1 GB of files to your machine and usually takes less than 15 minutes. 

** Only choose 'yes' to install git if your current version is prior to git 1.7 or you have curl-devel installed on your systemhtml up to step 4 (stop after step 3), unless you want to install lsst_apps as well.

 2. Set up the environment and install the simulations code and data.

...

  • If you have issues with installation, first check that your system meets the minimum requirements listed here: LSST software user guide prerequisites.
  • If you are having issues specifically with pyephem or healpy on a Mac, check for the existence of a /Developer directory. This is obsolete after upgrading to newer versions of XCode, but not removed by the XCode installer. Rename the /Developer directory and pyephem will install. 
  • If you are using your own python, be sure to check the Using Your Own Python page.
  • If you are using your own anaconda python, be sure it is not installed in /anaconda (install somewhere like your home directory instead).  This should be fixed in a new release soon.
  • On a Mac, make sure you have accepted the terms on XCode.  You can do this by opening the Xcode.app (should be in your Applications folder).
  • git can fail, complaining about not having an https helper.  If your native git version is > 1.7, you can probably use that rather than the LSST installed git.
  • If all else fails, it's usually an issue with some environment variables interfering with the installation.  You can create a new user  and install the stack there.  You can quickly login/out of a new user account as follows:  First make a new admin-level user in System Preferences->Users and Groups, and then click on your name in the top right hand corner of the screen. A drop-down menu should appear, offering you a choice of other users to log in as. You might have to toggle the check box in System Preferences->Users and Groups->Login Options first though.

Mixing Installed Stack with Development Repositories

If you are going beyond simply using software packages provided by LSST and need a direct git clone of a particular repository (because you wish to contribute development work directly back into repository or because a new feature is available but has not been released officially yet), you can mix an installed stack with development repositories. For pure python packages, this is straightforward.  The following steps will put a local copy of the sims_maf git repository into a pre-existing stack.   **Note you do not have to do this just to install and use any sims package, such as MAF.

...