Skip to content

Commit

Permalink
Merge branch 'free_mpi_obj' of https://github.com/wkliao/netcdf-c int…
Browse files Browse the repository at this point in the history
…o two-pulls
  • Loading branch information
WardF committed Aug 10, 2017
2 parents 8fcf0e5 + 7992242 commit 22d4754
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nc_test/tst_formatx_pnetcdf.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ int main(int argc, char* argv[])
ecode = 1;
ERR;
}
if (nc_close(ncid)) ERR;

/* test CDF-2 file format */
cmode = NC_PNETCDF | NC_CLOBBER | NC_64BIT_OFFSET;
Expand All @@ -84,6 +85,7 @@ int main(int argc, char* argv[])
ecode = 1;
ERR;
}
if (nc_close(ncid)) ERR;

/* test CDF-5 file format */
cmode = NC_PNETCDF | NC_CLOBBER | NC_64BIT_DATA;
Expand All @@ -102,8 +104,7 @@ int main(int argc, char* argv[])
ecode = 1;
ERR;
}

if (nc_abort(ncid)) ERR;
if (nc_close(ncid)) ERR;

fn_exit:
MPI_Finalize();
Expand Down

0 comments on commit 22d4754

Please sign in to comment.