Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Build mca_sysinfo_linux module when /proc/cpuinfo doesn't exist
From: Ralph Castain (rhc_at_[hidden])
Date: 2011-03-24 15:23:02


Guess I never considered that scenario when writing that code. The sysinfo functionality isn't considered critical at this time, though there are some changes coming that will make it more important.

Have to ponder the best solution - I'd rather not have configure fail just because we don't find a non-required directory.

On Mar 24, 2011, at 12:29 PM, Silas Silva wrote:

> Hello there,
>
> I'm using OpenMPI for educational reasons. It works pretty fine under
> GNU/Linux. I have both compiled it and downloaded it from the package
> management system with no problems.
>
> But I have trying to use it in other Unix systems as well. In these
> systems /proc (NetBSD for instance) is by default unmounted, so
> ./configure script cannot stat /proc/cpuinfo (although it does exist in
> NetBSD if you manually mount /proc). In the case it cannot stat
> /proc/cpuinfo, it just silently ignores compilation of
> mca_sysinfo_linux.{so,la}.
>
> Is this behaviour correct? Or it would be be a better idea that
> configure script fail with a "please check /proc/cpuinfo or specify
> --dont-build-sysinfo-linux"-like message?
>
> Thank you very much.
>
> --
> Silas Silva
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel