From ae17908f35ee614071ec68eb4643286f7b707e86 Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Tue, 1 May 2018 15:11:34 -0600 Subject: [PATCH] io/romio314: fix two more MPI-3 compliance issues Signed-off-by: Nathan Hjelm --- ompi/mca/io/romio314/romio/adio/common/cb_config_list.c | 4 ++-- ompi/mca/io/romio314/romio/mpi-io/mpioimpl.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ompi/mca/io/romio314/romio/adio/common/cb_config_list.c b/ompi/mca/io/romio314/romio/adio/common/cb_config_list.c index 718205b8ae..e9f3116224 100644 --- a/ompi/mca/io/romio314/romio/adio/common/cb_config_list.c +++ b/ompi/mca/io/romio314/romio/adio/common/cb_config_list.c @@ -135,8 +135,8 @@ int ADIOI_cb_gather_name_array(MPI_Comm comm, if (ADIOI_cb_config_list_keyval == MPI_KEYVAL_INVALID) { /* cleaned up by ADIOI_End_call */ - MPI_Comm_create_keyval((MPI_Copy_function *) ADIOI_cb_copy_name_array, - (MPI_Delete_function *) ADIOI_cb_delete_name_array, + MPI_Comm_create_keyval((MPI_Comm_copy_attr_function *) ADIOI_cb_copy_name_array, + (MPI_Comm_delete_attr_function *) ADIOI_cb_delete_name_array, &ADIOI_cb_config_list_keyval, NULL); } else { diff --git a/ompi/mca/io/romio314/romio/mpi-io/mpioimpl.h b/ompi/mca/io/romio314/romio/mpi-io/mpioimpl.h index a73561acb2..ff1372394b 100644 --- a/ompi/mca/io/romio314/romio/mpi-io/mpioimpl.h +++ b/ompi/mca/io/romio314/romio/mpi-io/mpioimpl.h @@ -58,7 +58,7 @@ struct MPIR_Info { #define MPIR_INFO_COOKIE 5835657 -MPI_Delete_function ADIOI_End_call; +MPI_Comm_delete_attr_function ADIOI_End_call; /* common initialization routine */ void MPIR_MPIOInit(int * error_code);