Installation¶
Prerequisites¶
Currently, phrosty is designed inside a container built from the the Roman Supernova PIT environment defined at https://github.com/Roman-Supernova-PIT/environment .
You can pull the necessary container from one of the following two sources:
registry.nersc.gov/m4385/rknop/roman-snpit-env:cuda-dev
docker.io/rknop/roman-snpit-env:cuda-dev
Because phrosty (and other libraries it depends on, such as snappl) is under heavy development, it’s possible that the latest container will not work properly with phrosty at any given moment.
Running the SNPIT container¶
TODO.
Stable release¶
(NOTE: this is not currently supported, we don’t have up-to-date pip releases.)
To install phrosty, run this command in your terminal:
$ pip install phrosty
This is the preferred method to install phrosty, as it will always install the most recent stable release.
If you don’t have pip installed, this Python installation guide can guide you through the process.
From sources¶
The sources for phrosty can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git@github.com:Roman-Supernova-PIT/phrosty.git
Or download the tarball:
$ curl -OJL https://github.com/Roman-Supernova-PIT/phrosty/tarball/master
Once you have a copy of the source, you can install it with:
$ pip install .
If you would like to do an editable install:
$ pip install -e .
$ pip install -e .[docs] # install document build packages during install