Skip to content

Updating pfd‐parallel using Spack

Janko Boehm edited this page Aug 7, 2024 · 6 revisions

Start Spack

If you start in a new terminal session (and did not configure your terminal to do this automatically) make sure to set software_ROOT and run the setup-env.sh script. Make also sure to load the pfd-parallel package in Spack. As discussed above this can be done by:

export software_ROOT=~/singular-gpispace
. $software_ROOT/spack/share/spack/setup-env.sh

Update package descriptions

Make sure that you have the latest packages of the Singular/GPI-Space framework by doing a git pull in the respective directory:

git --git-dir=$software_ROOT/spack-packages/.git --work-tree=$software_ROOT/spack-packages pull

Update pfd-parallel:

spack uninstall pfd-parallel
spack install pfd-parallel

Note that this will keep the dependencies of pfd-parallel like Singular, GPI-Space etc, as far as they are still applicable.