restored Jeffs changes
This commit was SVN r1529.
Этот коммит содержится в:
родитель
6eed97c7f9
Коммит
8cfc45bbee
@ -541,8 +541,8 @@ AC_DEFINE_UNQUOTED(MCA_${pd_module_type}_${pd_module_name}_FULL_VERSION,
|
||||
|
||||
EOF
|
||||
cat >> $pd_amc_file <<EOF
|
||||
AM_CONDITIONAL(OMPI_BUILD_${pd_module_type}_${pd_module_name}_LOADABLE_MODULE,
|
||||
test "\$BUILD_${pd_module_type}_${pd_module_name}_LOADABLE_MODULE" = "1")
|
||||
AM_CONDITIONAL(OMPI_BUILD_${pd_module_type}_${pd_module_name}_DSO,
|
||||
test "\$BUILD_${pd_module_type}_${pd_module_name}_DSO" = "1")
|
||||
|
||||
EOF
|
||||
|
||||
|
@ -117,6 +117,7 @@ AC_MSG_RESULT([$result])
|
||||
# Check and see if the user wants this module built as a run-time
|
||||
# loadable module. Acceptable combinations:
|
||||
#
|
||||
# [default -- no option]
|
||||
# --with-modules
|
||||
# --with-modules=[.+,]*MODULE_TYPE[.+,]*
|
||||
# --with-modules=[.+,]*MODULE_TYPE-MODULE_NAME[.+,]*
|
||||
@ -169,8 +170,8 @@ unset msg
|
||||
# Part one of libtool magic
|
||||
#
|
||||
|
||||
AM_ENABLE_STATIC
|
||||
AM_DISABLE_SHARED
|
||||
AM_ENABLE_SHARED
|
||||
AM_DISABLE_STATIC
|
||||
|
||||
|
||||
#
|
||||
@ -231,7 +232,7 @@ AC_SUBST(CPPFLAGS)
|
||||
ompi_show_subtitle "GNU libtool setup"
|
||||
|
||||
AM_PROG_LIBTOOL
|
||||
AM_CONDITIONAL(OMPI_BUILD_@MCA_TYPE@_@MCA_MODULE_NAME@_LOADABLE_MODULE,
|
||||
AM_CONDITIONAL(OMPI_BUILD_@MCA_TYPE@_@MCA_MODULE_NAME@_DSO,
|
||||
test "$BUILD_@MCA_TYPE@_@MCA_MODULE_NAME@_LOADABLE_MODULE" = "1")
|
||||
|
||||
|
||||
|
@ -8,42 +8,54 @@ AC_DEFUN([OMPI_MCA],[
|
||||
# Find which modules should be built as run-time loadable modules
|
||||
# Acceptable combinations:
|
||||
#
|
||||
# --with-modules
|
||||
# --with-modules=[.+,]*MODULE_TYPE[.+,]*
|
||||
# --with-modules=[.+,]*MODULE_TYPE-MODULE_NAME[.+,]*
|
||||
# --without-modules
|
||||
# [default -- no option given]
|
||||
# --enable-mca-dso
|
||||
# --enable-mca-dso=[.+,]*COMPONENT_TYPE[.+,]*
|
||||
# --enable-mca-dso=[.+,]*COMPONENT_TYPE-COMPONENT_NAME[.+,]*
|
||||
# --disable-mca-dso
|
||||
#
|
||||
|
||||
AC_MSG_CHECKING([which modules should be run-time loadable])
|
||||
AC_ARG_WITH(modules,
|
||||
AC_HELP_STRING([--with-modules=LIST],
|
||||
[comma-separated list of types and/or type-module pairs of modules that will be built as run-time loadable modules (as opposed to statically linked in OMPI/MPI (if supported on this platform). This directly implies "--enable-shared=LIST and --disable-static=LIST".]))
|
||||
AC_ARG_ENABLE(mca-dso,
|
||||
AC_HELP_STRING([--enable-mca-dso=LIST],
|
||||
[comma-separated list of types and/or type-component pairs that will be built as run-time loadable modules (as opposed to statically linked in), if supported on this platform. The default is to build all components as DSOs; the --disable-mca-dso[=LIST] form can be used to disable building all or some types/components as DSOs]))
|
||||
|
||||
if test "$with_modules" = "" -o "$with_modules" = "no"; then
|
||||
LOADABLE_MODULE_all=0
|
||||
# First, check to see if we're only building static libraries. If so,
|
||||
# then override everything and only build components as static
|
||||
# libraries.
|
||||
|
||||
if test "$enable_shared" = "no"; then
|
||||
DSO_all=0
|
||||
msg=none
|
||||
elif test "$with_modules" = "yes"; then
|
||||
LOADABLE_MODULE_all=1
|
||||
elif test -z "$enable_mca_dso" -o "$enable_mca_dso" = "yes"; then
|
||||
DSO_all=1
|
||||
msg=all
|
||||
elif test "$enable_mca_dso" = "no"; then
|
||||
DSO_all=0
|
||||
msg=none
|
||||
else
|
||||
LOADABLE_MODULE_all=0
|
||||
DSO_all=0
|
||||
ifs_save="$IFS"
|
||||
IFS="${IFS}$PATH_SEPARATOR,"
|
||||
msg=
|
||||
for module in $with_modules; do
|
||||
str="`echo LOADABLE_MODULE_$module=1 | sed s/-/_/g`"
|
||||
for item in $enable_mca_dso; do
|
||||
str="`echo DSO_$item=1 | sed s/-/_/g`"
|
||||
eval $str
|
||||
msg="$module $msg"
|
||||
msg="$item $msg"
|
||||
done
|
||||
IFS="$ifs_save"
|
||||
fi
|
||||
AC_MSG_RESULT([$msg])
|
||||
unset msg
|
||||
if test "$enable_shared" = "no"; then
|
||||
AC_MSG_WARN([*** Shared libraries have been disabled (--disable-shared])
|
||||
AC_MSG_WARN([*** Building MCA components as DSOs automatically disabled])
|
||||
fi
|
||||
|
||||
# The list of MCA types (it's fixed)
|
||||
|
||||
AC_MSG_CHECKING([for MCA types])
|
||||
found_types="allocator coll common io gpr mpool oob one pcm pml ptl topo"
|
||||
found_types="allocator coll common gpr io mpool ns one oob op pcm pml ptl topo"
|
||||
AC_MSG_RESULT([$found_types])
|
||||
|
||||
# Get the list of all the non-configure MCA modules that were found by
|
||||
@ -53,15 +65,16 @@ AC_MSG_RESULT([$found_types])
|
||||
MCA_FIND_NO_CONFIGURE_MODULES
|
||||
|
||||
# Now determine the configurable modules in each of the types. This
|
||||
# is a little redundant and could be combined into the loop above, but
|
||||
# we separate it out for clarity. The extern statements and array of
|
||||
# pointers to the module global structs are written to a file for each
|
||||
# type that is #include'd in the flue file for each type.
|
||||
# is a little redundant and could be combined into
|
||||
# MCA_FIND_NO_CONFIGURE_MODULES, but we separate it out for clarity.
|
||||
# The extern statements and array of pointers to the module global
|
||||
# structs are written to a file for each type that is #include'd in
|
||||
# the file for each type.
|
||||
|
||||
for type in $found_types; do
|
||||
all_modules=
|
||||
static_modules=
|
||||
dynamic_modules=
|
||||
dso_modules=
|
||||
static_ltlibs=
|
||||
|
||||
# Ensure that the directory where the #include file is to live
|
||||
@ -80,7 +93,7 @@ for type in $found_types; do
|
||||
# Also ensure that the dynamic-mca base directory exists
|
||||
|
||||
total_dir="."
|
||||
dyndir=src/mca/dynamic/$type
|
||||
dyndir=src/dynamic-mca/$type
|
||||
for dir_part in `IFS='/\\'; set X $dyndir; shift; echo "$[@]"`; do
|
||||
total_dir=$total_dir/$dir_part
|
||||
test -d "$total_dir" ||
|
||||
@ -94,7 +107,7 @@ for type in $found_types; do
|
||||
rm -f $outfile $outfile.struct $outfile.extern \
|
||||
$outfile.all $outfile.static $outfile.dyanmic
|
||||
touch $outfile.struct $outfile.extern \
|
||||
$outfile.all $outfile.static $outfile.dynamic
|
||||
$outfile.all $outfile.static $outfile.dso
|
||||
|
||||
# Manual conversion of $type to its generic name (e.g., crmpi->cr,
|
||||
# crompi->cr).
|
||||
@ -125,7 +138,7 @@ for type in $found_types; do
|
||||
|
||||
# Remove any possible sym link in the mca-dynamic tree
|
||||
|
||||
rm -f src/mca/dyanmic/$type/$m
|
||||
rm -f src/dynamic-mca/$type/$m
|
||||
|
||||
# Now process the module
|
||||
|
||||
@ -139,12 +152,12 @@ for type in $found_types; do
|
||||
# generated the AM_CONDITIONAL directly. Here, we fill in
|
||||
# the variable that is used in that AM_CONDITIONAL.
|
||||
|
||||
if test "$compile_mode" = "dynamic"; then
|
||||
if test "$compile_mode" = "dso"; then
|
||||
value=1
|
||||
else
|
||||
value=0
|
||||
fi
|
||||
foo="BUILD_${type}_${m}_LOADABLE_MODULE=$value"
|
||||
foo="BUILD_${type}_${m}_DSO=$value"
|
||||
eval $foo
|
||||
fi
|
||||
done
|
||||
@ -166,7 +179,7 @@ for type in $found_types; do
|
||||
|
||||
# Remove any possible sym link in the mca-dynamic tree
|
||||
|
||||
rm -f src/mca/dyanmic/$type/$m
|
||||
rm -f src/dyanmic-mca/$type/$m
|
||||
|
||||
# Configure the module subdirectory
|
||||
|
||||
@ -187,9 +200,9 @@ for type in $found_types; do
|
||||
all_modules="`echo $all_modules`"
|
||||
static_modules="`sort $outfile.static`"
|
||||
static_modules="`echo $static_modules`"
|
||||
dynamic_modules="`sort $outfile.dynamic`"
|
||||
dynamic_modules="`echo $dynamic_modules`"
|
||||
rm -f $outfile $outfile.all $outfile.static $outfile.dynamic
|
||||
dso_modules="`sort $outfile.dso`"
|
||||
dso_modules="`echo $dso_modules`"
|
||||
rm -f $outfile $outfile.all $outfile.static $outfile.dso
|
||||
|
||||
# Create the final .h file that will be included in the type's
|
||||
# top-level glue. This lists all the static modules.
|
||||
@ -216,13 +229,13 @@ EOF
|
||||
eval "$foo"
|
||||
foo="MCA_${type}_STATIC_SUBDIRS"'="$static_modules"'
|
||||
eval "$foo"
|
||||
foo="MCA_${type}_DYNAMIC_SUBDIRS"'="$dynamic_modules"'
|
||||
foo="MCA_${type}_DSO_SUBDIRS"'="$dso_modules"'
|
||||
eval "$foo"
|
||||
foo="MCA_${type}_STATIC_LTLIBS"'="$static_ltlibs"'
|
||||
eval "$foo"
|
||||
done
|
||||
unset foo type m modules structs outfile outdir total_dir file \
|
||||
all_modules static_modules dynamic_modules static_ltlibs
|
||||
all_modules static_modules dso_modules static_ltlibs
|
||||
|
||||
# Grumble. It seems that AC_SUBST and AC_DEFINE don't let you
|
||||
# substitue on a variable name that contains a variable (e.g.,
|
||||
@ -232,66 +245,66 @@ unset foo type m modules structs outfile outdir total_dir file \
|
||||
|
||||
AC_SUBST(MCA_common_ALL_SUBDIRS)
|
||||
AC_SUBST(MCA_common_STATIC_SUBDIRS)
|
||||
AC_SUBST(MCA_common_DYNAMIC_SUBDIRS)
|
||||
AC_SUBST(MCA_common_DSO_SUBDIRS)
|
||||
AC_SUBST(MCA_common_STATIC_LTLIBS)
|
||||
|
||||
# OMPI types
|
||||
|
||||
AC_SUBST(MCA_oob_ALL_SUBDIRS)
|
||||
AC_SUBST(MCA_oob_STATIC_SUBDIRS)
|
||||
AC_SUBST(MCA_oob_DYNAMIC_SUBDIRS)
|
||||
AC_SUBST(MCA_oob_DSO_SUBDIRS)
|
||||
AC_SUBST(MCA_oob_STATIC_LTLIBS)
|
||||
|
||||
AC_SUBST(MCA_pcm_ALL_SUBDIRS)
|
||||
AC_SUBST(MCA_pcm_STATIC_SUBDIRS)
|
||||
AC_SUBST(MCA_pcm_DYNAMIC_SUBDIRS)
|
||||
AC_SUBST(MCA_pcm_DSO_SUBDIRS)
|
||||
AC_SUBST(MCA_pcm_STATIC_LTLIBS)
|
||||
|
||||
AC_SUBST(MCA_gpr_ALL_SUBDIRS)
|
||||
AC_SUBST(MCA_gpr_STATIC_SUBDIRS)
|
||||
AC_SUBST(MCA_gpr_DYNAMIC_SUBDIRS)
|
||||
AC_SUBST(MCA_gpr_DSO_SUBDIRS)
|
||||
AC_SUBST(MCA_gpr_STATIC_LTLIBS)
|
||||
|
||||
# MPI types
|
||||
|
||||
AC_SUBST(MCA_allocator_ALL_SUBDIRS)
|
||||
AC_SUBST(MCA_allocator_STATIC_SUBDIRS)
|
||||
AC_SUBST(MCA_allocator_DYNAMIC_SUBDIRS)
|
||||
AC_SUBST(MCA_allocator_DSO_SUBDIRS)
|
||||
AC_SUBST(MCA_allocator_STATIC_LTLIBS)
|
||||
|
||||
AC_SUBST(MCA_coll_ALL_SUBDIRS)
|
||||
AC_SUBST(MCA_coll_STATIC_SUBDIRS)
|
||||
AC_SUBST(MCA_coll_DYNAMIC_SUBDIRS)
|
||||
AC_SUBST(MCA_coll_DSO_SUBDIRS)
|
||||
AC_SUBST(MCA_coll_STATIC_LTLIBS)
|
||||
|
||||
AC_SUBST(MCA_io_ALL_SUBDIRS)
|
||||
AC_SUBST(MCA_io_STATIC_SUBDIRS)
|
||||
AC_SUBST(MCA_io_DYNAMIC_SUBDIRS)
|
||||
AC_SUBST(MCA_io_DSO_SUBDIRS)
|
||||
AC_SUBST(MCA_io_STATIC_LTLIBS)
|
||||
|
||||
AC_SUBST(MCA_mpool_ALL_SUBDIRS)
|
||||
AC_SUBST(MCA_mpool_STATIC_SUBDIRS)
|
||||
AC_SUBST(MCA_mpool_DYNAMIC_SUBDIRS)
|
||||
AC_SUBST(MCA_mpool_DSO_SUBDIRS)
|
||||
AC_SUBST(MCA_mpool_STATIC_LTLIBS)
|
||||
|
||||
AC_SUBST(MCA_one_ALL_SUBDIRS)
|
||||
AC_SUBST(MCA_one_STATIC_SUBDIRS)
|
||||
AC_SUBST(MCA_one_DYNAMIC_SUBDIRS)
|
||||
AC_SUBST(MCA_one_DSO_SUBDIRS)
|
||||
AC_SUBST(MCA_one_STATIC_LTLIBS)
|
||||
|
||||
AC_SUBST(MCA_pml_ALL_SUBDIRS)
|
||||
AC_SUBST(MCA_pml_STATIC_SUBDIRS)
|
||||
AC_SUBST(MCA_pml_DYNAMIC_SUBDIRS)
|
||||
AC_SUBST(MCA_pml_DSO_SUBDIRS)
|
||||
AC_SUBST(MCA_pml_STATIC_LTLIBS)
|
||||
|
||||
AC_SUBST(MCA_ptl_ALL_SUBDIRS)
|
||||
AC_SUBST(MCA_ptl_STATIC_SUBDIRS)
|
||||
AC_SUBST(MCA_ptl_DYNAMIC_SUBDIRS)
|
||||
AC_SUBST(MCA_ptl_DSO_SUBDIRS)
|
||||
AC_SUBST(MCA_ptl_STATIC_LTLIBS)
|
||||
|
||||
AC_SUBST(MCA_topo_ALL_SUBDIRS)
|
||||
AC_SUBST(MCA_topo_STATIC_SUBDIRS)
|
||||
AC_SUBST(MCA_topo_DYNAMIC_SUBDIRS)
|
||||
AC_SUBST(MCA_topo_DSO_SUBDIRS)
|
||||
AC_SUBST(MCA_topo_STATIC_LTLIBS)
|
||||
|
||||
# Finally, now that we've filled in all the test variables, get all
|
||||
@ -327,24 +340,24 @@ if test "$HAPPY" = "1"; then
|
||||
|
||||
# Is this module going to built staic or shared?
|
||||
|
||||
str="SHARED_TYPE=\$LOADABLE_MODULE_$type"
|
||||
str="SHARED_TYPE=\$DSO_$type"
|
||||
eval $str
|
||||
str="SHARED_GENERIC_TYPE=\$LOADABLE_MODULE_$generic_type"
|
||||
str="SHARED_GENERIC_TYPE=\$DSO_$generic_type"
|
||||
eval $str
|
||||
str="SHARED_MODULE=\$LOADABLE_MODULE_${type}_$m"
|
||||
str="SHARED_MODULE=\$DSO_${type}_$m"
|
||||
eval $str
|
||||
|
||||
shared_mode_override=static
|
||||
|
||||
# Setup for either shared or static
|
||||
|
||||
if test "$shared_mode_override" = "dynamic" -o \
|
||||
if test "$shared_mode_override" = "dso" -o \
|
||||
"$SHARED_TYPE" = "1" -o \
|
||||
"$SHARED_GENERIC_TYPE" = "1" -o \
|
||||
"$SHARED_MODULE" = "1" -o \
|
||||
"$LOADABLE_MODULE_all" = "1"; then
|
||||
compile_mode="dynamic"
|
||||
echo $m >> $outfile.dynamic
|
||||
"$DSO_all" = "1"; then
|
||||
compile_mode="dso"
|
||||
echo $m >> $outfile.dso
|
||||
rm -f "src/dynamic-mca/$type/$m"
|
||||
$LN_S "$OMPI_TOP_BUILDDIR/src/mca/$type/$m" \
|
||||
"src/dynamic-mca/$type/$m"
|
||||
|
@ -118,8 +118,8 @@ OMPI_CONFIGURE_OPTIONS
|
||||
|
||||
ompi_enable_shared="$enable_shared"
|
||||
ompi_enable_static="$enable_static"
|
||||
AM_DISABLE_SHARED
|
||||
AM_ENABLE_STATIC
|
||||
AM_ENABLE_SHARED
|
||||
AM_DISABLE_STATIC
|
||||
|
||||
|
||||
############################################################################
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
include $(top_srcdir)/config/Makefile.options
|
||||
|
||||
SUBDIRS = $(MCA_allocator_DYNAMIC_SUBDIRS)
|
||||
SUBDIRS = $(MCA_allocator_DSO_SUBDIRS)
|
||||
DISTCLEANFILES = $(SUBDIRS)
|
||||
|
||||
# Every directory under here is a sym link to something in the main
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
include $(top_srcdir)/config/Makefile.options
|
||||
|
||||
SUBDIRS = $(MCA_coll_DYNAMIC_SUBDIRS)
|
||||
SUBDIRS = $(MCA_coll_DSO_SUBDIRS)
|
||||
DISTCLEANFILES = $(SUBDIRS)
|
||||
|
||||
# Every directory under here is a sym link to something in the main
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
include $(top_srcdir)/config/Makefile.options
|
||||
|
||||
SUBDIRS = $(MCA_common_DYNAMIC_SUBDIRS)
|
||||
SUBDIRS = $(MCA_common_DSO_SUBDIRS)
|
||||
DISTCLEANFILES = $(SUBDIRS)
|
||||
|
||||
# Every directory under here is a sym link to something in the main
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
include $(top_srcdir)/config/Makefile.options
|
||||
|
||||
SUBDIRS = $(MCA_gpr_DYNAMIC_SUBDIRS)
|
||||
SUBDIRS = $(MCA_gpr_DSO_SUBDIRS)
|
||||
DISTCLEANFILES = $(SUBDIRS)
|
||||
|
||||
# Every directory under here is a sym link to something in the main
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
include $(top_srcdir)/config/Makefile.options
|
||||
|
||||
SUBDIRS = $(MCA_io_DYNAMIC_SUBDIRS)
|
||||
SUBDIRS = $(MCA_io_DSO_SUBDIRS)
|
||||
DISTCLEANFILES = $(SUBDIRS)
|
||||
|
||||
# Every directory under here is a sym link to something in the main
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
include $(top_srcdir)/config/Makefile.options
|
||||
|
||||
SUBDIRS = $(MCA_mpool_DYNAMIC_SUBDIRS)
|
||||
SUBDIRS = $(MCA_mpool_DSO_SUBDIRS)
|
||||
DISTCLEANFILES = $(SUBDIRS)
|
||||
|
||||
# Every directory under here is a sym link to something in the main
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
include $(top_srcdir)/config/Makefile.options
|
||||
|
||||
SUBDIRS = $(MCA_one_DYNAMIC_SUBDIRS)
|
||||
SUBDIRS = $(MCA_one_DSO_SUBDIRS)
|
||||
DISTCLEANFILES = $(SUBDIRS)
|
||||
|
||||
# Every directory under here is a sym link to something in the main
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
include $(top_srcdir)/config/Makefile.options
|
||||
|
||||
SUBDIRS = $(MCA_oob_DYNAMIC_SUBDIRS)
|
||||
SUBDIRS = $(MCA_oob_DSO_SUBDIRS)
|
||||
DISTCLEANFILES = $(SUBDIRS)
|
||||
|
||||
# Every directory under here is a sym link to something in the main
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
include $(top_srcdir)/config/Makefile.options
|
||||
|
||||
SUBDIRS = $(MCA_pcm_DYNAMIC_SUBDIRS)
|
||||
SUBDIRS = $(MCA_pcm_DSO_SUBDIRS)
|
||||
DISTCLEANFILES = $(SUBDIRS)
|
||||
|
||||
# Every directory under here is a sym link to something in the main
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
include $(top_srcdir)/config/Makefile.options
|
||||
|
||||
SUBDIRS = $(MCA_pml_DYNAMIC_SUBDIRS)
|
||||
SUBDIRS = $(MCA_pml_DSO_SUBDIRS)
|
||||
DISTCLEANFILES = $(SUBDIRS)
|
||||
|
||||
# Every directory under here is a sym link to something in the main
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
include $(top_srcdir)/config/Makefile.options
|
||||
|
||||
SUBDIRS = $(MCA_ptl_DYNAMIC_SUBDIRS)
|
||||
SUBDIRS = $(MCA_ptl_DSO_SUBDIRS)
|
||||
DISTCLEANFILES = $(SUBDIRS)
|
||||
|
||||
# Every directory under here is a sym link to something in the main
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
include $(top_srcdir)/config/Makefile.options
|
||||
|
||||
SUBDIRS = $(MCA_topo_DYNAMIC_SUBDIRS)
|
||||
SUBDIRS = $(MCA_topo_DSO_SUBDIRS)
|
||||
DISTCLEANFILES = $(SUBDIRS)
|
||||
|
||||
# Every directory under here is a sym link to something in the main
|
||||
|
@ -1,8 +1,9 @@
|
||||
# -*- makefile -*-
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
sources = \
|
||||
@ -10,21 +11,25 @@ sources = \
|
||||
allocator_bucket_alloc.c \
|
||||
allocator_bucket_alloc.h
|
||||
|
||||
if OMPI_BUILD_allocator_bucket_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_allocator_bucket.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_allocator_bucket_DSO
|
||||
component_noinst =
|
||||
component_install = mca_allocator_bucket.la
|
||||
else
|
||||
module_noinst = libmca_allocator_bucket.la
|
||||
module_install =
|
||||
component_noinst = libmca_allocator_bucket.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_allocator_bucket_la_SOURCES = $(sources)
|
||||
mca_allocator_bucket_la_LIBADD = $(LIBOMPI_LA)
|
||||
mca_allocator_bucket_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_allocator_bucket_la_SOURCES = $(sources)
|
||||
libmca_allocator_bucket_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
|
@ -1,9 +1,8 @@
|
||||
# -*- makefile -*-
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level OMPI Makefile.options
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
@ -11,27 +10,25 @@ SUBDIRS = src
|
||||
|
||||
EXTRA_DIST = VERSION
|
||||
|
||||
# According to the MCA spec, we have to make the output library here
|
||||
# in the top-level directory, and it has to be named
|
||||
# libompi_ssi_coll_ompi_basic.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_coll_basic_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_coll_basic.la
|
||||
if OMPI_BUILD_coll_basic_DSO
|
||||
component_noinst =
|
||||
component_install = mca_coll_basic.la
|
||||
else
|
||||
module_noinst = libmca_coll_basic.la
|
||||
module_install =
|
||||
component_noinst = libmca_coll_basic.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_coll_basic_la_SOURCES =
|
||||
mca_coll_basic_la_LIBADD = \
|
||||
src/libmca_coll_basic.la \
|
||||
$(LIBMPI_LA)
|
||||
mca_coll_basic_la_LIBADD = src/libmca_coll_basic.la $(LIBMPI_LA)
|
||||
mca_coll_basic_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_coll_basic_la_SOURCES =
|
||||
libmca_coll_basic_la_LIBADD = src/libmca_coll_basic.la
|
||||
libmca_coll_basic_la_LDFLAGS = -module -avoid-version
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level OMPI Makefile.options
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
@ -10,27 +10,25 @@ SUBDIRS = src
|
||||
|
||||
EXTRA_DIST = VERSION
|
||||
|
||||
# According to the MCA spec, we have to make the output library here
|
||||
# in the top-level directory, and it has to be named
|
||||
# libompi_ssi_coll_ompi_basic.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_io_romio_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_io_romio.la
|
||||
if OMPI_BUILD_io_romio_DSO
|
||||
component_noinst =
|
||||
component_install = mca_io_romio.la
|
||||
else
|
||||
module_noinst = libmca_mpi_io_romio.la
|
||||
module_install =
|
||||
component_noinst = libmca_mpi_io_romio.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_io_romio_la_SOURCES =
|
||||
mca_io_romio_la_LIBADD = \
|
||||
src/libmca_io_romio.la \
|
||||
$(LIBOMPI_LA)
|
||||
mca_io_romio_la_LIBADD = src/libmca_io_romio.la $(LIBOMPI_LA)
|
||||
mca_io_romio_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_mpi_io_romio_la_SOURCES =
|
||||
libmca_mpi_io_romio_la_LIBADD = src/libmca_io_romio.la
|
||||
libmca_mpi_io_romio_la_LDFLAGS = -module -avoid-version
|
||||
|
@ -1,8 +1,9 @@
|
||||
# -*- makefile -*-
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
sources = \
|
||||
@ -12,20 +13,24 @@ sources = \
|
||||
mpool_sm_mmap.h \
|
||||
mpool_sm_component.c
|
||||
|
||||
if OMPI_BUILD_mpool_sm_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_mpool_sm.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_mpool_sm_DSO
|
||||
component_noinst =
|
||||
component_install = mca_mpool_sm.la
|
||||
else
|
||||
module_noinst = libmca_mpool_sm.la
|
||||
module_install =
|
||||
component_noinst = libmca_mpool_sm.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_mpool_sm_la_SOURCES = $(sources)
|
||||
mca_mpool_sm_la_LIBADD = $(LIBOMPI_LA)
|
||||
mca_mpool_sm_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_mpool_sm_la_SOURCES = $(sources)
|
||||
libmca_mpool_sm_la_LDFLAGS = -module -avoid-version
|
||||
|
@ -20,12 +20,12 @@ headers = \
|
||||
libmca_oob_base_la_SOURCES = \
|
||||
$(headers) \
|
||||
oob_base_close.c \
|
||||
oob_base_open.c \
|
||||
oob_base_init.c \
|
||||
oob_base_send.c \
|
||||
oob_base_send_nb.c \
|
||||
oob_base_open.c \
|
||||
oob_base_recv.c \
|
||||
oob_base_recv_nb.c \
|
||||
oob_base_recv_nb.c \
|
||||
oob_base_send.c \
|
||||
oob_base_send_nb.c \
|
||||
oob_base_pack.c
|
||||
|
||||
# Conditionally install the header files
|
||||
|
@ -1,9 +1,8 @@
|
||||
# -*- makefile -*-
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level OMPI Makefile.options
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
@ -11,27 +10,25 @@ SUBDIRS = src
|
||||
|
||||
EXTRA_DIST = VERSION
|
||||
|
||||
# According to the MCA spec, we have to make the output library here
|
||||
# in the top-level directory, and it has to be named
|
||||
# libompi_ssi_coll_ompi_basic.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_oob_cofs_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_oob_cofs.la
|
||||
if OMPI_BUILD_oob_cofs_DSO
|
||||
component_noinst =
|
||||
component_install = mca_oob_cofs.la
|
||||
else
|
||||
module_noinst = libmca_oob_cofs.la
|
||||
module_install =
|
||||
component_noinst = libmca_oob_cofs.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_oob_cofs_la_SOURCES =
|
||||
mca_oob_cofs_la_LIBADD = \
|
||||
src/libmca_oob_cofs.la \
|
||||
$(LIBOMPI_LA)
|
||||
mca_oob_cofs_la_LIBADD = src/libmca_oob_cofs.la $(LIBOMPI_LA)
|
||||
mca_oob_cofs_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_oob_cofs_la_SOURCES =
|
||||
libmca_oob_cofs_la_LIBADD = src/libmca_oob_cofs.la
|
||||
libmca_oob_cofs_la_LDFLAGS = -module -avoid-version
|
||||
|
@ -1,31 +0,0 @@
|
||||
# -*- makefile -*-
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
sources = \
|
||||
oob_tcp.c \
|
||||
oob_tcp_recv.c \
|
||||
oob_tcp_send.c \
|
||||
oob_tcp_peer.c
|
||||
|
||||
if OMPI_BUILD_allocator_bucket_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_oob_tcp.la
|
||||
else
|
||||
module_noinst = libmca_oob_tcp.la
|
||||
module_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mca_oob_tcp_la_SOURCES = $(sources)
|
||||
mca_oob_tcp_la_LIBADD = $(LIBOMPI_LA)
|
||||
mca_oob_tcp_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
libmca_oob_tcp_la_SOURCES = $(sources)
|
||||
libmca_oob_tcp_la_LDFLAGS = -module -avoid-version
|
||||
|
@ -2,8 +2,9 @@
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
|
||||
# Specific to this module
|
||||
|
||||
|
||||
PARAM_INIT_FILE=oob_tcp.c
|
||||
PARAM_CONFIG_HEADER_FILE="oob_tcp_config.h"
|
||||
PARAM_CONFIG_FILES="Makefile"
|
||||
|
@ -1,9 +1,8 @@
|
||||
# -*- makefile -*-
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level OMPI Makefile.options
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
@ -11,27 +10,25 @@ SUBDIRS = src
|
||||
|
||||
EXTRA_DIST = VERSION
|
||||
|
||||
# According to the MCA spec, we have to make the output library here
|
||||
# in the top-level directory, and it has to be named
|
||||
# libompi_ssi_coll_ompi_basic.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_pcm_cofs_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_pcm_cofs.la
|
||||
if OMPI_BUILD_pcm_cofs_DSO
|
||||
component_noinst =
|
||||
component_install = mca_pcm_cofs.la
|
||||
else
|
||||
module_noinst = libmca_pcm_cofs.la
|
||||
module_install =
|
||||
component_noinst = libmca_pcm_cofs.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_pcm_cofs_la_SOURCES =
|
||||
mca_pcm_cofs_la_LIBADD = \
|
||||
src/libmca_pcm_cofs.la \
|
||||
$(LIBOMPI_LA)
|
||||
mca_pcm_cofs_la_LIBADD = src/libmca_pcm_cofs.la $(LIBOMPI_LA)
|
||||
mca_pcm_cofs_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_pcm_cofs_la_SOURCES =
|
||||
libmca_pcm_cofs_la_LIBADD = src/libmca_pcm_cofs.la
|
||||
libmca_pcm_cofs_la_LDFLAGS = -module -avoid-version
|
||||
|
@ -1,9 +1,8 @@
|
||||
# -*- makefile -*-
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level OMPI Makefile.options
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
@ -11,27 +10,25 @@ SUBDIRS = src
|
||||
|
||||
EXTRA_DIST = VERSION
|
||||
|
||||
# According to the MCA spec, we have to make the output library here
|
||||
# in the top-level directory, and it has to be named
|
||||
# libompi_ssi_coll_ompi_basic.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_pcm_rsh_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_pcm_rsh.la
|
||||
if OMPI_BUILD_pcm_rsh_DSO
|
||||
component_noinst =
|
||||
component_install = mca_pcm_rsh.la
|
||||
else
|
||||
module_noinst = libmca_pcm_rsh.la
|
||||
module_install =
|
||||
component_noinst = libmca_pcm_rsh.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_pcm_rsh_la_SOURCES =
|
||||
mca_pcm_rsh_la_LIBADD = \
|
||||
src/libmca_pcm_rsh.la \
|
||||
$(LIBOMPI_LA)
|
||||
mca_pcm_rsh_la_LIBADD = src/libmca_pcm_rsh.la $(LIBOMPI_LA)
|
||||
mca_pcm_rsh_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_pcm_rsh_la_SOURCES =
|
||||
libmca_pcm_rsh_la_LIBADD = src/libmca_pcm_rsh.la
|
||||
libmca_pcm_rsh_la_LDFLAGS = -module -avoid-version
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level OMPI Makefile.options
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
@ -10,27 +10,25 @@ SUBDIRS = src
|
||||
|
||||
EXTRA_DIST = VERSION
|
||||
|
||||
# According to the MCA spec, we have to make the output library here
|
||||
# in the top-level directory, and it has to be named
|
||||
# libompi_ssi_coll_ompi_basic.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_pml_teg_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_pml_teg.la
|
||||
if OMPI_BUILD_pml_teg_DSO
|
||||
component_noinst =
|
||||
component_install = mca_pml_teg.la
|
||||
else
|
||||
module_noinst = libmca_pml_teg.la
|
||||
module_install =
|
||||
component_noinst = libmca_pml_teg.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_pml_teg_la_SOURCES =
|
||||
mca_pml_teg_la_LIBADD = \
|
||||
src/libmca_pml_teg.la \
|
||||
$(LIBOMPI_LA)
|
||||
mca_pml_teg_la_LIBADD = src/libmca_pml_teg.la $(LIBOMPI_LA)
|
||||
mca_pml_teg_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_pml_teg_la_SOURCES =
|
||||
libmca_pml_teg_la_LIBADD = src/libmca_pml_teg.la
|
||||
libmca_pml_teg_la_LDFLAGS = -module -avoid-version
|
||||
|
@ -2,13 +2,10 @@
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level OMPI Makefile.options
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
# JMS:
|
||||
# CPPFLAGS including -I$(top_ompi_builddir)/src/include, etc
|
||||
# does not seem to be passed down
|
||||
AM_CPPFLAGS = -I$(top_ompi_builddir)/src/include \
|
||||
-I$(top_ompi_srcdir)/src -I$(top_ompi_srcdir)/src/include \
|
||||
-I/usr/lib/qsnet/elan4/include
|
||||
@ -17,29 +14,25 @@ SUBDIRS = src
|
||||
|
||||
EXTRA_DIST = VERSION
|
||||
|
||||
# According to the MCA spec, we have to make the output library here
|
||||
# in the top-level directory, and it has to be named
|
||||
# libompi_ssi_coll_ompi_basic.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_ptl_elan_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_ptl_elan.la
|
||||
if OMPI_BUILD_ptl_elan_DSO
|
||||
component_noinst =
|
||||
component_install = mca_ptl_elan.la
|
||||
else
|
||||
module_noinst = libmca_ptl_elan.la
|
||||
module_install =
|
||||
component_noinst = libmca_ptl_elan.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_ptl_elan_la_SOURCES =
|
||||
mca_ptl_elan_la_LIBADD = \
|
||||
src/libmca_ptl_elan.la \
|
||||
$(LIBOMPI_LA)
|
||||
mca_ptl_elan_la_LIBADD = src/libmca_ptl_elan.la $(LIBOMPI_LA)
|
||||
mca_ptl_elan_la_LDFLAGS = -module -avoid-version
|
||||
#-lelan -lelanctrl -lrms -lrmscall -lelan4
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_ptl_elan_la_SOURCES =
|
||||
libmca_ptl_elan_la_LIBADD = src/libmca_ptl_elan.la
|
||||
libmca_ptl_elan_la_LDFLAGS = -module -avoid-version
|
||||
#-lelan -lelanctrl -lrms -lrmscall -lelan4
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level OpenMPI Makefile.options
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
@ -10,27 +10,25 @@ SUBDIRS = src
|
||||
|
||||
EXTRA_DIST = VERSION
|
||||
|
||||
# According to the MCA spec, we have to make the output library here
|
||||
# in the top-level directory, and it has to be named
|
||||
# libompi_ssi_coll_ompi_basic.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_ptl_gm_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_ptl_gm.la
|
||||
if OMPI_BUILD_ptl_gm_DSO
|
||||
component_noinst =
|
||||
component_install = mca_ptl_gm.la
|
||||
else
|
||||
module_noinst = libmca_ptl_gm.la
|
||||
module_install =
|
||||
component_noinst = libmca_ptl_gm.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_ptl_gm_la_SOURCES =
|
||||
mca_ptl_gm_la_LIBADD = \
|
||||
src/libmca_ptl_gm.la \
|
||||
$(LIBOMPI_LA)
|
||||
mca_ptl_gm_la_LIBADD = src/libmca_ptl_gm.la $(LIBOMPI_LA)
|
||||
mca_ptl_gm_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_ptl_gm_la_SOURCES =
|
||||
libmca_ptl_gm_la_LIBADD = src/libmca_ptl_gm.la
|
||||
libmca_ptl_gm_la_LDFLAGS = -module -avoid-version
|
||||
|
@ -8,40 +8,128 @@
|
||||
# configure script.
|
||||
#
|
||||
AC_DEFUN([MCA_CONFIGURE_STUB],[
|
||||
#
|
||||
# gm ptl configure.stub
|
||||
#
|
||||
|
||||
#
|
||||
# ...do whatever you need to do here, like look for the Elan4
|
||||
# libraries and header files. Built-in tests such as AC_CHECK_LIBS
|
||||
# and AC_CHECK_HEADERS may be useful here. See the Autoconf docs ...
|
||||
#
|
||||
echo "Hello from gm configure.stub:MCA-CONFIGURE-STUB!"
|
||||
# Additional --with flags that can be specified
|
||||
|
||||
#
|
||||
# done with gm ptl configure.stub
|
||||
#
|
||||
])dnl
|
||||
|
||||
|
||||
#
|
||||
# Since MCA_CONFIGURE_STUB is not invoked when we are configured with
|
||||
# --enable dist, we provide this alternate macro is that invoked
|
||||
# instead. Not all modules will need this -- probably only modules
|
||||
# thaty use AM_CONDITIONALS will require doing anything here. If you
|
||||
# don't need it, you can remove this whole AC_DEFUN.
|
||||
#
|
||||
AC_DEFUN([MCA_CONFIGURE_DIST_STUB],[
|
||||
#
|
||||
# gm ptl configure-dist.stub
|
||||
#
|
||||
|
||||
# ...probably only need this if have AM_CONDITIONALs in the
|
||||
# MCA_CONFIGURE_STUB.
|
||||
echo "Hello from gm configure.stub:MCA-CONFIGURE-DIST-STUB!"
|
||||
|
||||
#
|
||||
# done with gm ptl configure-dist.stub
|
||||
#
|
||||
AC_ARG_WITH(ptl-gm,
|
||||
AC_HELP_STRING([--with-ptl-gm=DIR],
|
||||
[Specify the installation directory of GM]))
|
||||
AC_ARG_WITH(ptl-gm-libdir,
|
||||
AC_HELP_STRING([--with-ptl-gm-libdir=DIR],
|
||||
[directory where the GM library can be found, if it is not in \$GMDIR/lib or \$GMDIR/binary/lib]))
|
||||
|
||||
# Add to CPPFLAGS if necessary
|
||||
|
||||
EXTRA_CPPFLAGS=
|
||||
if test -n "$with_ptl_gm"; then
|
||||
if test -d "$with_ptl_gm/include"; then
|
||||
EXTRA_CPPFLAGS="-I$with_ptl_gm/include"
|
||||
else
|
||||
AC_MSG_WARN([*** Warning: cannot find $with_ptl_gm/include])
|
||||
AC_MSG_WARN([*** Will still try to configure gm ptl anyway...])
|
||||
fi
|
||||
fi
|
||||
|
||||
# See if we can find gm.h
|
||||
|
||||
CPPFLAGS="$CPPFLAGS $EXTRA_CPPFLAGS"
|
||||
AC_CHECK_HEADERS(gm.h,,
|
||||
AC_MSG_ERROR([*** Cannot find working gm.h.]))
|
||||
|
||||
# Add to LDFLAGS if necessary
|
||||
|
||||
EXTRA_LDFLAGS=
|
||||
if test -n "$with_ptl_gm_libdir"; then
|
||||
if test -d "$with_ptl_gm_libdir/lib"; then
|
||||
EXTRA_LDFLAGS="-L$with_ptl_gm_libdir/lib"
|
||||
elif test -d "$with_ptl_bm_libdir/binary/lib"; then
|
||||
EXTRA_LDFLAGS="-L$with_ptl_gm_libdir/binary/lib"
|
||||
else
|
||||
AC_MSG_WARN([*** Warning: cannot find $with_ptl_gm_libdir/lib])
|
||||
AC_MSG_WARN([*** or $with_ptl_gm_libdir/binary/lib])
|
||||
AC_MSG_WARN([*** Will still try to configure gm ptl anyway...])
|
||||
fi
|
||||
elif test -n "$with_ptl_gm"; then
|
||||
if test -d "$with_ptl_gm/lib"; then
|
||||
EXTRA_LDFLAGS="-L$with_ptl_gm/lib"
|
||||
elif test -d "$with_ptl_bm/binary/lib"; then
|
||||
EXTRA_LDFLAGS="-L$with_ptl_gm/binary/lib"
|
||||
else
|
||||
AC_MSG_WARN([*** Warning: cannot find $with_ptl_gm/lib])
|
||||
AC_MSG_WARN([*** or $with_ptl_gm/binary/lib])
|
||||
AC_MSG_WARN([*** Will still try to configure gm ptl anyway...])
|
||||
fi
|
||||
fi
|
||||
|
||||
# Try to find libgm
|
||||
|
||||
LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS"
|
||||
AC_CHECK_LIB([gm], [main], [],
|
||||
AC_MSG_ERROR([*** Cannot find libgm]))
|
||||
|
||||
#
|
||||
# See if we have GM_API_VERSION. If we do, use it. If not, find the
|
||||
# highest one available. It seems that GM_API_VERSION was introduced
|
||||
# somewhere after 1.3 but before 1.6. :-\
|
||||
#
|
||||
|
||||
AC_MSG_CHECKING(for GM_API_VERSION)
|
||||
AC_TRY_COMPILE([#include<gm.h>],
|
||||
[int foo = GM_API_VERSION;],
|
||||
have_gm_api_ver_msg=yes gm_api_ver=GM_API_VERSION,
|
||||
have_gm_api_ver_msg=no gm_api_ver="")
|
||||
AC_MSG_RESULT([$have_gm_api_ver_msg])
|
||||
if test "$gm_api_ver" = ""; then
|
||||
found=0
|
||||
for val in 5 4 3; do
|
||||
if test "$found" = "0"; then
|
||||
var="GM_API_VERSION_1_$val"
|
||||
AC_MSG_CHECKING(for $var)
|
||||
AC_TRY_COMPILE([#include<gm.h>],
|
||||
[int foo = $var;],
|
||||
msg=yes found=1 gm_api_ver=$var,
|
||||
msg=no found=0 gm_api_ver="")
|
||||
AC_MSG_RESULT($msg)
|
||||
fi
|
||||
done
|
||||
fi
|
||||
if test "$gm_api_ver" = ""; then
|
||||
AC_MSG_WARN([*** Could not find a supported GM_API_VERSION])
|
||||
AC_MSG_ERROR([*** Cannot continue])
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED(OMPI_MCA_PTL_GM_API_VERSION, $gm_api_ver,
|
||||
[Version of the GM API to use])
|
||||
unset gm_api_ver have_gm_api_ver_msg found val msg
|
||||
|
||||
#
|
||||
# Do we have gm_put()?
|
||||
# gm_put() was introduced in gm 2.0, and is exactly identical to gm
|
||||
# 1.6's gm_directed_send_with_callback(). The name was simply changed
|
||||
# for consistency/symmtery with gm_get().
|
||||
#
|
||||
|
||||
AC_MSG_CHECKING([for gm_put()])
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include<gm.h>
|
||||
]],
|
||||
[[gm_put(0, 0, 0, 0, 0, 0, 0, 0, 0);]])],
|
||||
[HAVE_RDMA_PUT=1 MSG=yes],
|
||||
[HAVE_RDMA_PUT=0 MSG="no, use gm_directed_send_with_callback()"])
|
||||
AC_DEFINE_UNQUOTED(OMPI_MCA_PTL_GM_HAVE_RDMA_PUT, $HAVE_RDMA_PUT,
|
||||
[Whether we have gm_put() or gm_directed_send_with_callback()])
|
||||
AC_MSG_RESULT([$MSG])
|
||||
|
||||
#
|
||||
# Do we have gm_get()?
|
||||
# gm_get() was introduced in gm 2.0.
|
||||
#
|
||||
|
||||
AC_MSG_CHECKING([for gm_get()])
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include<gm.h>
|
||||
]],
|
||||
[[gm_get(0, 0, 0, 0, 0, 0, 0, 0, 0);]])],
|
||||
[HAVE_RDMA_GET=1 MSG=yes],
|
||||
[HAVE_RDMA_GET=0 MSG=no])
|
||||
AC_DEFINE_UNQUOTED(OMPI_MCA_PTL_GM_HAVE_RDMA_GET, $HAVE_RDMA_GET,
|
||||
[Whether we have get_get() or not])
|
||||
AC_MSG_RESULT([$MSG])
|
||||
])dnl
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level OpenMPI Makefile.options
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
@ -10,27 +10,25 @@ SUBDIRS = src
|
||||
|
||||
EXTRA_DIST = VERSION
|
||||
|
||||
# According to the MCA spec, we have to make the output library here
|
||||
# in the top-level directory, and it has to be named
|
||||
# libompi_ssi_coll_ompi_basic.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_ptl_self_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_ptl_self.la
|
||||
if OMPI_BUILD_ptl_self_DSO
|
||||
component_noinst =
|
||||
component_install = mca_ptl_self.la
|
||||
else
|
||||
module_noinst = libmca_ptl_self.la
|
||||
module_install =
|
||||
component_noinst = libmca_ptl_self.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_ptl_self_la_SOURCES =
|
||||
mca_ptl_self_la_LIBADD = \
|
||||
src/libmca_ptl_self.la \
|
||||
$(LIBOMPI_LA)
|
||||
mca_ptl_self_la_LIBADD = src/libmca_ptl_self.la $(LIBOMPI_LA)
|
||||
mca_ptl_self_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_ptl_self_la_SOURCES =
|
||||
libmca_ptl_self_la_LIBADD = src/libmca_ptl_self.la
|
||||
libmca_ptl_self_la_LDFLAGS = -module -avoid-version
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level OMPI Makefile.options
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
@ -10,27 +10,25 @@ SUBDIRS = src
|
||||
|
||||
EXTRA_DIST = VERSION
|
||||
|
||||
# According to the MCA spec, we have to make the output library here
|
||||
# in the top-level directory, and it has to be named
|
||||
# libompi_ssi_coll_ompi_basic.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_ptl_sm_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_ptl_sm.la
|
||||
if OMPI_BUILD_ptl_sm_DSO
|
||||
component_noinst =
|
||||
component_install = mca_ptl_sm.la
|
||||
else
|
||||
module_noinst = libmca_ptl_sm.la
|
||||
module_install =
|
||||
component_noinst = libmca_ptl_sm.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_ptl_sm_la_SOURCES =
|
||||
mca_ptl_sm_la_LIBADD = \
|
||||
src/libmca_ptl_sm.la \
|
||||
$(LIBOMPI_LA)
|
||||
mca_ptl_sm_la_LIBADD = src/libmca_ptl_sm.la $(LIBOMPI_LA)
|
||||
mca_ptl_sm_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_ptl_sm_la_SOURCES =
|
||||
libmca_ptl_sm_la_LIBADD = src/libmca_ptl_sm.la
|
||||
libmca_ptl_sm_la_LDFLAGS = -module -avoid-version
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level OMPI Makefile.options
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
@ -10,27 +10,25 @@ SUBDIRS = src
|
||||
|
||||
EXTRA_DIST = VERSION
|
||||
|
||||
# According to the MCA spec, we have to make the output library here
|
||||
# in the top-level directory, and it has to be named
|
||||
# libompi_ssi_coll_ompi_basic.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_ptl_tcp_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_ptl_tcp.la
|
||||
if OMPI_BUILD_ptl_tcp_DSO
|
||||
component_noinst =
|
||||
component_install = mca_ptl_tcp.la
|
||||
else
|
||||
module_noinst = libmca_ptl_tcp.la
|
||||
module_install =
|
||||
component_noinst = libmca_ptl_tcp.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_ptl_tcp_la_SOURCES =
|
||||
mca_ptl_tcp_la_LIBADD = \
|
||||
src/libmca_ptl_tcp.la \
|
||||
$(LIBOMPI_LA)
|
||||
mca_ptl_tcp_la_LIBADD = src/libmca_ptl_tcp.la $(LIBOMPI_LA)
|
||||
mca_ptl_tcp_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_ptl_tcp_la_SOURCES =
|
||||
libmca_ptl_tcp_la_LIBADD = src/libmca_ptl_tcp.la
|
||||
libmca_ptl_tcp_la_LDFLAGS = -module -avoid-version
|
||||
|
@ -1,9 +1,8 @@
|
||||
# -*- makefile -*-
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Use the top-level OMPI Makefile.options
|
||||
# Use the top-level Makefile.options
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
@ -11,27 +10,25 @@ SUBDIRS = src
|
||||
|
||||
EXTRA_DIST = VERSION
|
||||
|
||||
# According to the MCA spec, we have to make the output library here
|
||||
# in the top-level directory, and it has to be named
|
||||
# libompi_ssi_topo_ompi_unity.la
|
||||
# Make the output library in this directory, and name it either
|
||||
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
||||
# (for static builds).
|
||||
|
||||
if OMPI_BUILD_topo_unity_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_topo_unity.la
|
||||
if OMPI_BUILD_topo_unity_DSO
|
||||
component_noinst =
|
||||
component_install = mca_topo_unity.la
|
||||
else
|
||||
module_noinst = libmca_topo_unity.la
|
||||
module_install =
|
||||
component_noinst = libmca_topo_unity.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mcacomponentdir = $(libdir)/openmpi
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_topo_unity_la_SOURCES =
|
||||
mca_topo_unity_la_LIBADD = \
|
||||
src/libmca_topo_unity.la \
|
||||
$(LIBMPI_LA)
|
||||
mca_topo_unity_la_LIBADD = src/libmca_topo_unity.la $(LIBMPI_LA)
|
||||
mca_topo_unity_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_topo_unity_la_SOURCES =
|
||||
libmca_topo_unity_la_LIBADD = src/libmca_topo_unity.la
|
||||
libmca_topo_unity_la_LDFLAGS = -module -avoid-version
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user