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
* reactivate status badge and fix minor issues in readme.md
* Update and rename README.rst to README.md
Highlighting and formatting ist done by markdown (MD) instead of ReStructuredText (RST).
* Change enumeration
* Rename README.rst to README.MD in setup.py
A recent version of MPI and a compatible version of mpi4py are needed.
20
18
21
19
Here are two methods that seem to work well for installation, at least when considering non-HPC platforms.
22
20
23
-
#. Install OpenMPI and mpi4py using conda.
24
-
25
-
* ``conda install openmpi; conda install mpi4py`` (in that order)
26
-
27
-
#. If you already have an existing version of MPI, it may be better compile mpi4py against it. This can be done by installing mpi4py though pip.
28
-
29
-
* ``pip install mpi4py``
30
-
31
-
#. It is also possible to automate mpi4py installation through pip as an optional dependency when installing mpi-sppy from pip or from source by adding the `[mpi]` extras flag.
32
-
33
-
* ``pip install -e .[mpi]`` (after cloning and moving to the repo root directory)
34
-
35
-
To test
36
-
your installation, cd to the directory where you installed mpi-sppy
21
+
1. Install OpenMPI and mpi4py using conda. Keep the order.
22
+
```
23
+
conda install openmpi
24
+
conda install mpi4py
25
+
```
26
+
2. If you already have an existing version of MPI, it may be better compile mpi4py against it.
27
+
This can be done by installing mpi4py though pip.
28
+
```
29
+
pip install mpi4py
30
+
```
31
+
3. It is also possible to automate mpi4py installation through pip as an optional dependency when
32
+
installing mpi-sppy from pip or from source by adding the `[mpi]` extras flag.
33
+
```shell
34
+
pip install -e .[mpi]
35
+
```
36
+
Run the line aborve after cloning and moving to the repo root directory.
37
+
38
+
To test your installation, cd to the directory where you installed mpi-sppy
37
39
(it is called ``mpi-sppy``) and then give this command.
If you don't see any error messages, you might have an MPI
42
46
installation that will work well. Note that even if there is
@@ -45,30 +49,29 @@ results. Per the comment below, the run-times may just be
45
49
unnecessarily inflated.
46
50
47
51
Installing mpi-sppy
48
-
^^^^^^^^^^^^^^^^^^^
52
+
-------------------
49
53
50
54
It is possible to pip install mpi-sppy; however, most users are better off
51
-
getting the software from github because it is under active development.
55
+
getting the software from Github because it is under active development.
52
56
53
57
Citing mpi-sppy
54
-
^^^^^^^^^^^^^^^
55
-
If you find mpi-sppy useful in your work, we kindly request that you cite the following `paper <https://link.springer.com/article/10.1007/s12532-023-00247-3>`_:
56
-
57
-
::
58
-
59
-
@article{mpi-sppy,
60
-
title={A Parallel Hub-and-Spoke System for Large-Scale Scenario-Based Optimization Under Uncertainty},
61
-
author={Bernard Knueven and David Mildebrath and Christopher Muir and John D Siirola and Jean-Paul Watson and David L Woodruff},
62
-
journal = {Math. Prog. Comp.},
63
-
volume = {15},
64
-
pages = {591-–619},
65
-
year={2023}
66
-
}
67
-
68
-
58
+
---------------
59
+
If you find mpi-sppy useful in your work, we kindly request that you cite the following
0 commit comments