[MPICH] Bug in mpiexec_rsh.c builds wrong command line
Reuti
reuti at staff.uni-marburg.de
Fri Jan 25 16:32:32 CST 2008
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