Re: [cfe-users] Segmentation fault with memory sanitizer and OpenMPI's mpirun

2015-11-24 Thread Schlottke-Lakemper, Michael via cfe-users
Hi Evgenii, I can confirm that adding LIBS=“-lutil” to the configure command for OpenMPI resolved the reported issue. Thanks again for your help! Michael > On 23 Nov 2015, at 20:05 , Evgenii Stepanov wrote: > > I think so. What probably happens here is MSan confuses the configure > script

Re: [cfe-users] Segmentation fault with memory sanitizer and OpenMPI's mpirun

2015-11-23 Thread Evgenii Stepanov via cfe-users
I think so. What probably happens here is MSan confuses the configure script into thinking that openpty is available without -lutil, but what's actually available is just a stub that tries calling the real openpty and fails, unless libutil is linked. On Mon, Nov 23, 2015 at 10:41 AM, Schlottke-Lak

Re: [cfe-users] Segmentation fault with memory sanitizer and OpenMPI's mpirun

2015-11-23 Thread Schlottke-Lakemper, Michael via cfe-users
Hi Evgenii, Just to clarify: you mean I should re-compile OpenMPI and add “-lutil” to LDFLAGS at configure time? Yours Michael > On 23 Nov 2015, at 18:07 , Evgenii Stepanov wrote: > > This is caused by missing -lutil. > FTR, http://llvm.org/viewvc/llvm-project?rev=245619&view=rev > > On Mon

Re: [cfe-users] Segmentation fault with memory sanitizer and OpenMPI's mpirun

2015-11-23 Thread Evgenii Stepanov via cfe-users
This is caused by missing -lutil. FTR, http://llvm.org/viewvc/llvm-project?rev=245619&view=rev On Mon, Nov 23, 2015 at 7:33 AM, Schlottke-Lakemper, Michael via cfe-users wrote: > Hi folks, > > When running “mpirun” of an msan-instrumented installation of OpenMPI, I get > the following error: > >

[cfe-users] Segmentation fault with memory sanitizer and OpenMPI's mpirun

2015-11-23 Thread Schlottke-Lakemper, Michael via cfe-users
Hi folks, When running “mpirun” of an msan-instrumented installation of OpenMPI, I get the following error: $> mpirun -n 1 hostname [aia308:48324] *** Process received signal *** [aia308:48324] Signal: Segmentation fault (11) [aia308:48324] Signal code: Address not mapped (1) [aia308:48324] Fail