Re: [OMPI users] _init function being called for every linked OpenMPI library

2019-03-22 Thread Jeff Squyres (jsquyres) via users
Yes, it's the DLL init function. It's not in our source code; it's put there automatically by the compiler/linker. > On Mar 22, 2019, at 2:12 PM, Simone Atzeni wrote: > > Hi, > > I was debugging a program compiled with `mpicxx` and noticed that when the > program is being launched the

[OMPI users] _init function being called for every linked OpenMPI library

2019-03-22 Thread Simone Atzeni
Hi, I was debugging a program compiled with `mpicxx` and noticed that when the program is being launched the `_init` function gets called multiple time, once for each library linked. For example, in my case I see that it gets called from all these libraries: _init () from libopen-pal.so.40