diff options
-rw-r--r-- | Docs/source/building/building.rst | 9 | ||||
-rw-r--r-- | Docs/source/building/summitdev.rst | 36 |
2 files changed, 41 insertions, 4 deletions
diff --git a/Docs/source/building/building.rst b/Docs/source/building/building.rst index ad9d4e621..5913f283d 100644 --- a/Docs/source/building/building.rst +++ b/Docs/source/building/building.rst @@ -77,13 +77,13 @@ Type :: make -j 4 USE_PYTHON_MAIN=TRUE - -or edit the GNUmakefile and set `USE_PYTHON_MAIN=TRUE`, and type + +or edit the GNUmakefile and set `USE_PYTHON_MAIN=TRUE`, and type :: - make -j 4 - + make -j 4 + This will compile the code, and install the Python bindings as a package (named ``pywarpx``) in your standard Python installation (i.e. in your ``site-packages`` directory). The note on compiler options from the previous @@ -106,3 +106,4 @@ Advanced building instructions spectral cori + summitdev diff --git a/Docs/source/building/summitdev.rst b/Docs/source/building/summitdev.rst new file mode 100644 index 000000000..e194db73c --- /dev/null +++ b/Docs/source/building/summitdev.rst @@ -0,0 +1,36 @@ +Building WarpX for Summit-dev (OLCF) +==================================== + +For the `Summit-dev cluster +<https://www.olcf.ornl.gov/tag/summitdev/>`__ at OLCF, +use the following commands to download the source code, and switch to the +correct branch: + +:: + + mkdir warpx_directory + cd warpx_directory + + git clone https://github.com/ECP-WarpX/WarpX.git + cd WarpX + git checkout gpu + cd .. + + git clone https://bitbucket.org/berkeleylab/picsar.git + cd picsar + git checkout gpu + cd .. + + git clone https://github.com/AMReX-Codes/amrex.git + cd amrex + git checkout development + cd .. + + +Then, use the following set of commands to compile: + +:: + + module load pgi + module load cuda + make |