In file ad_write_coll.c, line 518 if (*error_code != MPI_SUCCESS) return; should be included in the loop starting from line 507 for (m=ntimes; m<max_ntimes; m++) Wei-keng