I was unable to reproduce this on Ubuntu 14.04.5
Note the default gcc is 4.8
gcc-4.9 can be installed, but no g++ nor gfortran.
Did you build Open MPI with the same compiler used to build libUtils.so and
a.out
What do
type gcc
ls -l /usr/bin/gcc
gcc —version
g++ —version
say ?
On top of the info
"libmpi.so" but through the library "libMyUtils.so". This makes the usage of
> parameters "-L/home/dummy/openmpi/build/lib -lmpi" not possible.
>
> Any more suggestions?
>
> Thanks,
>
> L.
>
>
>
>
> Sent: Fri
Sent: Friday, June 22, 2018 at 10:17 PM
From: "Jeff Squyres (jsquyres)"
To: "lille stor"
Cc: "Open MPI Developers List"
Subject: Re: [OMPI devel] Open MPI: Undefined reference to pthread_atfork
On Jun 22, 2018, at 4:09 PM, lille stor wrote:
>
> I tr
On Jun 22, 2018, at 4:09 PM, lille stor wrote:
>
> I tried compile the C++ program using "mpic++" like you suggested but
> unfortunately g++ still throws the same errror
> ("/home/dummy/openmpi/build/lib/libopen-pal.so.20: undefined reference to
> pthread_atfork").
>
> I suspect that the pro
pers List"
Cc: "Jeff Squyres (jsquyres)"
Subject: Re: [OMPI devel] Open MPI: Undefined reference to pthread_atfork
I think Ralph is a little confused -- 2.1.3 is recent enough. :-)
Are you using "mpic++" to compile your application? That should add in all the relevant flag
I think Ralph is a little confused -- 2.1.3 is recent enough. :-)
Are you using "mpic++" to compile your application? That should add in all the
relevant flags that are needed to compile an Open MPI C++ application.
> On Jun 22, 2018, at 3:29 PM, r...@open-mpi.org wrote:
>
> OMPI 2.1.3??? Is
OMPI 2.1.3??? Is there any way you could update to something more recent?
> On Jun 22, 2018, at 12:28 PM, lille stor wrote:
>
> Hi,
>
>
> When compiling a C++ source file named test.cpp that needs a shared library
> named libUtils.so (which in its turn needs Open MPI shared library, hence th
Hi,
When compiling a C++ source file named test.cpp that needs a shared library named libUtils.so (which in its turn needs Open MPI shared library, hence the parameter -Wl,-rpath-link,/home/dummy/openmpi/build/lib ) as follows:
g++ test.cpp -lUtils -Wl,-rpath-link,/home/dummy/openmpi/build/li