[MPICH] Bug in mpiexec_rsh.c builds wrong command line
Jayesh Krishna
jayesh at mcs.anl.gov
Fri Jan 25 17:19:11 CST 2008
Hi,
Thanks for reporting the bug.
This bug with be fixed in the next release.
Regards,
Jayesh
-----Original Message-----
From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Reuti
Sent: Friday, January 25, 2008 4:33 PM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] Bug in mpiexec_rsh.c builds wrong command line
Hi,
one user of SGE noticed, that the daemonless smpd startup isn't working any
longer in MPICH2 1.0.6p1 (http://gridengine.sunsource.net/
howto/mpich2-integration/mpich2-integration.html). After he and I digged in
the code, we found in mpich2-1.0.6p1/src/pm/smpd/ mpiexec_rsh.c a bug. Line
472 must be changed from:
pExe += curLen;
to
pExe = process->exe + curLen;
Otherwise the string will not correctly be built, as curLen is added to pExe
again, which is already pointing to a location somewhere in the middle of
the string.
-- Reuti
More information about the mpich-discuss
mailing list