Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 994 Bytes

Installing-devito-on-CX2-and-running-jobs.md

File metadata and controls

39 lines (29 loc) · 994 Bytes

Installing Devito on CX2@IMPERIAL

# Do `ssh` to your login node (This example logs in to Intel(R) Xeon(R) CPU E5-2620 login node)
ssh user@login-a.hpc.ic.ac.uk

# Load Anaconda personal
module load anaconda3/personal

# Load intel compilers (gcc, icc), tools..etc
module load intel-suite
module load mpi

# Load git module
module load git

# Following instructions from https://github.com/opesci/devito
git clone https://github.com/devitocodes/devito.git
cd devito
conda env create -f environment-dev.yml
source activate devito
pip install -e .

# If everything went fine you should be able to run a typical operator. i.e.:
export DEVITO_LOGGING=DEBUG
export DEVITO_ARCH=intel
export DEVITO_LANGUAGE=openmp
python examples/seismic/acoustic/acoustic_example.py

For MPI

# Instal  mpi requirements
pip install -r requirements-mpi.txt