Skip to content

Commit a9f84cc

Browse files
authored
Merge pull request #12894 from edgargabriel/topic/vulcan-two-phase-read-all
fcoll/vulcan: add two_phase read_all
2 parents ed537c6 + 030ead1 commit a9f84cc

6 files changed

+1389
-675
lines changed

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)