First cut at skeleton gm ptl component
This commit was SVN r1387.
Этот коммит содержится в:
родитель
12a35e4a82
Коммит
b11a442008
0
src/mca/ptl/gm/.ompi_ignore
Обычный файл
0
src/mca/ptl/gm/.ompi_ignore
Обычный файл
28
src/mca/ptl/gm/Makefile.am
Обычный файл
28
src/mca/ptl/gm/Makefile.am
Обычный файл
@ -0,0 +1,28 @@
|
|||||||
|
# -*- makefile -*-
|
||||||
|
#
|
||||||
|
# $HEADER$
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(top_ompi_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
|
sources = \
|
||||||
|
ptl_gm.c
|
||||||
|
|
||||||
|
if OMPI_BUILD_ptl_gm_LOADABLE_MODULE
|
||||||
|
module_noinst =
|
||||||
|
module_install = mca_ptl_gm.la
|
||||||
|
else
|
||||||
|
module_noinst = libmca_ptl_gm.la
|
||||||
|
module_install =
|
||||||
|
endif
|
||||||
|
|
||||||
|
mcamoduledir = $(libdir)/openmpi
|
||||||
|
mcamodule_LTLIBRARIES = $(module_install)
|
||||||
|
mca_ptl_gm_la_SOURCES = $(sources)
|
||||||
|
mca_ptl_gm_la_LIBADD = $(LIBOMPI_LA)
|
||||||
|
mca_ptl_gm_la_LDFLAGS = -module -avoid-version
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = $(module_noinst)
|
||||||
|
libmca_ptl_gm_la_SOURCES = $(sources)
|
||||||
|
libmca_ptl_gm_la_LDFLAGS = -module -avoid-version
|
||||||
|
|
6
src/mca/ptl/gm/VERSION
Обычный файл
6
src/mca/ptl/gm/VERSION
Обычный файл
@ -0,0 +1,6 @@
|
|||||||
|
major=1
|
||||||
|
minor=0
|
||||||
|
release=0
|
||||||
|
alpha=0
|
||||||
|
beta=0
|
||||||
|
svn=1
|
10
src/mca/ptl/gm/configure.params
Обычный файл
10
src/mca/ptl/gm/configure.params
Обычный файл
@ -0,0 +1,10 @@
|
|||||||
|
# -*- shell-script -*-
|
||||||
|
#
|
||||||
|
# $HEADER$
|
||||||
|
#
|
||||||
|
|
||||||
|
# Specific to this module
|
||||||
|
|
||||||
|
PARAM_INIT_FILE=src/ptl_gm.c
|
||||||
|
PARAM_CONFIG_HEADER_FILE="gm_config.h"
|
||||||
|
PARAM_CONFIG_FILES="Makefile"
|
47
src/mca/ptl/gm/configure.stub
Обычный файл
47
src/mca/ptl/gm/configure.stub
Обычный файл
@ -0,0 +1,47 @@
|
|||||||
|
# -*- shell-script -*-
|
||||||
|
#
|
||||||
|
# $HEADER$
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Main function. This will be invoked in the middle of the templated
|
||||||
|
# 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!"
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
])dnl
|
1
src/mca/ptl/gm/ptl_gm.c
Обычный файл
1
src/mca/ptl/gm/ptl_gm.c
Обычный файл
@ -0,0 +1 @@
|
|||||||
|
/* This is the gm component */
|
Загрузка…
x
Ссылка в новой задаче
Block a user