Re: [Valgrind-users] Valgrind+MPICH2: wrong libmpi.so used?

2012-05-07 Thread Martin Kalany
Am 06.05.2012 00:54, schrieb Philippe Waroquiers: On Sun, 2012-05-06 at 00:24 +0200, Martin Kalany wrote: Valgrind documation states that The MPI functions to be wrapped are assumed to be in an ELF shared object with soname matching libmpi.so*. This is knownto be correct at least for Open

Re: [Valgrind-users] Valgrind+MPICH2: wrong libmpi.so used?

2012-05-07 Thread Dave Goodell
On May 7, 2012, at 2:15 PM CDT, Martin Kalany wrote: Am 06.05.2012 00:54, schrieb Philippe Waroquiers: On Sun, 2012-05-06 at 00:24 +0200, Martin Kalany wrote: Valgrind documation states that The MPI functions to be wrapped are assumed to be in an ELF shared object with soname matching

Re: [Valgrind-users] Valgrind+MPICH2: wrong libmpi.so used?

2012-05-07 Thread Philippe Waroquiers
On Mon, 2012-05-07 at 21:15 +0200, Martin Kalany wrote: Nevertheless, valgrind doesn't print anything similar to valgrind MPI wrappers 31901: Active for pid 31901 valgrind MPI wrappers 31901: Try MPIWRAP_DEBUG=help for possible options as stated in the documentation. How do I know whether

Re: [Valgrind-users] Valgrind+MPICH2: wrong libmpi.so used?

2012-05-07 Thread Dave Goodell
On May 7, 2012, at 2:45 PM CDT, Martin Kalany wrote: Am 07.05.2012 21:34, schrieb Dave Goodell: What does ldd YOUR_BINARY_HERE give you? You should see lines that look like this in the output: 8 libmpich.so.6 = /sandbox/goodell/mpich2-installed/lib/libmpich.so.6

[Valgrind-users] Valgrind+MPICH2: wrong libmpi.so used?

2012-05-05 Thread Martin Kalany
Hello, I'm trying to use valgrind do debug an mpich2 program. Unfortunately, I get the following error: libmpi.so.0: cannot open shared object file: No such file or directory I found out that libmpich.so.1.0 should be linked to instead (see libmpiwrap.c). Valgrind documation states that The

Re: [Valgrind-users] Valgrind+MPICH2: wrong libmpi.so used?

2012-05-05 Thread Martin Kalany
Am 05.05.2012 16:38, schrieb Philippe Waroquiers: On Sat, 2012-05-05 at 14:25 +0200, Martin Kalany wrote: Hello, I'm trying to use valgrind do debug an mpich2 program. Unfortunately, I get the following error: libmpi.so.0: cannot open shared object file: No such file or directory I

Re: [Valgrind-users] Valgrind+MPICH2: wrong libmpi.so used?

2012-05-05 Thread Philippe Waroquiers
On Sat, 2012-05-05 at 14:25 +0200, Martin Kalany wrote: Hello, I'm trying to use valgrind do debug an mpich2 program. Unfortunately, I get the following error: libmpi.so.0: cannot open shared object file: No such file or directory I found out that libmpich.so.1.0 should be linked to

Re: [Valgrind-users] Valgrind+MPICH2: wrong libmpi.so used?

2012-05-05 Thread Philippe Waroquiers
On Sat, 2012-05-05 at 18:14 +0200, Martin Kalany wrote: Is the 'cannot open' error only there when running under Valgrind ? Yes. When I use mpirun, it's fine. What I think is strange that valgrind apperantly tries to load libmpi.so, although it should load libmpich.so.1.0 Maybe a

Re: [Valgrind-users] Valgrind+MPICH2: wrong libmpi.so used?

2012-05-05 Thread Philippe Waroquiers
On Sun, 2012-05-06 at 00:24 +0200, Martin Kalany wrote: Valgrind documation states that The MPI functions to be wrapped are assumed to be in an ELF shared object with soname matching libmpi.so*. This is knownto be correct at least for Open MPI and Quadrics MPI, and can easily be changed if