1
1
openmpi/ompi/mca/mpool/udreg/configure.m4
Nathan Hjelm 24a7e7aa34 Add support for the udreg registration cache and dynamics on XE/XK/XC.
To support the new mpool two changes were made to the mpool infrastructure:

 1) Added an mpool flag to indicate that an mpool does not need the memory
    hooks to use the leave pinned protocols. This flag is checked in the
    mpool lookup.

 2) Add a mpool context to the base registration. This new member is used
    by the udreg mpool to store the udreg context associated with the
    particular registration. The new member will not break the ABI
    compatibility as the new member is only currently used by the udreg
    mpool.

Dynamics support for Cray systems makes use of the global rank provided by
orte to give the ugni library a unique rank for each process. Dynamics
support is not available under direct-launch (srun.)

cmr=v1.7.4

This commit was SVN r29719.
2013-11-18 04:58:37 +00:00

52 строки
1.9 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-2006 The Regents of the University of California.
# All rights reserved.
# Copyright (c) 2006 QLogic Corp. All rights reserved.
# Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
# All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
AC_DEFUN([MCA_ompi_mpool_udreg_CONFIG],[
AC_CONFIG_FILES([ompi/mca/mpool/udreg/Makefile])
AC_ARG_WITH([udreg], [AC_HELP_STRING([--with-udreg(=DIR)],
[Build support for Cray udreg support, optionally adding DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries])])
OMPI_CHECK_WITHDIR([udreg], [$with_udreg], [.])
mpool_udreg_happy="no"
if test "$with_udreg" != "no" ; then
if test -n "$with_udreg" -a "$with_udreg" != "yes" ; then
ompi_check_udreg_dir="$with_udreg"
else
ompi_check_udreg_dir=""
fi
OMPI_CHECK_PACKAGE([mpool_udreg], [udreg_pub.h], [udreg], [UDREG_CacheCreate],
[], [$ompi_check_udreg_dir], ["$ompi_check_udreg_dir/lib64"],
[mpool_udreg_happy="yes"], [mpool_udreg_happy="no"])
fi
AS_IF([test "$mpool_udreg_happy" = "yes"], [$1], [$2])
# substitute in the things needed to build ugni
AC_SUBST([mpool_udreg_CPPFLAGS])
AC_SUBST([mpool_udreg_LDFLAGS])
AC_SUBST([mpool_udreg_LIBS])
])dnl