On 05/06/2013 07:24 AM US Central Time, Brice Goglin wrote:
> I am testing your patches on FreeBSD 9.1 under POSIX_SOURCE, things
> compile fine but hwloc complains that it cannot find the number of
> processors (because it needs sysctl or sysconf to do so, not available
> without BSD types). So hwloc is almost useless in this case. Does that
> look OK to you ? You're only using strict build flags for compile
> testing, right?
Yes, that looks right to me. An alternative would be to detect that
sysctl is not present and just abort in HWLOC_SETUP_CORE. They are both
equivalent as far as mpich is concerned.