[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 _ini

[OMPI users] What's the right approach to run a singleton MPI+OpenMP process

2019-02-16 Thread Simone Atzeni
Hi, For testing purposes I run some MPI+OpenMP benchmarks with `mpirun -np 1 ./a.out`, and I am using OpenMPI 3.1.3. As far as I understand, `mpirun` sets an affinity mask, and the OpenMP runtime (in my case the LLVM OpenMP RT) respects this mask and only sees 1 physical core. In my case, I am