module load python
conda create -n [envname] python=3.10 numpy scipy
conda activate [envname]
module swap PrgEnv-${PE_ENV,,} PrgEnv-gnu 
MPICC="cc -shared" pip install --force-reinstall --no-cache-dir --no-binary=mpi4py mpi4py
module load cray-hdf5-parallel
conda install -c defaults --override-channels numpy "cython<3"
HDF5_MPI=ON CC=cc pip install -v --force-reinstall --no-cache-dir --no-binary=h5py --no-build-isolation --no-deps h5py
git clone https://github.com/LSSTDESC/rail_sompz.git
pip install -e .
