|
From: Indi T. <iht...@ho...> - 2007-04-04 21:20:01
|
Hi, Is there any method (scripts etc.) that will allow me to run Valgrind 3.2.3 or 3.2.2.SVN with mpich 1.2.7.p1? Currently, when the command on the section 2.6 of Valgrind user guide is typed, I can not get any meaningful result. Typing : mpirun -np xx valgrind [mpi_program] Only return valgrind is not a valid argument (even though I have specified path to the valgrind executable) and then the mpi run whilst ignoring valgrind altogether Typing : mpirun -np xx [full path] valgrind [mpi_program] leads to valgrind being executed but the mpi_program died straight away. B.t.w. I am working on Suse Linux 10.2 (Valgrind 3.2.2.SVN came with the distro) on an core2 duo machine. I am trying not to migrate to mpich2 as the actual code should be ported to PC clusters with mpich 1.2.x Regards Indi _________________________________________________________________ MSN Hotmail is evolving - check out the new Windows Live Mail http://ideas.live.co.uk |
|
From: Rob L. <ro...@te...> - 2007-04-09 20:57:53
|
On Wed, Apr 04, 2007 at 10:19:55PM +0100, Indi Tristanto wrote: > Hi, > > Is there any method (scripts etc.) that will allow me to run Valgrind 3.2.3 > or 3.2.2.SVN with mpich 1.2.7.p1? Yes, but it's a big mess. The command line argument processing in mpich1's mpirun makes it hard to sort out valgrind arguments from mpirun arguments from executable arguments. If at all possible, use MPICH2, at least for valgirnd. The steps in the valgrind user guide definitely work with MPICH2. > B.t.w. I am working on Suse Linux 10.2 (Valgrind 3.2.2.SVN came with > the distro) on an core2 duo machine. I am trying not to migrate to > mpich2 as the actual code should be ported to PC clusters with mpich > 1.2.x Understood, but if you find and fix memory errors in your code with mpich2, then the problem will be fixed for mpich1. ==rob -- Rob Latham Chicago, IL USA |
|
From: Julian S. <js...@ac...> - 2007-04-09 21:11:14
|
> If at all possible, use MPICH2, at least for valgirnd. The steps in > the valgrind user guide definitely work with MPICH2. OpenMPI might also be worth a try; I've tested with that in the past and it worked. J |