On Nov 11, 2009, at 4:57 PM, Samuel Thibault wrote:
Maybe what we can do is using PLPA's functions if __GLIBC__ is <= 2 and __GLIBC_MINOR__ is < the first version which is known to be correct or if CPU_SET can't be compiled, and rely on the glibc functions else. Of course we have to rely on glibc in any case for pthread_setaffinity_np().
That sounds good. Even after glibc was fixed, "bad" versions of it were still in many already-installed machines for many years (there's still lots of rhel4 machines out there; do we know of RH patched their rhel4 glibc to fix this problem?).
-- Jeff Squyres jsquy...@cisco.com