Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: Update Spack Instructions #5587

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Docs/source/install/users.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,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 @@ -89,11 +89,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
Loading