forked from pysit/pysit
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation CLEPS
Simon Legrand edited this page Oct 14, 2020
·
1 revision
- Create conda environment for PySIT:
conda create -n pysitenv numpy scipy matplotlib pyamg
conda activate pysitenv- Load petsc module and its dependencies
module load gnu8 mpich petsc- 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- 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- Install PySIT
cd <pysit/folder>
pip install -e .