Good catch, thanks Santiago.
I sometimes forget how limited the makefile syntax is.
Drew
On 2026-10-10 14:58, Santiago Vila wrote:
On Fri, Oct 09, 2026 at 07:30:35PM +0200, Santiago Vila wrote:
Hi. I confirm that doing the change in debian/rules makes dh_auto_test
to succeed (I'm testing inside a chroot).
Hmm, no, that's not true, but I finally found the reason why it did
not work, and it's quite funny:
The comment after the variable value makes the variable to be defined
with trailing spaces, which is confusing for mpiexec.
The following minimal Makefile shows the effect:
----------------------------------------------------
export PRTE_MCA_mapby=:oversubscribe # some comment
all:
mpiexec -n 2 echo hello
----------------------------------------------------
And this is what happens:
$ make
mpiexec -n 2 echo hello
--------------------------------------------------------------------------
The mapping request contains an unrecognized qualifier:
Request: :oversubscribe
Please check your request and try again. Remember, multiple
qualifiers must be separated by a colon (':').
--------------------------------------------------------------------------
make: *** [Makefile:4: all] Error 29
I've just made a team upload to fix that.
Thanks.