-
Notifications
You must be signed in to change notification settings - Fork 256
[Manual] Devito on CSD3@Cambridge
George Bisbas edited this page Jun 11, 2024
·
6 revisions
ssh -i .ssh/<your id_rsa_csd3> <username>@login-icelake.hpc.cam.ac.uk
<TOTP CODE WILL BE THEN ASKED>
# Do `ssh` to your login node (This example logs in to Intel(R) Xeon(R) Platinum 8368Q login node (login-q-3))
# Python3.11 is available on the nodes by default, so we create a venv
mkdir environments/python311
python3.11 -m venv environments/python311
# Following instructions from https://github.com/devitocodes/devito
git clone https://github.com/devitocodes/devito.git
cd devito
source environments/python311/bin/activate
pip3 install --upgrade -e .
# icx should already be available
icx --version
# Intel(R) oneAPI DPC++/C++ Compiler 2022.1.0 (2022.1.0.20220316)
and
icpx --version
# Intel(R) oneAPI DPC++/C++ Compiler 2022.1.0 (2022.1.0.20220316)
# If everything went fine, you should be able to run an example operator.
# Quickly try a cheap one, on a login node
i.e.:
DEVITO_LOGGING=DEBUG DEVITO_ARCH=intel python examples/seismic/acoustic/acoustic_example.py -d 40 40 40