|
From: Hoai T. <ho...@ya...> - 2004-07-16 12:58:24
|
Hi Nicholas and Tom, I follow your suggestions for MPICH...and GREAT :) It works now. I remove tons of uninitialised warnings and will have a nice weekend with other kinds of errors :) Thank so much, men. Nice weekend, H --- Nicholas Nethercote <nj...@ca...> wrote: > On Thu, 15 Jul 2004, Tom Hughes wrote: > > >> Have you ever heard someone using Valgrind with > MPICH-GM ? The error > >> I told you comes from a parallel code. There are > many uninitialised > >> errors on variables whose values have been > received from a remote > >> side. I still don't know how to work around this > kind of errors. > > > > I've never even heard of MPICH-GM never mind heard > of anybody using > > valgrind with it. I don't see how data could be > received across the > > network with valgrind knowing about it and marking > it as defined > > however. > > Some people have used Valgrind with MPI programs. > But Valgrind only > considers one process at a time, so if you have one > process initialising > shared data for another, Valgrind won't realise this > and think that the > first process is using uninitialised memory. The > only workaround for this > is to embed some of the client requests into your > code, especially > > VALGRIND_MAKE_READABLE > VALGRIND_GET_VBITS > VALGRIND_SET_VBITS > > See the manual for more details. > > N > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic > Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 > today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail |