Hello,
I've been trying to resolve the problem that is described in the
following threads:
http://www.supercluster.org/pipermail/torqueusers/2010-October/011518.html
http://comments.gmane.org/gmane.comp.clustering.torque.user/9112
Basically, PBS_NODEFILE was incomplete: it contained only one node
when job was submitted to run on several nodes. None of the solutions
proposed there worked for my installation. I've ended up looking into
maui source and found out that the following piece of code:
sprintf(TSBuf,"%s%s:ppn=%d",
TSBuf,
tmpHostName,
NL[tindex].TC);
in the file /src/moab/MPBSI.c from Maui 3.3 distribution does not work
as it supposed to: instead of appending to TSBuf it rewrote TSBuf with
the new value. This thread:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42173
explains why this happens: turning on optimization in gcc makes
sprintf rewrite the string instead of appending. Removing -O2 option
from Makefile generated by configure script solved the problem for me:
now Maui works as it supposed to.
I just wanted to share this finding with the rest of the community.
Maybe developers will take this into account and replace sprintf with
a safer way of appending to string :)
--
Sincerely,
Sergey Blagodurov
PhD Candidate
Systems Research Group
School of Computing Science
Simon Fraser University
http://www.sfu.ca/~sba70/
_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers