Skip to content

Commit 51c7ad7

Browse files
committed
Fix: Mixed TOSS3 / TOSS4 paths
TOSS4 never arrived.
1 parent 7b4e34a commit 51c7ad7

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

Docs/source/install/hpc/lassen.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,23 @@ Use the following commands to download the WarpX source code:
4040
4141
git clone https://github.com/BLAST-WarpX/warpx.git /usr/workspace/${USER}/lassen/src/warpx
4242
43-
We use system software modules, add environment hints and further dependencies via the file ``$HOME/lassen_v100_warpx_toss3.profile``.
43+
We use system software modules, add environment hints and further dependencies via the file ``$HOME/lassen_v100_warpx.profile``.
4444
Create it now:
4545

4646
.. code-block:: bash
4747
48-
cp /usr/workspace/${USER}/lassen/src/warpx/Tools/machines/lassen-llnl/lassen_v100_warpx_toss3.profile.example $HOME/lassen_v100_warpx_toss3.profile
48+
cp /usr/workspace/${USER}/lassen/src/warpx/Tools/machines/lassen-llnl/lassen_v100_warpx.profile.example $HOME/lassen_v100_warpx.profile
4949
5050
.. dropdown:: Script Details
5151
:color: light
5252
:icon: info
5353
:animate: fade-in-slide-down
5454

55-
.. literalinclude:: ../../../../Tools/machines/lassen-llnl/lassen_v100_warpx_toss3.profile.example
55+
.. literalinclude:: ../../../../Tools/machines/lassen-llnl/lassen_v100_warpx.profile.example
5656
:language: bash
5757

5858
Edit the 2nd line of this script, which sets the ``export proj=""`` variable.
59-
For example, if you are member of the project ``nsldt``, then run ``vi $HOME/lassen_v100_warpx_toss3.profile``.
59+
For example, if you are member of the project ``nsldt``, then run ``vi $HOME/lassen_v100_warpx.profile``.
6060
Enter the edit mode by typing ``i`` and edit line 2 to read:
6161

6262
.. code-block:: bash
@@ -71,21 +71,21 @@ Exit the ``vi`` editor with ``Esc`` and then type ``:wq`` (write & quit).
7171

7272
.. code-block:: bash
7373
74-
source $HOME/lassen_v100_warpx_toss3.profile
74+
source $HOME/lassen_v100_warpx.profile
7575
7676
Finally, since lassen does not yet provide software modules for some of our dependencies, install them once:
7777

7878
.. code-block:: bash
7979
80-
bash /usr/workspace/${USER}/lassen/src/warpx/Tools/machines/lassen-llnl/install_v100_dependencies_toss3.sh
81-
source /usr/workspace/${USER}/lassen-toss3/gpu/venvs/warpx-lassen-toss3/bin/activate
80+
bash /usr/workspace/${USER}/lassen/src/warpx/Tools/machines/lassen-llnl/install_v100_dependencies.sh
81+
source /usr/workspace/${USER}/lassen/gpu/venvs/warpx-lassen/bin/activate
8282
8383
.. dropdown:: Script Details
8484
:color: light
8585
:icon: info
8686
:animate: fade-in-slide-down
8787

88-
.. literalinclude:: ../../../../Tools/machines/lassen-llnl/install_v100_dependencies_toss3.sh
88+
.. literalinclude:: ../../../../Tools/machines/lassen-llnl/install_v100_dependencies.sh
8989
:language: bash
9090

9191

Tools/machines/lassen-llnl/install_v100_dependencies_toss3.sh renamed to Tools/machines/lassen-llnl/install_v100_dependencies.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ set -eu -o pipefail
1515
# Check: ######################################################################
1616
#
1717
# Was lassen_v100_warpx.profile sourced and configured correctly?
18-
if [ -z ${proj-} ]; then echo "WARNING: The 'proj' variable is not yet set in your lassen_v100_warpx_toss3.profile file! Please edit its line 2 to continue!"; exit 1; fi
18+
if [ -z ${proj-} ]; then echo "WARNING: The 'proj' variable is not yet set in your lassen_v100_warpx.profile file! Please edit its line 2 to continue!"; exit 1; fi
1919

2020

2121
# Remove old dependencies #####################################################
2222
#
23-
SRC_DIR="/usr/workspace/${USER}/lassen-toss3/src"
24-
SW_DIR="/usr/workspace/${USER}/lassen-toss3/gpu"
23+
SRC_DIR="/usr/workspace/${USER}/lassen/src"
24+
SW_DIR="/usr/workspace/${USER}/lassen/gpu"
2525
rm -rf ${SW_DIR}
2626
mkdir -p ${SW_DIR}
2727
mkdir -p ${SRC_DIR}
@@ -110,9 +110,9 @@ cmake --build ${build_dir}/lapackpp-lassen-build --target install --parallel 10
110110
export PIP_EXTRA_INDEX_URL="https://pypi.org/simple"
111111

112112
python3 -m pip install --upgrade --user virtualenv
113-
rm -rf ${SW_DIR}/venvs/warpx-lassen-toss3
114-
python3 -m venv ${SW_DIR}/venvs/warpx-lassen-toss3
115-
source ${SW_DIR}/venvs/warpx-lassen-toss3/bin/activate
113+
rm -rf ${SW_DIR}/venvs/warpx-lassen
114+
python3 -m venv ${SW_DIR}/venvs/warpx-lassen
115+
source ${SW_DIR}/venvs/warpx-lassen/bin/activate
116116
python3 -m pip install --upgrade pip
117117
# python3 -m pip cache purge # error: pip cache commands can not function since cache is disabled
118118
python3 -m pip install --upgrade build

Tools/machines/lassen-llnl/lassen_v100_warpx_toss3.profile.example renamed to Tools/machines/lassen-llnl/lassen_v100_warpx.profile.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module load boost/1.70.0
1111

1212
# optional: for openPMD support
1313
SRC_DIR="/usr/workspace/${USER}/lassen/src"
14-
SW_DIR="/usr/workspace/${USER}/lassen-toss3/gpu"
14+
SW_DIR="/usr/workspace/${USER}/lassen/gpu"
1515
export CMAKE_PREFIX_PATH=${SW_DIR}/c-blosc-1.21.1:$CMAKE_PREFIX_PATH
1616
export CMAKE_PREFIX_PATH=${SW_DIR}/hdf5-1.14.1.2:$CMAKE_PREFIX_PATH
1717
export CMAKE_PREFIX_PATH=${SW_DIR}/adios2-2.10.2:$CMAKE_PREFIX_PATH
@@ -30,9 +30,9 @@ export LD_LIBRARY_PATH=${SW_DIR}/lapackpp-2024.05.31/lib64:$LD_LIBRARY_PATH
3030
# optional: for Python bindings
3131
module load python/3.11.5
3232

33-
if [ -d "${SW_DIR}/venvs/warpx-lassen-toss3" ]
33+
if [ -d "${SW_DIR}/venvs/warpx-lassen" ]
3434
then
35-
source ${SW_DIR}/venvs/warpx-lassen-toss3/bin/activate
35+
source ${SW_DIR}/venvs/warpx-lassen/bin/activate
3636
fi
3737

3838
# optional: an alias to request an interactive node for two hours

0 commit comments

Comments
 (0)