Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Old Linux kernels
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2011-03-16 10:14:07

On Mar 16, 2011, at 7:48 AM, Paul H. Hargrove wrote:

> I have looked before for symbols to distinguish LinuxThreads from NPTL, but I was not successful in finding anything. I don't recall if I examined headers for differences, but the implementations are binary compatible by design, making differences intentionally minimal.
> I suppose one can grep the pthreads.h header for the following:
> /* Linuxthreads - a simple clone()-based implementation of Posix */
> /* threads for Linux. */
> /* Copyright (C) 1996 Xavier Leroy (Xavier.Leroy_at_[hidden]) */

I'd rather not grep -- that would entail finding pthread.h, which could be tricky in a cross-compile scenario (i.e., it is likely not in /usr/include/pthread.h).

Could you send me the pthread.h from that RH8 box?

Jeff Squyres
For corporate legal information go to: