View on GitHub

gssi-training

VSC training: Getting Scientific Software Installed

Conda / Mamba / Pixi

This exercise focuses on Conda environments (and their Pixi equivalents).

You can find the relevant documentation in the Conda / Mamba / Pixi section of the GSSI training material and in the “Conda-based environment managers” page on VSCDocs.

First steps

You can start with configuring Miniforge, creating a Conda environment and installing software packages in it. You can go about this by either applying the commands from the training material or by using the scripts included here (best done in an interactive job):

cd ${VSC_DATA}/gssi-training/exercises/conda_mamba_pixi
export GSSI_BASEDIR=/tmp
bash wrapper.sh miniforge

Note that the wrapper script:

Other packages

The scripts and slides use the tblite package and its Python bindings as an example. You can substitute tblite(-python) with your software package of interest. Use a conda search command or browse the conda-forge package index to see whether it is indeed available as a Conda package.

Other Conda implementations

If interested, you can repeat this exercise with Miniconda, Micrombamba and/or Pixi (see the respective subdirectories).

Other features to try

Homework: microarchitectural optimizations