Skip to content

Commit b2c4312

Browse files
committed
Fixed a bug where MPI_T_ERR_INVALID_INDEX was not being checked
1 parent ac57c2d commit b2c4312

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mpi_t/varlist/varlist.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,8 @@ void list_cvars()
561561
namelen=maxnamelen;
562562
desclen=maxdesclen;
563563
err=MPI_T_cvar_get_info(i,name,&namelen,&verbos,&dt,&et,desc,&desclen,&bind,&scope);
564-
//if (MPI_T_ERR_INVALID_INDEX == err)// { NOTE TZI: This variable is not recognized by Mvapich. It is OpenMPI specific.
565-
// continue;
564+
if (MPI_T_ERR_INVALID_INDEX == err)
565+
continue;
566566

567567
CHECKERR("CVARINFO",err);
568568

0 commit comments

Comments
 (0)