Skip to content

Commit

Permalink
Doc: Update Spack Instructions (#5587)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ax3l authored Jan 29, 2025
1 parent 4f0bc75 commit ceb172e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Docs/source/install/users.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Using the Spack Package
-----------------------

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

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


.. _install-pypi:
Expand Down

0 comments on commit ceb172e

Please sign in to comment.