Skip to content

Commit 402bc16

Browse files
duplicate part_persist component
Signed-off-by: Axel Schneewind <axel.schneewind@hlrs.de>
1 parent 398b8d4 commit 402bc16

13 files changed

+1325
-1
lines changed

ompi/mca/part/base/part_base_frame.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ static int mca_part_base_open(mca_base_open_flag_t flags)
137137

138138
mca_part_base_selected_component.partm_finalize = NULL;
139139

140-
/* Currently this uses a default with no selection criteria as there is only 1 module. */
141140
opal_pointer_array_add(&mca_part_base_part, strdup("persist"));
141+
opal_pointer_array_add(&mca_part_base_part, strdup("persist_aggregated"));
142142

143143
return OMPI_SUCCESS;
144144
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#
2+
# Copyright (c) 2004-2006 The Regents of the University of California.
3+
# All rights reserved.
4+
# Copyright (c) 2009-2024 High Performance Computing Center Stuttgart,
5+
# University of Stuttgart. All rights reserved.
6+
# Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
7+
# Copyright (c) 2017 IBM Corporation. All rights reserved.
8+
# Copyright (c) 2020-2021 Sandia National Laboratories. All rights reserved.
9+
# $COPYRIGHT$
10+
#
11+
# Additional copyrights may follow
12+
#
13+
# $HEADER$
14+
#
15+
16+
# Make the output library in this directory, and name it either
17+
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
18+
# (for static builds).
19+
20+
EXTRA_DIST = post_configure.sh
21+
22+
if MCA_BUILD_ompi_part_persist_aggregated_DSO
23+
component_noinst =
24+
component_install = mca_part_persist_aggregated.la
25+
else
26+
component_noinst = libmca_part_persist_aggregated.la
27+
component_install =
28+
endif
29+
30+
local_sources = \
31+
part_persist_aggregated.c \
32+
part_persist_aggregated.h \
33+
part_persist_aggregated_component.c \
34+
part_persist_aggregated_component.h \
35+
part_persist_aggregated_recvreq.h \
36+
part_persist_aggregated_recvreq.c \
37+
part_persist_aggregated_request.h \
38+
part_persist_aggregated_request.c \
39+
part_persist_aggregated_sendreq.h \
40+
part_persist_aggregated_sendreq.c
41+
42+
mcacomponentdir = $(ompilibdir)
43+
mcacomponent_LTLIBRARIES = $(component_install)
44+
mca_part_persist_aggregated_la_SOURCES = $(local_sources)
45+
mca_part_persist_aggregated_la_LIBADD = $(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la \
46+
$(part_persist_aggregated_LIBS)
47+
mca_part_persist_aggregated_la_LDFLAGS = -module -avoid-version $(part_persist_aggregated_LDFLAGS)
48+
49+
noinst_LTLIBRARIES = $(component_noinst)
50+
libmca_part_persist_aggregated_la_SOURCES = $(local_sources)
51+
libmca_part_persist_aggregated_la_LIBADD = $(part_persist_aggregated_LIBS)
52+
libmca_part_persist_aggregated_la_LDFLAGS = -module -avoid-version $(part_persist_aggregated_LDFLAGS)
53+

0 commit comments

Comments
 (0)