Merge pull request #6158 from ggouaillardet/topic/mpiext-path-updates
mpiext: updates for header file locations
Этот коммит содержится в:
Коммит
6f7fbd1676
@ -405,11 +405,15 @@ AC_DEFUN([EXT_CONFIGURE_M4_CONFIG_COMPONENT],[
|
||||
#--------------------
|
||||
#
|
||||
# C:
|
||||
# - c/mpiext_<component>_c.h: is included in mpi_ext.h
|
||||
# - c/mpiext_<component>_c.h: is installed to
|
||||
# <includedir>/openmpi/mpiext/mpiext_<component>_c.h and is included in
|
||||
# mpi_ext.h
|
||||
# - c/libmpiext_<component>.la: convneience library slurped into libmpi.la
|
||||
#
|
||||
# mpi.f.h:
|
||||
# - mpif-h/<component>_mpifh.h: is included mpi mpif_ext.h
|
||||
# - mpif-h/mpiext_<component>_mpifh.h: is installed to
|
||||
# <includedir>openmpi/mpiext/mpiext_<component>_mpifh.h and is included mpi
|
||||
# mpif_ext.h
|
||||
# - mpif-h/libmpiext_<component>_mpifh.la: convenience library slurped
|
||||
# into libmpi_mpifh.la
|
||||
#
|
||||
@ -461,7 +465,7 @@ AC_DEFUN([EXT_PROCESS_COMPONENT],[
|
||||
###############
|
||||
# C Bindings
|
||||
###############
|
||||
test_header="${srcdir}/ompi/mpiext/${component}/c/${component}_c.h"
|
||||
test_header="${srcdir}/ompi/mpiext/${component}/c/mpiext_${component}_c.h"
|
||||
|
||||
AC_MSG_CHECKING([if MPI Extension $component has C bindings])
|
||||
|
||||
@ -479,14 +483,14 @@ AC_DEFUN([EXT_PROCESS_COMPONENT],[
|
||||
$3="$$3 $component"
|
||||
|
||||
# JMS Where is this needed?
|
||||
EXT_C_HEADERS="$EXT_C_HEADERS mpiext/c/${component}_c.h"
|
||||
EXT_C_HEADERS="$EXT_C_HEADERS mpiext/c/mpiext_${component}_c.h"
|
||||
|
||||
component_header="${component}_c.h"
|
||||
component_header="mpiext_${component}_c.h"
|
||||
|
||||
cat >> $mpi_ext_h <<EOF
|
||||
/* Enabled Extension: $component */
|
||||
#define $component_define 1
|
||||
#include "openmpi/ompi/mpiext/$component_header"
|
||||
#include "openmpi/mpiext/$component_header"
|
||||
|
||||
EOF
|
||||
|
||||
@ -497,7 +501,7 @@ EOF
|
||||
# Test if this extension has mpif.h bindings
|
||||
# If not, skip this step.
|
||||
#
|
||||
test_header="${srcdir}/ompi/mpiext/$component/mpif-h/${component}_mpifh.h"
|
||||
test_header="${srcdir}/ompi/mpiext/$component/mpif-h/mpiext_${component}_mpifh.h"
|
||||
enabled_mpifh=0
|
||||
|
||||
AC_MSG_CHECKING([if MPI Extension $component has mpif.h bindings])
|
||||
@ -506,11 +510,37 @@ EOF
|
||||
AC_MSG_RESULT([yes])
|
||||
enabled_mpifh=1
|
||||
|
||||
# JMS Where is this needed?
|
||||
EXT_MPIFH_HEADERS="$EXT_MPIFH_HEADERS mpiext/${component}_mpifh.h"
|
||||
EXT_MPIFH_HEADERS="$EXT_MPIFH_HEADERS mpiext/mpiext_${component}_mpifh.h"
|
||||
$4="$$4 $component"
|
||||
|
||||
component_header="${component}_mpifh.h"
|
||||
# Per https://github.com/open-mpi/ompi/pull/6030, we will end
|
||||
# up putting a user-visible Fortran "include" statement in the
|
||||
# installed mpif-ext.h file, and we therefore have to ensure
|
||||
# that the total length of the line is <=72 characters. Doing
|
||||
# a little math here:
|
||||
#
|
||||
# leading indent spaces: 6 chars
|
||||
# "include '": 9 chars
|
||||
# "openmpi/mpiext/mpiext_NAME_mpifh.h": without NAME, 30 chars
|
||||
# trailing "'": 1 char
|
||||
#
|
||||
# 6+9+30+1 = 46 chars overhead.
|
||||
# 72-46 = 26 characters left for NAME.
|
||||
#
|
||||
# It would be exceedingly unusual to have an MPI extension
|
||||
# name > 26 characters. But just in case, put a check here
|
||||
# to make sure: error out if the MPI extension name is > 26
|
||||
# characters (because otherwise it'll just be a really weird /
|
||||
# hard to diagnose compile error when a user tries to compile
|
||||
# a Fortran MPI application that includes `mpif-ext.h`).
|
||||
len=`echo $component | wc -c`
|
||||
result=`expr $len \> 26`
|
||||
AS_IF([test $result -eq 1],
|
||||
[AC_MSG_WARN([MPI extension name too long: $component])
|
||||
AC_MSG_WARN([For esoteric reasons, MPI Extensions with mpif.h bindings must have a name that is <= 26 characters])
|
||||
AC_MSG_ERROR([Cannot continue])])
|
||||
|
||||
component_header="mpiext_${component}_mpifh.h"
|
||||
|
||||
cat >> $mpif_ext_h <<EOF
|
||||
!
|
||||
@ -519,7 +549,7 @@ EOF
|
||||
integer $component_define
|
||||
parameter ($component_define=1)
|
||||
|
||||
include 'openmpi/ompi/mpiext/$component_header'
|
||||
include 'openmpi/mpiext/$component_header'
|
||||
|
||||
EOF
|
||||
else
|
||||
@ -550,7 +580,6 @@ EOF
|
||||
if test -e "$test_header" ; then
|
||||
AC_MSG_RESULT([yes])
|
||||
|
||||
# JMS Where is this needed?
|
||||
EXT_USEMPI_HEADERS="$EXT_USEMPI_HEADERS mpiext/$component/use-mpi/mpiext_${component}_usempi.h"
|
||||
$5="$$5 $component"
|
||||
component_header="mpiext_${component}_usempi.h"
|
||||
@ -566,7 +595,7 @@ EOF
|
||||
# srcdir is needed to find the header.
|
||||
#
|
||||
if test "$enabled_mpifh" = 1; then
|
||||
mpifh_component_header="${component}_mpifh.h"
|
||||
mpifh_component_header="mpiext_${component}_mpifh.h"
|
||||
cat >> $mpiusempi_ext_h <<EOF
|
||||
#include "${srcdir}/ompi/mpiext/$component/mpif-h/$mpifh_component_header"
|
||||
EOF
|
||||
@ -602,7 +631,6 @@ EOF
|
||||
if test -e "$test_header" ; then
|
||||
AC_MSG_RESULT([yes])
|
||||
|
||||
# JMS Where is this needed?
|
||||
EXT_USEMPIF08_HEADERS="$EXT_USEMPIF08_HEADERS mpiext/$component/use-mpi-f08/mpiext_${component}_usempif08.h"
|
||||
$6="$$6 $component"
|
||||
|
||||
@ -619,7 +647,7 @@ EOF
|
||||
# the srcdir is needed to find the header.
|
||||
#
|
||||
if test "$enabled_mpifh" = 1; then
|
||||
mpifh_component_header="${component}_mpifh.h"
|
||||
mpifh_component_header="mpiext_${component}_mpifh.h"
|
||||
cat >> $mpiusempif08_ext_h <<EOF
|
||||
#include "${srcdir}/ompi/mpiext/$component/mpif-h/$mpifh_component_header"
|
||||
EOF
|
||||
|
@ -32,10 +32,10 @@ noinst_LTLIBRARIES = libmpiext_affinity_c.la
|
||||
|
||||
# This is where the top-level header file (that is included in
|
||||
# <mpi-ext.h>) must be installed.
|
||||
ompidir = $(ompiincludedir)/ompi/mpiext
|
||||
ompidir = $(ompiincludedir)/mpiext/
|
||||
|
||||
# This is the header file that is installed.
|
||||
ompi_HEADERS = affinity_c.h
|
||||
ompi_HEADERS = mpiext_affinity_c.h
|
||||
|
||||
# Sources for the convenience libtool library. Other than the one
|
||||
# header file, all source files in the extension have no file naming
|
||||
|
@ -6,8 +6,8 @@
|
||||
* Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012 Los Alamos National Security, LLC. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2015-2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* Copyright (c) 2015-2017 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* Copyright (c) 2015-2017 Intel, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
@ -37,7 +37,7 @@
|
||||
#include "ompi/errhandler/errhandler.h"
|
||||
#include "ompi/mca/rte/rte.h"
|
||||
#include "ompi/mpi/c/bindings.h"
|
||||
#include "ompi/mpiext/affinity/c/affinity_c.h"
|
||||
#include "ompi/mpiext/affinity/c/mpiext_affinity_c.h"
|
||||
|
||||
static const char FUNC_NAME[] = "OMPI_Affinity";
|
||||
static const char ompi_nobind_str[] = "Open MPI did not bind this process";
|
||||
|
@ -24,10 +24,10 @@ noinst_LTLIBRARIES = libmpiext_cr_c.la
|
||||
|
||||
# This is where the top-level header file (that is included in
|
||||
# <mpi-ext.h>) must be installed.
|
||||
ompidir = $(ompiincludedir)/ompi/mpiext
|
||||
ompidir = $(ompiincludedir)/mpiext
|
||||
|
||||
# This is the header file that is installed.
|
||||
ompi_HEADERS = cr_c.h
|
||||
ompi_HEADERS = mpiext_cr_c.h
|
||||
|
||||
# Sources for the convenience libtool library. Other than the one
|
||||
# header file, all source files in the extension have no file naming
|
||||
|
@ -3,8 +3,6 @@
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -20,7 +18,7 @@
|
||||
#include "ompi/communicator/communicator.h"
|
||||
#include "orte/mca/snapc/snapc.h"
|
||||
|
||||
#include "ompi/mpiext/cr/c/cr_c.h"
|
||||
#include "ompi/mpiext/cr/c/mpiext_cr_c.h"
|
||||
|
||||
static const char FUNC_NAME[] = "OMPI_CR_Checkpoint";
|
||||
#define HANDLE_SIZE_MAX 256
|
||||
|
@ -3,8 +3,6 @@
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -16,7 +14,7 @@
|
||||
|
||||
#include "ompi/mpi/c/bindings.h"
|
||||
#include "opal/runtime/opal_cr.h"
|
||||
#include "ompi/mpiext/cr/c/cr_c.h"
|
||||
#include "ompi/mpiext/cr/c/mpiext_cr_c.h"
|
||||
|
||||
#include "ompi/runtime/params.h"
|
||||
#include "ompi/communicator/communicator.h"
|
||||
|
@ -3,8 +3,6 @@
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2012-2018 Cisco Systems, Inc. All rights reserved
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -22,7 +20,7 @@
|
||||
#include "ompi/communicator/communicator.h"
|
||||
#include "orte/mca/snapc/snapc.h"
|
||||
|
||||
#include "ompi/mpiext/cr/c/cr_c.h"
|
||||
#include "ompi/mpiext/cr/c/mpiext_cr_c.h"
|
||||
|
||||
static const char FUNC_NAME[] = "OMPI_CR_Migrate";
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -20,7 +18,7 @@
|
||||
#include "ompi/communicator/communicator.h"
|
||||
#include "orte/mca/snapc/snapc.h"
|
||||
|
||||
#include "ompi/mpiext/cr/c/cr_c.h"
|
||||
#include "ompi/mpiext/cr/c/mpiext_cr_c.h"
|
||||
|
||||
static const char FUNC_NAME[] = "OMPI_CR_Quiesce_checkpoint";
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -20,7 +18,7 @@
|
||||
#include "ompi/communicator/communicator.h"
|
||||
#include "orte/mca/snapc/snapc.h"
|
||||
|
||||
#include "ompi/mpiext/cr/c/cr_c.h"
|
||||
#include "ompi/mpiext/cr/c/mpiext_cr_c.h"
|
||||
|
||||
static const char FUNC_NAME[] = "OMPI_CR_Quiesce_end";
|
||||
|
||||
|
@ -7,8 +7,6 @@
|
||||
* reserved.
|
||||
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2016-2017 IBM Corporation. All rights reserved.
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -24,7 +22,7 @@
|
||||
#include "ompi/communicator/communicator.h"
|
||||
#include "orte/mca/snapc/snapc.h"
|
||||
|
||||
#include "ompi/mpiext/cr/c/cr_c.h"
|
||||
#include "ompi/mpiext/cr/c/mpiext_cr_c.h"
|
||||
|
||||
static const char FUNC_NAME[] = "OMPI_CR_Quiesce_start";
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -20,7 +18,7 @@
|
||||
#include "ompi/communicator/communicator.h"
|
||||
#include "orte/mca/snapc/snapc.h"
|
||||
|
||||
#include "ompi/mpiext/cr/c/cr_c.h"
|
||||
#include "ompi/mpiext/cr/c/mpiext_cr_c.h"
|
||||
|
||||
static const char FUNC_NAME[] = "OMPI_CR_Restart";
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -16,7 +14,7 @@
|
||||
|
||||
#include "ompi/mpi/c/bindings.h"
|
||||
#include "opal/runtime/opal_cr.h"
|
||||
#include "ompi/mpiext/cr/c/cr_c.h"
|
||||
#include "ompi/mpiext/cr/c/mpiext_cr_c.h"
|
||||
|
||||
#include "ompi/runtime/params.h"
|
||||
#include "ompi/communicator/communicator.h"
|
||||
|
@ -3,8 +3,6 @@
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -16,7 +14,7 @@
|
||||
|
||||
#include "ompi/mpi/c/bindings.h"
|
||||
#include "opal/runtime/opal_cr.h"
|
||||
#include "ompi/mpiext/cr/c/cr_c.h"
|
||||
#include "ompi/mpiext/cr/c/mpiext_cr_c.h"
|
||||
|
||||
#include "ompi/runtime/params.h"
|
||||
#include "ompi/communicator/communicator.h"
|
||||
|
@ -3,8 +3,6 @@
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -16,7 +14,7 @@
|
||||
|
||||
#include "ompi/mpi/c/bindings.h"
|
||||
#include "opal/runtime/opal_cr.h"
|
||||
#include "ompi/mpiext/cr/c/cr_c.h"
|
||||
#include "ompi/mpiext/cr/c/mpiext_cr_c.h"
|
||||
|
||||
#include "ompi/runtime/params.h"
|
||||
#include "ompi/communicator/communicator.h"
|
||||
|
@ -27,10 +27,10 @@ noinst_LTLIBRARIES = libmpiext_cuda_c.la
|
||||
|
||||
# This is where the top-level header file (that is included in
|
||||
# <mpi-ext.h>) must be installed.
|
||||
ompidir = $(ompiincludedir)/ompi/mpiext
|
||||
ompidir = $(ompiincludedir)/mpiext
|
||||
|
||||
# This is the header file that is installed.
|
||||
nodist_ompi_HEADERS = cuda_c.h
|
||||
nodist_ompi_HEADERS = mpiext_cuda_c.h
|
||||
|
||||
# Sources for the convenience libtool library. Other than the one
|
||||
# header file, all source files in the extension have no file naming
|
||||
|
@ -7,8 +7,6 @@
|
||||
* Copyright (c) 2012 Los Alamos National Security, LLC. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2015 NVIDIA, Inc. All rights reserved.
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -23,7 +21,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "opal/constants.h"
|
||||
#include "ompi/mpiext/cuda/c/cuda_c.h"
|
||||
#include "ompi/mpiext/cuda/c/mpiext_cuda_c.h"
|
||||
|
||||
/* If CUDA-aware support is configured in, return 1. Otherwise, return 0.
|
||||
* This API may be extended to return more features in the future. */
|
||||
|
@ -5,8 +5,6 @@
|
||||
# Copyright (c) 2012-2015 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2015 Intel, Inc. All rights reserved.
|
||||
# Copyright (c) 2015 NVIDIA, Inc. All rights reserved.
|
||||
# Copyright (c) 2018 Research Organization for Information Science
|
||||
# and Technology (RIST). All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
@ -19,7 +17,7 @@
|
||||
AC_DEFUN([OMPI_MPIEXT_cuda_CONFIG],[
|
||||
AC_CONFIG_FILES([ompi/mpiext/cuda/Makefile])
|
||||
AC_CONFIG_FILES([ompi/mpiext/cuda/c/Makefile])
|
||||
AC_CONFIG_HEADER([ompi/mpiext/cuda/c/cuda_c.h])
|
||||
AC_CONFIG_HEADER([ompi/mpiext/cuda/c/mpiext_cuda_c.h])
|
||||
|
||||
AC_DEFINE_UNQUOTED([MPIX_CUDA_AWARE_SUPPORT],[$CUDA_SUPPORT],
|
||||
[Macro that is set to 1 when CUDA-aware support is configured in and 0 when it is not])
|
||||
|
@ -73,17 +73,17 @@ directory name: ompi/mpiext/<extension name>
|
||||
Under this top-level directory, the extension *must* have a directory
|
||||
named "c" (for the C bindings) that:
|
||||
|
||||
- contains a file named <ext_name>_c.h
|
||||
- installs <ext_name>_c.h to
|
||||
$includedir/openmpi/mpiext/c
|
||||
- contains a file named mpiext_<ext_name>_c.h
|
||||
- installs mpiext_<ext_name>_c.h to
|
||||
$includedir/openmpi/mpiext/<ext_name>/c
|
||||
- builds a Libtool convenience library named libmpiext_<ext_name>_c.la
|
||||
|
||||
Optionally, the extension may have a director named "mpif-h" (for the
|
||||
Fortran mpif.h bindings) that:
|
||||
|
||||
- contains a file named <ext_name>_mpifh.h
|
||||
- installs <ext_name>_mpih.h to
|
||||
$includedir/openmpi/mpiext
|
||||
- contains a file named mpiext_<ext_name>_mpifh.h
|
||||
- installs mpiext_<ext_name>_mpih.h to
|
||||
$includedir/openmpi/mpiext/<ext_name>/mpif-h
|
||||
- builds a Libtool convenience library named libmpiext_<ext_name>_mpifh.la
|
||||
|
||||
Optionally, the extension may have a director named "use-mpi" (for the
|
||||
|
@ -25,10 +25,10 @@ noinst_LTLIBRARIES = libmpiext_example_c.la
|
||||
|
||||
# This is where the top-level header file (that is included in
|
||||
# <mpi-ext.h>) must be installed.
|
||||
ompidir = $(ompiincludedir)/ompi/mpiext
|
||||
ompidir = $(ompiincludedir)/mpiext
|
||||
|
||||
# This is the header file that is installed.
|
||||
ompi_HEADERS = example_c.h
|
||||
ompi_HEADERS = mpiext_example_c.h
|
||||
|
||||
# Sources for the convenience libtool library. Other than the one
|
||||
# header file, all source files in the extension have no file naming
|
||||
|
@ -4,8 +4,6 @@
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
|
||||
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -25,7 +23,7 @@
|
||||
|
||||
#include "ompi/mpi/c/bindings.h"
|
||||
#include "ompi/mpiext/mpiext.h"
|
||||
#include "ompi/mpiext/example/c/example_c.h"
|
||||
#include "ompi/mpiext/example/c/mpiext_example_c.h"
|
||||
|
||||
/*
|
||||
* The init/fini functions and the component struct are not required,
|
||||
|
@ -4,8 +4,8 @@
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
|
||||
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2015-2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* Copyright (c) 2015 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -25,7 +25,7 @@
|
||||
|
||||
#include "ompi/mpi/c/bindings.h"
|
||||
#include "ompi/mpiext/mpiext.h"
|
||||
#include "ompi/mpiext/example/c/example_c.h"
|
||||
#include "ompi/mpiext/example/c/mpiext_example_c.h"
|
||||
|
||||
static const char FUNC_NAME[] = "OMPI_Progress";
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -16,7 +14,7 @@
|
||||
|
||||
#include "ompi/mpi/c/bindings.h"
|
||||
#include "ompi/mpiext/mpiext.h"
|
||||
#include "ompi/mpiext/example/c/example_c.h"
|
||||
#include "ompi/mpiext/example/mpiext_example_c.h"
|
||||
|
||||
static const char FUNC_NAME[] = "OMPI_Progress";
|
||||
|
||||
|
@ -28,7 +28,7 @@ noinst_LTLIBRARIES =
|
||||
|
||||
# Directory where the header file to be included in mpif-ext.h must be
|
||||
# installed.
|
||||
ompidir = $(ompiincludedir)/ompi/mpiext
|
||||
ompidir = $(ompiincludedir)/mpiext
|
||||
|
||||
# Just like noinst_LTLIBRARIES, set this macro to empty and
|
||||
# conditionally add to it later.
|
||||
@ -43,7 +43,7 @@ if OMPI_BUILD_FORTRAN_MPIFH_BINDINGS
|
||||
noinst_LTLIBRARIES += libmpiext_example_mpifh.la
|
||||
|
||||
# This is the header file that is installed.
|
||||
ompi_HEADERS += example_mpifh.h
|
||||
ompi_HEADERS += mpiext_example_mpifh.h
|
||||
|
||||
# Sources for the convenience libtool library.
|
||||
libmpiext_example_mpifh_la_SOURCES = \
|
||||
|
@ -1,8 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
|
||||
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -23,7 +21,7 @@
|
||||
#include "ompi/mpi/fortran/mpif-h/bindings.h"
|
||||
#include "ompi/mpi/fortran/base/constants.h"
|
||||
|
||||
#include "ompi/mpiext/example/c/example_c.h"
|
||||
#include "ompi/mpiext/example/c/mpiext_example_c.h"
|
||||
|
||||
/* Rather than doing a whole pile of messy things with weak symbols,
|
||||
just define one back-end function (the _f version), and then four
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# Copyright (c) 2017 FUJITSU LIMITED. All rights reserved.
|
||||
# Copyright (c) 2018 Research Organization for Information Science
|
||||
# and Technology (RIST). All rights reserved.
|
||||
# and Technology (RIST). All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
@ -23,10 +23,10 @@ noinst_LTLIBRARIES = libmpiext_pcollreq_c.la
|
||||
|
||||
# This is where the top-level header file (that is included in
|
||||
# <mpi-ext.h>) must be installed.
|
||||
ompidir = $(ompiincludedir)/ompi/mpiext
|
||||
ompidir = $(ompiincludedir)/mpiext
|
||||
|
||||
# This is the header file that is installed.
|
||||
ompi_HEADERS = pcollreq_c.h
|
||||
ompi_HEADERS = mpiext_pcollreq_c.h
|
||||
|
||||
# Sources for the convenience libtool library. Other than the one
|
||||
# header file, all source files in the extension have no file naming
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "ompi/errhandler/errhandler.h"
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "ompi/errhandler/errhandler.h"
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/op/op.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "ompi/errhandler/errhandler.h"
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "ompi/errhandler/errhandler.h"
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "ompi/errhandler/errhandler.h"
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "ompi/errhandler/errhandler.h"
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "ompi/errhandler/errhandler.h"
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "ompi/errhandler/errhandler.h"
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/op/op.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "ompi/errhandler/errhandler.h"
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "ompi/communicator/communicator.h"
|
||||
#include "ompi/errhandler/errhandler.h"
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "ompi/mca/topo/topo.h"
|
||||
#include "ompi/mca/topo/base/base.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
#if OPAL_HAVE_WEAK_SYMBOLS
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "ompi/mca/topo/topo.h"
|
||||
#include "ompi/mca/topo/base/base.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
#if OPAL_HAVE_WEAK_SYMBOLS
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "ompi/mca/topo/topo.h"
|
||||
#include "ompi/mca/topo/base/base.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
#if OPAL_HAVE_WEAK_SYMBOLS
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "ompi/mca/topo/topo.h"
|
||||
#include "ompi/mca/topo/base/base.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
#if OPAL_HAVE_WEAK_SYMBOLS
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "ompi/mca/topo/topo.h"
|
||||
#include "ompi/mca/topo/base/base.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
#if OPAL_HAVE_WEAK_SYMBOLS
|
||||
|
@ -22,10 +22,10 @@ noinst_LTLIBRARIES = libpmpiext_pcollreq_c.la
|
||||
|
||||
# This is where the top-level header file (that is included in
|
||||
# <mpi-ext.h>) must be installed.
|
||||
ompidir = $(ompiincludedir)/ompi/mpiext
|
||||
ompidir = $(ompiincludedir)/mpiext
|
||||
|
||||
# This is the header file that is installed.
|
||||
ompi_HEADERS = ppcollreq_c.h
|
||||
ompi_HEADERS = pmpiext_pcollreq_c.h
|
||||
|
||||
# Sources for the convenience libtool library. Other than the one
|
||||
# header file, all source files in the extension have no file naming
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/op/op.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/op/op.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/op/op.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/op/op.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "ompi/errhandler/errhandler.h"
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "ompi/errhandler/errhandler.h"
|
||||
#include "ompi/datatype/ompi_datatype.h"
|
||||
#include "ompi/memchecker.h"
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
#include "ompi/runtime/ompi_spc.h"
|
||||
|
||||
#if OMPI_BUILD_MPI_PROFILING
|
||||
|
@ -31,7 +31,7 @@ noinst_LTLIBRARIES =
|
||||
|
||||
# Directory where the header file to be included in mpif-ext.h must be
|
||||
# installed.
|
||||
ompidir = $(ompiincludedir)/ompi/mpiext
|
||||
ompidir = $(ompiincludedir)/mpiext
|
||||
|
||||
# Just like noinst_LTLIBRARIES, set this macro to empty and
|
||||
# conditionally add to it later.
|
||||
@ -46,7 +46,7 @@ if OMPI_BUILD_FORTRAN_MPIFH_BINDINGS
|
||||
noinst_LTLIBRARIES += libmpiext_pcollreq_mpifh.la
|
||||
|
||||
# This is the header file that is installed.
|
||||
ompi_HEADERS += pcollreq_mpifh.h
|
||||
ompi_HEADERS += mpiext_pcollreq_mpifh.h
|
||||
|
||||
noinst_HEADERS = mpiext_pcollreq_prototypes.h
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
||||
#include "ompi/request/grequest.h"
|
||||
#include "ompi/mpi/fortran/base/datarep.h"
|
||||
|
||||
#include "ompi/mpiext/pcollreq/c/pcollreq_c.h"
|
||||
#include "ompi/mpiext/pcollreq/c/mpiext_pcollreq_c.h"
|
||||
|
||||
BEGIN_C_DECLS
|
||||
|
||||
|
@ -28,7 +28,7 @@ noinst_LTLIBRARIES =
|
||||
|
||||
# Directory where the header file to be included in mpif-ext.h must be
|
||||
# installed.
|
||||
ompidir = $(ompiincludedir)/ompi/mpiext
|
||||
ompidir = $(ompiincludedir)/ompi/mpiext/pcollreq/mpif-h
|
||||
|
||||
# Just like noinst_LTLIBRARIES, set this macro to empty and
|
||||
# conditionally add to it later.
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user