aboutsummaryrefslogtreecommitdiff
path: root/Docs/source
diff options
context:
space:
mode:
Diffstat (limited to 'Docs/source')
-rw-r--r--Docs/source/building/building.rst22
-rw-r--r--Docs/source/building/summit.rst18
-rw-r--r--Docs/source/visualization/sensei.rst22
3 files changed, 14 insertions, 48 deletions
diff --git a/Docs/source/building/building.rst b/Docs/source/building/building.rst
index fccbb409a..0094f2763 100644
--- a/Docs/source/building/building.rst
+++ b/Docs/source/building/building.rst
@@ -17,25 +17,9 @@ single directory (e.g. ``warpx_directory``):
mkdir warpx_directory
cd warpx_directory
- git clone https://github.com/ECP-WarpX/WarpX.git
- git clone https://bitbucket.org/berkeleylab/picsar.git
- git clone https://github.com/AMReX-Codes/amrex.git
-
-Then switch to the branch ``development`` of AMReX
-
-::
-
- cd amrex/
- git checkout development
- cd ..
-
-and to the branch ``dev`` of WarpX
-
-::
-
- cd WarpX/
- git checkout dev
- cd ..
+ git clone --branch dev https://github.com/ECP-WarpX/WarpX.git
+ git clone --branch master https://bitbucket.org/berkeleylab/picsar.git
+ git clone --branch developement https://github.com/AMReX-Codes/amrex.git
Basic compilation
-----------------
diff --git a/Docs/source/building/summit.rst b/Docs/source/building/summit.rst
index 1cda5ad00..44cc5c0ee 100644
--- a/Docs/source/building/summit.rst
+++ b/Docs/source/building/summit.rst
@@ -11,21 +11,9 @@ correct branch:
mkdir warpx_directory
cd warpx_directory
- git clone https://github.com/ECP-WarpX/WarpX.git
- cd WarpX
- git checkout dev
- cd ..
-
- git clone https://bitbucket.org/berkeleylab/picsar.git
- cd picsar
- git checkout master
- cd ..
-
- git clone https://github.com/AMReX-Codes/amrex.git
- cd amrex
- git checkout development
- cd ..
-
+ git clone --branch dev https://github.com/ECP-WarpX/WarpX.git
+ git clone --branch master https://bitbucket.org/berkeleylab/picsar.git
+ git clone --branch development https://github.com/AMReX-Codes/amrex.git
Then, use the following set of commands to compile:
diff --git a/Docs/source/visualization/sensei.rst b/Docs/source/visualization/sensei.rst
index 59f879e47..aa372b35b 100644
--- a/Docs/source/visualization/sensei.rst
+++ b/Docs/source/visualization/sensei.rst
@@ -250,13 +250,10 @@ First, log into cori and clone the git repo's.
cd $SCRATCH
mkdir warpx
cd warpx/
- git clone https://github.com/ECP-WarpX/WarpX.git WarpX-libsim
- git clone https://github.com/AMReX-Codes/amrex
- git clone https://bitbucket.org/berkeleylab/picsar.git
- cd amrex/
- git checkout development
- cd ../WarpX-libsim
- git checkout dev
+ git clone --branch dev https://github.com/ECP-WarpX/WarpX.git WarpX-libsim
+ git clone --branch development https://github.com/AMReX-Codes/amrex
+ git clone --branch master https://bitbucket.org/berkeleylab/picsar.git
+ cd WarpX-libsim
vim GNUmakefile
Next, edit the makefile to turn the SENSEI features on.
@@ -304,13 +301,10 @@ First, log into cori and clone the git repo's.
cd $SCRATCH
mkdir warpx
cd warpx/
- git clone https://github.com/ECP-WarpX/WarpX.git WarpX-catalyst
- git clone https://github.com/AMReX-Codes/amrex
- git clone https://bitbucket.org/berkeleylab/picsar.git
- cd amrex/
- git checkout development
- cd ../WarpX-catalyst
- git checkout dev
+ git clone --branch dev https://github.com/ECP-WarpX/WarpX.git WarpX-catalyst
+ git clone --branch development https://github.com/AMReX-Codes/amrex
+ git clone --branch master https://bitbucket.org/berkeleylab/picsar.git
+ cd WarpX-catalyst
vim GNUmakefile
Next, edit the makefile to turn the SENSEI features on.