Thanks Jeff. Thanks Brian.

I ran into this because I was specifically trying to configure with "--disable-progress-threads --disable-mpi-threads" at which point I figured, might as well turn off all threads so I added "--without-threads" as well. But can't live without mpi_leave_pinned so threads are back.


Jeff Squyres wrote:
On May 21, 2008, at 4:37 PM, Brian W. Barrett wrote:

ptmalloc2 is not *required* by the openib btl.  But it is required on
Linux if you want to use the mpi_leave_pinned functionality.  I see
one function call to __pthread_initialize in the ptmalloc2 code -- it
*looks* like it's a function of glibc, but I don't know for sure.
There's actually more than that, it's just buried a bit. There's a whole bunch of thread-specific data stuff, which is wrapped so that different thread packages can be used (although OMPI only supports pthreads). The
wrappers are in ptmalloc2/sysdeps/pthreads.


Doh!  I didn't "grep -r"; my bad...

Reply via email to