4
4
#
5
5
# This file is part of WarpX.
6
6
#
7
- # Author : Axel Huebl (edited by Roelof Groenewald for Polaris)
7
+ # Authors : Axel Huebl, Roelof Groenewald
8
8
# License: BSD-3-Clause-LBNL
9
9
10
10
# Exit on first error encountered #############################################
@@ -98,7 +98,7 @@ python3 -m pip install --upgrade pip
98
98
python3 -m pip install --upgrade virtualenv
99
99
python3 -m pip cache purge
100
100
rm -rf ${SW_DIR} /venvs/warpx
101
- python3 -m venv --system-site-packages ${SW_DIR} /venvs/warpx
101
+ python3 -m venv ${SW_DIR} /venvs/warpx
102
102
source ${SW_DIR} /venvs/warpx/bin/activate
103
103
python3 -m pip install --upgrade pip
104
104
python3 -m pip install --upgrade build
@@ -109,15 +109,15 @@ python3 -m pip install --upgrade cython
109
109
python3 -m pip install --upgrade numpy
110
110
python3 -m pip install --upgrade pandas
111
111
python3 -m pip install --upgrade scipy
112
- # MPICC="cc -target-accel=nvidia80 -shared" python3 -m pip install --upgrade mpi4py --no-cache-dir --no-build-isolation --no-binary mpi4py
112
+ MPICC=" CC -target-accel=nvidia80 -shared" python3 -m pip install --upgrade mpi4py --no-cache-dir --no-build-isolation --no-binary mpi4py
113
113
python3 -m pip install --upgrade openpmd-api
114
114
python3 -m pip install --upgrade matplotlib
115
115
python3 -m pip install --upgrade yt
116
116
# install or update WarpX dependencies such as picmistandard
117
117
python3 -m pip install --upgrade -r $HOME /src/warpx/requirements.txt
118
- python3 -m pip install cupy-cuda11x # CUDA 11.7 compatible wheel
118
+ python3 -m pip install cupy-cuda11x # CUDA 11.8 compatible wheel
119
119
# optional: for libEnsemble
120
120
python3 -m pip install -r $HOME /src/warpx/Tools/LibEnsemble/requirements.txt
121
121
# optional: for optimas (based on libEnsemble & ax->botorch->gpytorch->pytorch)
122
- python3 -m pip install --upgrade torch # CUDA 11.7 compatible wheel
122
+ python3 -m pip install --upgrade torch # CUDA 11.8 compatible wheel
123
123
python3 -m pip install -r $HOME /src/warpx/Tools/optimas/requirements.txt
0 commit comments