[MPICH2-dev] nit in ch3_init.c

Rajeev Thakur thakur at mcs.anl.gov
Thu Jan 29 17:42:06 CST 2004


Thanks. I have applied the fix.

Rajeev

> -----Original Message-----
> From: owner-mpich2-dev at mcs.anl.gov 
> [mailto:owner-mpich2-dev at mcs.anl.gov] On Behalf Of Doug Gilmore
> Sent: Thursday, January 29, 2004 5:36 PM
> To: mpich2-dev at mcs.anl.gov
> Subject: [MPICH2-dev] nit in ch3_init.c
> 
> 
> 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