Skip to content

Commit c771f47

Browse files
authored
Merge pull request #7594 from raffenet/fixes-for-rc2
[4.3.x] cherry-picked fixes for 4.3.2rc2 Approved-by: Hui Zhou <[email protected]>
2 parents a7b1bde + f05803e commit c771f47

File tree

6 files changed

+32
-13
lines changed

6 files changed

+32
-13
lines changed

CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
# Fix crash with GPU-aware build when running on systems with no GPUs
2727

28+
# Fix HIP device query
29+
2830
# Fix singleton init with Hydra
2931

3032
# Fix thread safety for Level Zero memcpy functions

autogen.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,7 @@ autoreconf_amdir() {
570570
_patch_successful=no
571571

572572
_patch_libtool $_dir/confdb/ltmain.sh intel-compiler.patch
573+
_patch_libtool $_dir/confdb/ltmain.sh nagfor.patch
573574
_patch_libtool $_dir/confdb/libtool.m4 sys_lib_dlsearch_path_spec.patch
574575
_patch_libtool $_dir/confdb/libtool.m4 big-sur.patch
575576
_patch_libtool $_dir/confdb/libtool.m4 hpc-sdk.patch
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
--- confdb/ltmain.sh 2025-09-23 13:54:31.782898806 -0500
2+
+++ confdb/ltmain.sh.new 2025-09-23 17:06:28.926502645 -0500
3+
@@ -7991,7 +7991,11 @@
4+
func_fatal_error "cannot find name of link library for '$lib'"
5+
fi
6+
# It is a libtool convenience library, so add in its objects.
7+
- func_append convenience " $ladir/$objdir/$old_library"
8+
+ if test "$wl" = "-Wl,-Wl,," ; then
9+
+ func_append convenience " -Wl,$ladir/$objdir/$old_library"
10+
+ else
11+
+ func_append convenience " $ladir/$objdir/$old_library"
12+
+ fi
13+
func_append old_convenience " $ladir/$objdir/$old_library"
14+
tmp_libs=
15+
for deplib in $dependency_libs; do

maint/version.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# changing this by playing with diversions, but then we would probably be
1515
# playing with autotools-fire.
1616

17-
m4_define([MPICH_VERSION_m4],[4.3.2rc1])dnl
17+
m4_define([MPICH_VERSION_m4],[4.3.2rc2])dnl
1818
m4_define([MPICH_RELEASE_DATE_m4],[unreleased development copy])dnl
1919

2020
# For libtool ABI versioning rules see:

src/binding/abi/mpi_abi.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,9 +1001,9 @@ int MPI_Remove_error_code(int errorcode);
10011001
int MPI_Remove_error_string(int errorcode);
10021002
int MPI_Request_free(MPI_Request *request);
10031003
int MPI_Request_get_status(MPI_Request request, int *flag, MPI_Status *status);
1004-
int MPI_Request_get_status_all(int count, MPI_Request array_of_requests[], int *flag, MPI_Status *array_of_statuses);
1005-
int MPI_Request_get_status_any(int count, MPI_Request array_of_requests[], int *indx, int *flag, MPI_Status *status);
1006-
int MPI_Request_get_status_some(int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status *array_of_statuses);
1004+
int MPI_Request_get_status_all(int count, const MPI_Request array_of_requests[], int *flag, MPI_Status *array_of_statuses);
1005+
int MPI_Request_get_status_any(int count, const MPI_Request array_of_requests[], int *indx, int *flag, MPI_Status *status);
1006+
int MPI_Request_get_status_some(int incount, const MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status *array_of_statuses);
10071007
int MPI_Rget(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win, MPI_Request *request);
10081008
int MPI_Rget_c(void *origin_addr, MPI_Count origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, MPI_Count target_count, MPI_Datatype target_datatype, MPI_Win win, MPI_Request *request);
10091009
int MPI_Rget_accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, void *result_addr, int result_count, MPI_Datatype result_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win, MPI_Request *request);
@@ -1057,9 +1057,9 @@ int MPI_Ssend_init(const void *buf, int count, MPI_Datatype datatype, int dest,
10571057
int MPI_Ssend_init_c(const void *buf, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request);
10581058
int MPI_Start(MPI_Request *request);
10591059
int MPI_Startall(int count, MPI_Request array_of_requests[]);
1060-
int MPI_Status_get_error(MPI_Status *status, int *error);
1061-
int MPI_Status_get_source(MPI_Status *status, int *source);
1062-
int MPI_Status_get_tag(MPI_Status *status, int *tag);
1060+
int MPI_Status_get_error(const MPI_Status *status, int *error);
1061+
int MPI_Status_get_source(const MPI_Status *status, int *source);
1062+
int MPI_Status_get_tag(const MPI_Status *status, int *tag);
10631063
int MPI_Status_set_cancelled(MPI_Status *status, int flag);
10641064
int MPI_Status_set_elements(MPI_Status *status, MPI_Datatype datatype, int count);
10651065
int MPI_Status_set_elements_c(MPI_Status *status, MPI_Datatype datatype, MPI_Count count);
@@ -1673,9 +1673,9 @@ int PMPI_Remove_error_code(int errorcode);
16731673
int PMPI_Remove_error_string(int errorcode);
16741674
int PMPI_Request_free(MPI_Request *request);
16751675
int PMPI_Request_get_status(MPI_Request request, int *flag, MPI_Status *status);
1676-
int PMPI_Request_get_status_all(int count, MPI_Request array_of_requests[], int *flag, MPI_Status *array_of_statuses);
1677-
int PMPI_Request_get_status_any(int count, MPI_Request array_of_requests[], int *indx, int *flag, MPI_Status *status);
1678-
int PMPI_Request_get_status_some(int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status *array_of_statuses);
1676+
int PMPI_Request_get_status_all(int count, const MPI_Request array_of_requests[], int *flag, MPI_Status *array_of_statuses);
1677+
int PMPI_Request_get_status_any(int count, const MPI_Request array_of_requests[], int *indx, int *flag, MPI_Status *status);
1678+
int PMPI_Request_get_status_some(int incount, const MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status *array_of_statuses);
16791679
int PMPI_Rget(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win, MPI_Request *request);
16801680
int PMPI_Rget_c(void *origin_addr, MPI_Count origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, MPI_Count target_count, MPI_Datatype target_datatype, MPI_Win win, MPI_Request *request);
16811681
int PMPI_Rget_accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, void *result_addr, int result_count, MPI_Datatype result_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win, MPI_Request *request);
@@ -1729,9 +1729,9 @@ int PMPI_Ssend_init(const void *buf, int count, MPI_Datatype datatype, int dest,
17291729
int PMPI_Ssend_init_c(const void *buf, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request);
17301730
int PMPI_Start(MPI_Request *request);
17311731
int PMPI_Startall(int count, MPI_Request array_of_requests[]);
1732-
int PMPI_Status_get_error(MPI_Status *status, int *error);
1733-
int PMPI_Status_get_source(MPI_Status *status, int *source);
1734-
int PMPI_Status_get_tag(MPI_Status *status, int *tag);
1732+
int PMPI_Status_get_error(const MPI_Status *status, int *error);
1733+
int PMPI_Status_get_source(const MPI_Status *status, int *source);
1734+
int PMPI_Status_get_tag(const MPI_Status *status, int *tag);
17351735
int PMPI_Status_set_cancelled(MPI_Status *status, int flag);
17361736
int PMPI_Status_set_elements(MPI_Status *status, MPI_Datatype datatype, int count);
17371737
int PMPI_Status_set_elements_c(MPI_Status *status, MPI_Datatype datatype, MPI_Count count);

src/mpl/src/gpu/mpl_gpu_hip.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ int MPL_gpu_get_dev_list(int *dev_count, char ***dev_list, bool is_subdev)
5050
snprintf(device_list[i], str_len + 1, "%d", i);
5151
}
5252

53+
*dev_count = device_count;
5354
*dev_list = device_list;
5455
return ret;
5556
}

0 commit comments

Comments
 (0)