Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] More NetBSD fixes
From: Aleksej Saushev (asau_at_[hidden])
Date: 2010-01-14 11:54:15


  Hello!

Flawed logic: Linux isn't the only system with procfs.
NetBSD has procfs too and may have /proc/cpuinfo as well,
but it isn't Linux.
I didn't check if FreeBSD has "cpuinfo" as well,
FreeBSD 6.3 doesn't but it's being desupported soon.

Difference against openmpi-1.5a1r22193 snapshot.

--- opal/mca/pstat/linux/configure.m4.orig 2009-11-04 17:57:36.000000000 +0300
+++ opal/mca/pstat/linux/configure.m4 2010-01-14 02:16:08.000000000 +0300
@@ -23,7 +23,7 @@
 AC_DEFUN([MCA_pstat_linux_CONFIG],[
 
    case "${host}" in
- i?86-*|x86_64*|ia64-*|powerpc-*|powerpc64-*|sparc*-*)
+ i?86-*linux*|x86_64*linux*|ia64-*linux*|powerpc-*linux*|powerpc64-*linux*|sparc*-*linux*)
               AS_IF([test -r "/proc/cpuinfo"],
                      [pstat_linux_happy="yes"],
                      [pstat_linux_happy="no"])

-- 
HE CE3OH...