Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] openib btl build question
From: Brian W. Barrett (brbarret_at_[hidden])
Date: 2008-05-21 16:37:27


On Wed, 21 May 2008, Jeff Squyres wrote:

> On May 21, 2008, at 4:17 PM, Don Kerr wrote:
>
>> Just want to make sure what I think I see is true:
>>
>> Linux build. openib btl requires ptmalloc2 and ptmalloc2 requires
>> posix
>> threads, is that correct?
>
> 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.

Brian