Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
cphyc committed Aug 30, 2023
1 parent ce41fc3 commit 5041cd5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions doc/source/Installation.rst
Expand Up @@ -49,10 +49,11 @@ Installing with Rockstar support
Rockstar support requires ``yt_astro_analysis`` to be installed from source.
Before that, the ``rockstar-galaxies`` code must also be installed.

Using ``conda``
^^^^^^^^^^^^^^^
Installing ``rockstar-galaxies`` through ``conda``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

If you are using ``conda`` to manage packages, you can install ``rockstar-galaxies`` as follows

.. code-block:: bash
$ conda install -c conda-forge rockstar-galaxies
Expand All @@ -64,8 +65,8 @@ Then, go into the ``yt_astro_analysis`` source directory and install it.
$ cd yt_astro_analysis
$ pip install -e .
Building ``rockstar-galaxies`` from source
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Installing ``rockstar-galaxies`` from source
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Alternatively, you can install ``rockstar-galaxies`` from source. Two
recommended repositories exist for installing ``rockstar-galaxies``,
Expand Down Expand Up @@ -99,6 +100,8 @@ the location of ``librockstar-galaxies.so`` is in your LD_LIBRARY_PATH.
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<path_to_rockstar>
Note about ``rockstar-galaxies`` version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. warning:: If using the conda version or building from source with `Peter Behroozi's repository
<https://bitbucket.org/pbehroozi/rockstar-galaxies/>`__, the following
Expand Down

0 comments on commit 5041cd5

Please sign in to comment.