1
1
openmpi/ompi/mca/pml/dr/configure.m4
Ralph Castain b400b84162 Merge in the modified thread configure option branch per today's telecon.
Remove the --enable-progress-threads option as this is no longer functional, and hardcode OPAL_ENABLE_PROGRESS_THREADS to 0.

Replace the --enable-mpi-threads option with --enable-mpi-thread-multiple as this is clearer as to meaning. This option automatically turns "on" opal thread support if it wasn't already so specified. If the user specifies --disable-opal-multi-threads --enable-mpi-thread-multiple, we will error out with a message

Add a new --enable-opal-multi-threads option that turns "on" opal thread support without doing anything wrt mpi-thread-multiple

This commit was SVN r22841.
2010-03-16 23:10:50 +00:00

24 строки
682 B
Bash

# -*- shell-script -*-
#
# Copyright (c) 2004-2008 The Trustees of the University of Tennessee.
# All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# MCA_pml_dr_CONFIG([action-if-found], [action-if-not-found])
# -----------------------------------------------------------
AC_DEFUN([MCA_pml_dr_CONFIG],[
# Dont compile DR if threading is enabled but there is no
# support for 64 bits atomics.
AS_IF([test $OPAL_ASM_SUPPORT_64BIT -eq 1],
[$1],
[AS_IF([test $OPAL_ENABLE_PROGRESS_THREADS -eq 1 -o $OMPI_ENABLE_THREAD_MULTIPLE -eq 1],
[$2],
[$1])
])
])dnl