[MPICH2-dev] nit in ch3_init.c
Doug Gilmore
dgilmore at cray.com
Thu Jan 29 17:36:28 CST 2004
While merging in changes to our MPICH-2 device implementation we
uncovered a compilation error src/mpid/ch3/channels/sock/src/ch3_init.c
that is only exposed when DEBUG is enabled.
The following change corrects this problem.
Doug
*** ch3_init.c.~mpich2-0-96p2~ Thu Jan 29 15:30:46 2004
--- ch3_init.c Thu Jan 29 15:20:26 2004
***************
*** 263,269 ****
mpi_errno = MPIR_Err_create_code(MPI_SUCCESS, MPIR_ERR_FATAL, FCNAME, __LINE__, MPI_ERR_OTHER, "**nomem", 0);
return mpi_errno;
}
! mpi_errno = PMI_KVS_Get(pg->kvs_name, key, val);
if (mpi_errno != PMI_SUCCESS)
{
mpi_errno = MPIR_Err_create_code(MPI_SUCCESS, MPIR_ERR_FATAL, FCNAME, __LINE__, MPI_ERR_OTHER, "**pmi_kvs_get", "**pmi_kvs_get %d", mpi_errno);
--- 263,269 ----
mpi_errno = MPIR_Err_create_code(MPI_SUCCESS, MPIR_ERR_FATAL, FCNAME, __LINE__, MPI_ERR_OTHER, "**nomem", 0);
return mpi_errno;
}
! mpi_errno = PMI_KVS_Get(pg->kvs_name, key, val, val_max_sz);
if (mpi_errno != PMI_SUCCESS)
{
mpi_errno = MPIR_Err_create_code(MPI_SUCCESS, MPIR_ERR_FATAL, FCNAME, __LINE__, MPI_ERR_OTHER, "**pmi_kvs_get", "**pmi_kvs_get %d", mpi_errno);
More information about the mpich2-dev
mailing list