Skip to content

Commit ceb172e

Browse files
authored
Doc: Update Spack Instructions (#5587)
Update the Spack instructions to reflect our early 2024 change to include the Python bindings as a variant of the `warpx` package and remove the `py-warpx` package. Close #5563
1 parent 4f0bc75 commit ceb172e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Docs/source/install/users.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Using the Spack Package
7979
-----------------------
8080

8181
Packages for WarpX are available via the `Spack <https://spack.readthedocs.io>`__ package manager.
82-
The package ``warpx`` installs executables and the package ``py-warpx`` includes Python bindings, i.e. `PICMI <https://github.com/picmi-standard/picmi>`_.
82+
The package ``warpx`` installs executables and the variant ``warpx +python`` also includes Python bindings, i.e. `PICMI <https://github.com/picmi-standard/picmi>`__.
8383

8484
.. code-block:: bash
8585
@@ -88,11 +88,11 @@ The package ``warpx`` installs executables and the package ``py-warpx`` includes
8888
spack buildcache keys --install --trust
8989
9090
# see `spack info py-warpx` for build options.
91-
# optional arguments: -mpi ^warpx dims=2 compute=cuda
92-
spack install py-warpx
93-
spack load py-warpx
91+
# optional arguments: -mpi compute=cuda
92+
spack install warpx +python
93+
spack load warpx +python
9494
95-
See ``spack info warpx`` or ``spack info py-warpx`` and `the official Spack tutorial <https://spack-tutorial.readthedocs.io>`__ for more information.
95+
See ``spack info warpx`` and `the official Spack tutorial <https://spack-tutorial.readthedocs.io>`__ for more information.
9696

9797

9898
.. _install-pypi:

0 commit comments

Comments
 (0)