Skip to content

Commit ac70aad

Browse files
committed
Merge remote-tracking branch 'upstream/main' into oshmem_base_exchange
2 parents 9943b0b + 25feb3b commit ac70aad

File tree

11 files changed

+1396
-696
lines changed

11 files changed

+1396
-696
lines changed

3rd-party/openpmix

Submodule openpmix updated 79 files

3rd-party/prrte

Submodule prrte updated 91 files

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ mpi_standard_subversion=1
2727
# List in x.y.z format.
2828
pmix_min_version=4.2.0
2929
prte_min_version=3.0.0
30-
hwloc_min_version=1.11.0
30+
hwloc_min_version=2.1.0
3131
event_min_version=2.0.21
3232
automake_min_version=1.13.4
3333
autoconf_min_version=2.69.0

examples/hello_sessions_c.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,11 @@ int main(int argc, char** argv) {
1111
MPI_Info info;
1212
MPI_Session s1, s2;
1313

14-
#if 0
15-
/* need PR https://github.com/open-mpi/ompi/pull/12868 to be merged in
16-
* before this can be uncommented.
17-
*/
1814
MPI_Info_create(&info);
19-
#endif
2015
MPI_Session_init(MPI_INFO_NULL, MPI_ERRORS_RETURN, &s1);
2116
MPI_Session_finalize(&s1);
2217
MPI_Session_init(MPI_INFO_NULL, MPI_ERRORS_RETURN, &s2);
2318
MPI_Session_finalize(&s2);
19+
MPI_Info_free(&info);
20+
return 0;
2421
}

ompi/instance/instance.c

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static mca_base_framework_t *ompi_framework_dependencies[] = {
115115
&ompi_hook_base_framework, &ompi_op_base_framework,
116116
&opal_allocator_base_framework, &opal_rcache_base_framework, &opal_mpool_base_framework, &opal_smsc_base_framework,
117117
&ompi_bml_base_framework, &ompi_pml_base_framework, &ompi_coll_base_framework,
118-
&ompi_osc_base_framework, NULL,
118+
&ompi_osc_base_framework, &ompi_part_base_framework, NULL,
119119
};
120120

121121
static mca_base_framework_t *ompi_lazy_frameworks[] = {
@@ -657,11 +657,7 @@ static int ompi_mpi_instance_init_common (int argc, char **argv)
657657
return ompi_instance_print_error ("ompi_win_init() failed", ret);
658658
}
659659

660-
/* initialize partcomm */
661-
if (OMPI_SUCCESS != (ret = mca_base_framework_open(&ompi_part_base_framework, 0))) {
662-
return ompi_instance_print_error ("mca_part_base_select() failed", ret);
663-
}
664-
660+
/* select part component to use */
665661
if (OMPI_SUCCESS != (ret = mca_part_base_select (true, true))) {
666662
return ompi_instance_print_error ("mca_part_base_select() failed", ret);
667663
}
@@ -954,13 +950,6 @@ static int ompi_mpi_instance_finalize_common (void)
954950

955951
ompi_mpi_instance_release ();
956952

957-
if (0 == opal_initialized) {
958-
/* if there is no MPI_T_init_thread that has been MPI_T_finalize'd,
959-
* then be gentle to the app and release all the memory now (instead
960-
* of the opal library destructor */
961-
opal_class_finalize ();
962-
}
963-
964953
return OMPI_SUCCESS;
965954
}
966955

ompi/mca/fcoll/vulcan/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
1414
# Copyright (c) 2018 Research Organization for Information Science
1515
# and Technology (RIST). All rights reserved.
16+
# Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved.
1617
# $COPYRIGHT$
1718
#
1819
# Additional copyrights may follow
@@ -22,6 +23,7 @@
2223

2324
sources = \
2425
fcoll_vulcan.h \
26+
fcoll_vulcan_internal.h \
2527
fcoll_vulcan_module.c \
2628
fcoll_vulcan_component.c \
2729
fcoll_vulcan_file_read_all.c \

ompi/mca/fcoll/vulcan/fcoll_vulcan.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* and Technology (RIST). All rights reserved.
1515
* Copyright (c) 2024 Triad National Security, LLC. All rights
1616
* reserved.
17+
* Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved.
1718
* $COPYRIGHT$
1819
*
1920
* Additional copyrights may follow
@@ -40,8 +41,6 @@ BEGIN_C_DECLS
4041
/* Globally exported variables */
4142

4243
extern int mca_fcoll_vulcan_priority;
43-
extern int mca_fcoll_vulcan_num_groups;
44-
extern int mca_fcoll_vulcan_write_chunksize;
4544
extern int mca_fcoll_vulcan_async_io;
4645
extern int mca_fcoll_vulcan_use_accelerator_buffers;
4746

ompi/mca/fcoll/vulcan/fcoll_vulcan_component.c

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* reserved.
1717
* Copyright (c) 2024 Triad National Security, LLC. All rights
1818
* reserved.
19+
* Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved.
1920
* $COPYRIGHT$
2021
*
2122
* Additional copyrights may follow
@@ -43,8 +44,6 @@ const char *mca_fcoll_vulcan_component_version_string =
4344
* Global variables
4445
*/
4546
int mca_fcoll_vulcan_priority = 10;
46-
int mca_fcoll_vulcan_num_groups = 1;
47-
int mca_fcoll_vulcan_write_chunksize = -1;
4847
int mca_fcoll_vulcan_async_io = 0;
4948

5049
/*
@@ -91,20 +90,6 @@ vulcan_register(void)
9190
OPAL_INFO_LVL_9,
9291
MCA_BASE_VAR_SCOPE_READONLY, &mca_fcoll_vulcan_priority);
9392

94-
mca_fcoll_vulcan_num_groups = 1;
95-
(void) mca_base_component_var_register(&mca_fcoll_vulcan_component.fcollm_version,
96-
"num_groups", "Number of subgroups created by the vulcan component",
97-
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
98-
OPAL_INFO_LVL_9,
99-
MCA_BASE_VAR_SCOPE_READONLY, &mca_fcoll_vulcan_num_groups);
100-
101-
mca_fcoll_vulcan_write_chunksize = -1;
102-
(void) mca_base_component_var_register(&mca_fcoll_vulcan_component.fcollm_version,
103-
"write_chunksize", "Chunk size written at once. Default: stripe_size of the file system",
104-
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
105-
OPAL_INFO_LVL_9,
106-
MCA_BASE_VAR_SCOPE_READONLY, &mca_fcoll_vulcan_write_chunksize);
107-
10893
mca_fcoll_vulcan_async_io = 0;
10994
(void) mca_base_component_var_register(&mca_fcoll_vulcan_component.fcollm_version,
11095
"async_io", "Asynchronous I/O support options. 0: Automatic choice (default) "

0 commit comments

Comments
 (0)