Skip to content

Installation CLEPS

Simon Legrand edited this page Oct 14, 2020 · 1 revision

PySIT installation on the CLEPS cluster

  1. Create conda environment for PySIT:
conda create -n pysitenv numpy scipy matplotlib pyamg
conda activate pysitenv
  1. Load petsc module and its dependencies
module load gnu8 mpich petsc
  1. Install mpi4py

Since you have loaded mpich module, the pip install procedure of mpi4py will find the this MPI library implementation and link mpi4py to it. This implies that everytime you need to use mpi4py, you previously load mpich module.

pip install mpi4py
  1. Install petsc4py

The module version of petsc is 3.12, which forces to install the version 3.12 of petsc4py and not the default 3.14 (at the time of these lines), because it seems there has been a change in the API.

pip install petsc4py
  1. Install PySIT
cd <pysit/folder>
pip install -e .

Clone this wiki locally