Post

Install pyatb in Westlake-SE

Install pyatb at Westlake-HPC-SE cluster

Create new conda environment

1
2
conda create -n pyatb python=3.13
conda activate pyatb

Load Intel MKL and MPI

1
module load oneAPI/2024.0

Install dep

1
pip3 install pybind11 mpi4py

Get source code

1
2
git clone https://github.com/pyatb/pyatb.git
cd pyatb

Change siteconfig.py

You should change it according to your own setup

1
2
3
4
5
6
7
compiler = 'icpx' # Use non-mpi c++ compiler

mkl_library_dir = '/soft/compiler/intel/oneapi-2024.0/mkl/2024.0/lib/intel64/' # path to lib of MKL

mkl_include_dir = '/soft/compiler/intel/oneapi-2024.0/mkl/2024.0/include' # path to header of MKL

eigen_include_dir = '/soft/devtools/eigen-3.4.0/include/eigen3/' # path to header of eigen3

Install

1
pip install .
This post is licensed under CC BY 4.0 by the author.

Trending Tags