You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Checking out branch python2 mentioned in main installation page.
* Git checkout python2 added to the HPC instructions as well.
* PyMultiNest Python2 compatible commit mentioned.
* Corrected Helios installation instruction to include GSL installation for both methods.
Copy file name to clipboardExpand all lines: docs/source/HPC_systems.rst
+32-11Lines changed: 32 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
HPC systems
4
4
================
5
5
6
-
The information provided in this page is for users who intend to work on High-Performance Computing (HPC) systems. These installation instructions are system-specific. X-PSI has already been used on different systems, for some of which, we provide the instructions below. This information may also be translated to other systems by users looking for guidance.
6
+
The information provided in this page is for users who intend to work on High-Performance Computing (HPC) systems, and want to use the Python 2.7 version of X-PSI. These installation instructions are system-specific. X-PSI has already been used on different systems, for some of which, we provide the instructions below. This information may also be translated to other systems by users looking for guidance.
7
7
8
8
9
9
Snellius (SURF)
@@ -163,7 +163,7 @@ Now you need the Python interface to MultiNest, starting from ``$HOME``:
163
163
cd~/pymultinest
164
164
python setup.py install --user
165
165
166
-
To test the installation of MultiNest and PyMultiNest on the login node:
166
+
If want to make sure that PyMultiNest is compatible with Python 2.7 version of X-PSI, you can e.g., checkout the following PyMultiNest commit: ``git checkout c8eba95``, before running the setup.py file. To test the installation of MultiNest and PyMultiNest on the login node:
167
167
168
168
.. code-block:: bash
169
169
@@ -191,6 +191,7 @@ To prepare X-PSI from ``$HOME``:
Copy file name to clipboardExpand all lines: docs/source/install.rst
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,14 @@ Python environment
24
24
X-PSI was developed in Python 2.7, and is in the process of being ported to Python 3.
25
25
Fortunately, there are several ways to create a virtual environment with a
26
26
different version of Python, without disrupting your Python ecosystem.
27
+
In this page, we present the installation procedure using Python 2.7.
28
+
To use Python 2.7 compatible X-PSI version, we need to switch from
29
+
the main branch to a branch called python2:
30
+
31
+
.. code-block:: bash
32
+
33
+
cd</path/to/xpsi>
34
+
git checkout python2
27
35
28
36
This section is divided into two subsections. We recommend that the user follow the instructions in the :ref:`basic_env` subsection to begin with. If faced with installation issues, the user may refer to the :ref:`diagnosis_env` subsection.
29
37
@@ -118,7 +126,7 @@ Dependencies
118
126
Python dependencies
119
127
^^^^^^^^^^^^^^^^^^^
120
128
121
-
The following Python packages are required for nested sampling:
129
+
The following Python packages are required for nested sampling (see below how to install PyMultiNest and mpi4py from source):
.. [#] The version of nestcheck_ currently compatible with X-PSI, and used in
182
190
`Riley et al. (2019) <https://ui.adsabs.harvard.edu/abs/2019ApJ...887L..21R/abstract>`_, is v0.2.0.
183
-
It may be cloned as follows:
191
+
It may be cloned as follows:
184
192
185
193
.. code-block:: bash
186
194
@@ -311,7 +319,7 @@ The package will be installed in your Conda environment (if activated).
311
319
312
320
.. note::
313
321
314
-
Here we clone the PyMultiNest repository. However, for `Riley et al. (2019) <https://ui.adsabs.harvard.edu/abs/2019ApJ...887L..21R/abstract>`_,
322
+
Here we clone the latest PyMultiNest repository. However, to make sure that PyMultiNest is compatible with Python 2.7 version of X-PSI, you can e.g., checkout the following PyMultiNest commit: ``git checkout c8eba95``, before running the setup.py file. For `Riley et al. (2019) <https://ui.adsabs.harvard.edu/abs/2019ApJ...887L..21R/abstract>`_,
315
323
working with X-PSI ``v0.1``, we used the repository as frozen in a *fork*.
0 commit comments