aboutsummaryrefslogtreecommitdiff
path: root/Docs/source/building
diff options
context:
space:
mode:
Diffstat (limited to 'Docs/source/building')
-rw-r--r--Docs/source/building/building.rst2
-rw-r--r--Docs/source/building/gpu_local.rst2
-rw-r--r--Docs/source/building/openpmd.rst11
3 files changed, 14 insertions, 1 deletions
diff --git a/Docs/source/building/building.rst b/Docs/source/building/building.rst
index 0094f2763..01787545b 100644
--- a/Docs/source/building/building.rst
+++ b/Docs/source/building/building.rst
@@ -44,7 +44,7 @@ This will generate an executable file in the ``Bin`` directory.
* Choose a given compiler
For a description of these different options, see the `corresponding page
- <https://amrex-codes.github.io/amrex/BuildingAMReX.html#building-with-gnu-make>`__ in
+ <https://amrex-codes.github.io/amrex/docs_html/BuildingAMReX.html>`__ in
the AMReX documentation.
Alternatively, instead of modifying the file ``GNUmakefile``, you can
diff --git a/Docs/source/building/gpu_local.rst b/Docs/source/building/gpu_local.rst
index 082d680f7..33d75b77f 100644
--- a/Docs/source/building/gpu_local.rst
+++ b/Docs/source/building/gpu_local.rst
@@ -20,6 +20,8 @@ In order to build WarpX with GPU support, it necessary to install:
export SPACK_ROOT=/path/to/spack
. $SPACK_ROOT/share/spack/setup-env.sh
+(You may want to add the last 2 lines to your ``.bashrc`` file.)
+
Next, you will to install of version of MPI which is compatible with the PGI
compiler (using Spack). First of all, make sure that Spack is aware of the PGI
compiler:
diff --git a/Docs/source/building/openpmd.rst b/Docs/source/building/openpmd.rst
index d4579a1a5..053769f67 100644
--- a/Docs/source/building/openpmd.rst
+++ b/Docs/source/building/openpmd.rst
@@ -12,6 +12,17 @@ using spack (first section below). If this fails, a back-up solution
is to install parallel HDF5 with spack, and then install the openPMD-api
library from source.
+In order to install spack, you can simply do:
+
+::
+
+ git clone https://github.com/spack/spack.git
+ export SPACK_ROOT=/path/to/spack
+ . $SPACK_ROOT/share/spack/setup-env.sh
+
+(You may want to add the last 2 lines to your ``.bashrc`` file.)
+
+
Building openPMD support, by installing openPMD-api directly from spack
-----------------------------------------------------------------------