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 (0x00007fb786ffa000) >> libopa.so.1 => /sandbox/goodell/mpich2-installed/lib/libopa.so.1 >> (0x00007fb786df8000) >> libmpl.so.1 => /sandbox/goodell/mpich2-installed/lib/libmpl.so.1 >> (0x00007fb786bf1000) >> ----8<---- > > ldd gives me libmpi.so.0, but no mpich-related .so files >
> And I guess that's the problem, right? I already reinstalled vlagrind > using ./configure --with-mpicc=path/to/mpich/ What is the ldd output when run on an executable supposedly built with an unmodified MPICH2 installation? My guess is that you've got MPICH2 and Open MPI (or some other MPI implementation with a "libmpi.so") installed on the same machine and you're doing one or more of: 1) using the wrong mpicc 2) incorrectly setting LD_LIBRARY_PATH If the ldd from an unmodified MPICH2 doesn't show proper linking against libmpich.so, then try using the absolute path to "mpicc" when building your application. > (as you suggested on > stackoverflow. That question there is from me, if you haven't noticed yet). Yes, I noticed. I originally saw it there, but decided that it would be better to avoid duplicate work and save some of Philippe's time by switching to this thread once I saw it here. -Dave ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users