Dear Max,


I have a script that recursively walks through the existing teslist files and filters them according to various criteria (name, regex of the testlist line, contents of associated source code). You can find it in my fork of mpich: https://github.com/gcorbin/mpich/ at /test/mpi/scorep/generate_filtered_testlist.py


Feel free to use + adapt that if it is helpful for you.


Cheers,

Gregor



On 12.01.23 17:29, Zhou, Hui via discuss wrote:
Unfortunately, the number of processes for each test is hardcoded in the testlist files. There is no mechanism for filtering or dynamically modifying them. You could either maintain a custom patch to modify the testlist, or have a script applying a separate xfail list. An example of such xfail list that we used in our internal testing is in test/mpi/maint/jenkins/xfail.conf. If the custom patch solution won't work in your situation, please open an github issue describing your use case, and we can discuss to add a filtering option to the runtests script.

--
Hui

From: Max R. Dechantsreiter via discuss <discuss@mpich.org>
Sent: Thursday, January 12, 2023 9:58 AM
To: discuss@mpich.org <discuss@mpich.org>
Cc: Max R. Dechantsreiter <max@performancejones.com>
Subject: [mpich-discuss] MPICH Test Suite - limit number of processes
 
I would like to limit the number of processes used by the
MPICH Test Suite, which I run by "make testing" after
building MPICH.

I tried

export MPITEST_PPNMAX=<n> # The maximum number of processes per node.

but this had no apparent effect: some tests still ran
using more than 4 processes, when I replaced <n> by 4.
How could I restrict these tests to run with maximum 4
processes, for example?

_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss