This folder contains everything needed to set up your environment on the
CEMDI tutorial cluster (cemdi.calculquebec.cloud).
Quick start: from a terminal on the cluster (SSH session or JupyterLab terminal), run:
bash ../setup_environment.sh
(from Tutorial/Installation/; see Tutorial/setup_environment.sh for what
it does). It will:
- Create
~/.abinit/abipy/and copyabinit-config/default/abipy/manager.ymlandabinit-config/default/abipy/scheduler.ymlthere -- this tells AbiPy how to launch Abinit runs on this cluster (how many cores, which queue, etc.). - Check that the
abinitexecutable is on your$PATH(loading theabinitmodule if needed). - Check that the
abipyPython package is importable. If you are working in JupyterLab, it already is. If you connected over plain SSH, the script creates a virtual environment and installsabipyfrom the cluster's local wheelhouse (pip install --no-index abipy), per the instructions from the CEMDI organizers.
If you'd rather do it by hand:
mkdir -p ~/.abinit/abipy
cp abinit-config/default/abipy/manager.yml ~/.abinit/abipy/
cp abinit-config/default/abipy/scheduler.yml ~/.abinit/abipy/
Then check your installation with:
abicheck.py
These are the same two files used throughout the tutorial and in
AbipyExamples, just resized for the resources allocated per student on
this cluster (8 CPU cores, interactive/shell execution rather than a batch
queue -- see the comments in abinit/abipy/manager.yml). If the cluster
turns out to require submitting through Slurm instead, that file has a
pointer to the Slurm-based config used for the Rorqual cluster as a
starting point for adapting it.