Build PaStiX with Guix-HPC

nov. 16, 2019·
Pierre Ramet
Pierre Ramet
· 1 min. de lecture
blog

How to build PaStiX

The package definitions in the Guix-HPC repository extend those provided with Guix. To make them available to guix command-line tools, create the ~/.config/guix/channels.scm file with the following snippet to configure the guix-hpc channel:

(cons (channel
        (name 'guix-hpc)
        (url "https://gitlab.inria.fr/guix-hpc/guix-hpc.git"))
      %default-channels)

That way, guix pull will systematically update not only Guix, but also Guix-HPC.

guix package -u pastix

Hacking on Guix-HPC

When working on packages of the guix-hpc channel, you’ll need to clone the guix-hpc repository:

cd src
git clone https://gitlab.inria.fr/guix-hpc/guix-hpc.git

From then on, you can edit package definitions, and then try them out by passing the location of the checkout using the -L flag to guix build and other command-line tools, as in this example:

guix build -L ~/src/guix-hpc pastix
Pierre Ramet
Auteurs
Professeur des Universités en Informatique
Pierre Ramet est Professeur des Universités en Informatique à l’Université de Bordeaux et chercheur à Inria. Ses activités de recherche portent sur le calcul haute performance, en particulier l’algèbre linéaire creuse et les algorithmes parallèles. Il anime l’équipe chargée du développement de PaStiX, un solveur direct creux haute performance.