Skip to content

Commit

Permalink
[CI] Apply patch to MVAPICH 2.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Jul 22, 2023
1 parent 584771b commit 3b5729a
Show file tree
Hide file tree
Showing 4 changed files with 477 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .ci/mvapich/repo/packages/mvapich2/attrutil.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
diff --git a/src/mpi/attr/attrutil.c b/src/mpi/attr/attrutil.c
index b9abbe6..5af452a 100644
--- a/src/mpi/attr/attrutil.c
+++ b/src/mpi/attr/attrutil.c
@@ -266,6 +266,7 @@ int MPIR_Attr_delete_list( int handle, MPID_Attribute **attr )
corresponding keyval */
/* Still to do: capture any error returns but continue to
process attributes */
+ if (p->keyval) {
mpi_errno = MPIR_Call_attr_delete( handle, p );

/* We must also remove the keyval reference. If the keyval
@@ -282,5 +283,6 @@ int MPIR_Attr_delete_list( int handle, MPID_Attribute **attr )
MPIU_Handle_obj_free( &MPID_Keyval_mem, p->keyval );
}
}
+ }

MPIU_Handle_obj_free( &MPID_Attr_mem, p );
Loading

0 comments on commit 3b5729a

Please sign in to comment.