Mercury Bugs - mercury
View Issue Details
0000232mercuryBugpublic2011-11-24 11:162015-11-02 16:07
Reporterpbone 
Assigned Topbone 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionwon't fix 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000232: The thread pinning code in the parallel runtime doesn't work on older Linux systems.
Description
There are two alternatives for the thread pinning code in Mercury's Parallel low-level C runtime. hwloc() and sched_setaffinity(). When libhwloc is not available sched_setaffinity will be used. Later versions of glibc provide several
macros to manipulate bitsets for use with sched_setaffinity, some or all of these macros may be unavailable on some systems. Currently mercury expects all the macros to be available whenever sched_setaffinity is available - which is not the case on older versions of glibc (such as on RHEL 5).

Furthermore, Non-linux OSs that support sched_setaffinity may also have problems.

To work-around this issue install libhwloc.
TagsNo tags attached.
Attached Files

There are no notes attached to this issue.

Issue History
2011-11-24 11:16pboneNew Issue
2015-11-02 16:07pboneStatusnew => resolved
2015-11-02 16:07pboneResolutionopen => won't fix
2015-11-02 16:07pboneAssigned To => pbone