Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] hwloc-1.7 issue roundup
From: Pavan Balaji (balaji_at_[hidden])
Date: 2013-05-06 09:12:48


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.

 -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji