<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear Max,</p>
<p><br>
</p>
<p>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:
<a class="moz-txt-link-freetext" href="https://github.com/gcorbin/mpich/">https://github.com/gcorbin/mpich/</a> at
/test/mpi/scorep/generate_filtered_testlist.py</p>
<p><br>
</p>
<p>Feel free to use + adapt that if it is helpful for you.</p>
<p><br>
</p>
<p>Cheers,</p>
<p>Gregor<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 12.01.23 17:29, Zhou, Hui via
discuss wrote:<br>
</div>
<blockquote type="cite"
cite="mid:SA0PR09MB741754890E3E58051436EE1CA9FD9@SA0PR09MB7417.namprd09.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div class="elementToProof"><span style="font-family: Calibri,
Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,
0, 0); background-color: rgb(255, 255, 255);">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.<br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri,
Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,
0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri,
Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,
0, 0); background-color: rgb(255, 255, 255);">--
<br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri,
Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0,
0, 0); background-color: rgb(255, 255, 255);">Hui<br>
</span></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b> Max R.
Dechantsreiter via discuss <a class="moz-txt-link-rfc2396E" href="mailto:discuss@mpich.org"><discuss@mpich.org></a><br>
<b>Sent:</b> Thursday, January 12, 2023 9:58 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:discuss@mpich.org">discuss@mpich.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:discuss@mpich.org"><discuss@mpich.org></a><br>
<b>Cc:</b> Max R. Dechantsreiter
<a class="moz-txt-link-rfc2396E" href="mailto:max@performancejones.com"><max@performancejones.com></a><br>
<b>Subject:</b> [mpich-discuss] MPICH Test Suite - limit
number of processes</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span
style="font-size:11pt;">
<div class="PlainText">I would like to limit the number of
processes used by the<br>
MPICH Test Suite, which I run by "make testing" after<br>
building MPICH.<br>
<br>
I tried<br>
<br>
export MPITEST_PPNMAX=<n> # The maximum number of
processes per node.<br>
<br>
but this had no apparent effect: some tests still ran<br>
using more than 4 processes, when I replaced <n> by
4.<br>
How could I restrict these tests to run with maximum 4<br>
processes, for example?<br>
<br>
_______________________________________________<br>
discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</div>
</span></font></div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:discuss@mpich.org">discuss@mpich.org</a>
To manage subscription options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a>
</pre>
</blockquote>
</body>
</html>