GNU bug report logs - #56257
[PATCH] fenics: Do not use mpirun for tests

Previous Next

Package: guix-patches;

Reported by: <Ontje.Luensdorf <at> dlr.de>

Date: Mon, 27 Jun 2022 12:32:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: <Ontje.Luensdorf <at> dlr.de>
To: 56257 <at> debbugs.gnu.org
Subject: [bug#56257] [PATCH] fenics: Do not use mpirun for tests
Date: Mon, 27 Jun 2022 11:24:49 +0000
[Message part 1 (text/plain, inline)]
Hi guix,


the fenics package tests fail and it looks like the tests are run 3
times concurrently. Every test name is printed three times in the build
log, for example here:

https://ci.guix.gnu.org/build/1039880/log/raw

This is the maximum number of parallel jobs of the test run and if I
increase it, I get more print outputs.

AFAIK, pytest doesn't support mpi, so I don't see why the tests are
executed this way.

Anyhow, in the attached patch, the tests are executed directly using
pytest. This prevents the tests from getting stuck and subsequently I
discovered a failure in XDMF tests. With this test also disabled, the
package builds fine for me.

Maybe a fenics or mpi expert can tell if this patch makes sense?

Best regards,
Ontje
[0001-gnu-fenics-Do-not-mpirun-tests.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.