908f31fe9f
Allow the POE RAS to be compled for linux as well as AIX. The POE RAS is really a Loadleveler RAS, and IU now has a cluster that uses Loadleveler in a Linux environment (BigRed). This seems to be the only thing we need to do so far to run Open MPI on BigRed. Yay :) This commit was SVN r11600.
41 строка
1.4 KiB
Bash
41 строка
1.4 KiB
Bash
# -*- shell-script -*-
|
|
#
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
# University Research and Technology
|
|
# Corporation. All rights reserved.
|
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
# of Tennessee Research Foundation. All rights
|
|
# reserved.
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
# University of Stuttgart. All rights reserved.
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
# All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
# MCA_ras_poe_CONFIG([action-if-found], [action-if-not-found])
|
|
# -----------------------------------------------------------
|
|
|
|
AC_DEFUN([MCA_ras_poe_CONFIG],[
|
|
# POE used to be only supported on AIX. Now we support it on
|
|
# AIX and some IBM Linux Machines.
|
|
# We only need executables (no header files or libraries), but
|
|
# those can be found (or not) at run-time. So if we're on AIX,
|
|
# or Linux build this component.
|
|
AC_MSG_CHECKING([if on AIX or Linux])
|
|
case $host_os in
|
|
linux* | aix3* | aix4* | aix5*)
|
|
happy=yes
|
|
;;
|
|
*)
|
|
happy=no
|
|
;;
|
|
esac
|
|
AC_MSG_RESULT([$happy])
|
|
AS_IF([test "$happy" = "yes"], [$1], [$2])
|
|
])
|