fdb2408bf2
Modify the odls to remove a (size_t) typecast in front of the num_processors variable just in case it is returned negative. This usually is accompanied by an opal_error, so this shouldn't make any difference - but it is more technically correct. This commit was SVN r19008.
39 строки
1.3 KiB
Bash
39 строки
1.3 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 (c) 2007 Cisco, Inc. All rights reserved.
|
|
# Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
# MCA_paffinity_posix_CONFIG([action-if-found], [action-if-not-found])
|
|
# -----------------------------------------------------------
|
|
AC_DEFUN([MCA_paffinity_posix_CONFIG],[
|
|
#check to see if we have <unistd.h>
|
|
AC_CHECK_HEADER([unistd.h], [happy=yes], [happy=no])
|
|
|
|
if test "$happy" = "yes"; then
|
|
AC_MSG_RESULT([$happy ])
|
|
fi
|
|
|
|
if test "$happy" = "yes"; then
|
|
$1
|
|
else
|
|
$2
|
|
fi
|
|
])dnl
|
|
|