On 2/8/2012 4:47 PM, Paul H. Hargrove wrote:
> On 2/8/2012 4:41 PM, Paul H. Hargrove wrote:
>> I do agree w/ Samuel that the BEST solution is to apply "-qhalt=e"
>> ONLY to the test(s) where one expects the compiler to through errors
>> (rather than warnings) for function calls with argument counts which
>> don't match the prototypes. At the moment, I am 90% certain that the
>> "old sched_setaffinity()" probe is the only one fitting that
> I am hoping to be able contribute patch for this soon.
Patch is attached and is general enough to drop in additional compilers
and/or apply the flags to additional configure tests.
It is also designed to NOT make badly behaving compilers fatal unless
sched_setaffinity() is found.
I believe that this patch either includes or replaces all previously
discussed changes for this particular issue.
NOTE however that this patch is INEFFECTIVE until the setting of
$hwloc_c_vendor is fixed (see
Paul H. Hargrove PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory Fax: +1-510-486-6900