|
From: Evan <res...@gm...> - 2009-05-01 14:00:39
|
I need to run an opengl and mpi program remotely - with valgrind. I'm attempting to run a command like so: LD_PRELOAD=$prefix/lib/valgrind/amd64-linux/libmpiwrap.so mpirun -np $i $prefix/bin/valgrind vglrun ./test While this gives a lot of output, and the program runs successfully, I don't see any messages from the mpi wrapper. Is there any way to make this run correctly? Thanks, Evan |
|
From: tom f. <tf...@al...> - 2009-05-01 16:24:10
|
Evan <res...@gm...> writes: > I need to run an opengl and mpi program remotely - with valgrind. > > I'm attempting to run a command like so: > > LD_PRELOAD=$prefix/lib/valgrind/amd64-linux/libmpiwrap.so mpirun -np > $i $prefix/bin/valgrind vglrun ./test This probably won't work because mpirun will spawn ssh's out to the remote nodes (which of course won't inherit your environment). Try getting rid of that LD_PRELOAD. Then, in your cluster's shell initialization files, export LD_PRELOAD if the shell is non-interactive. HTH, -tom |