Skip to content

Commit

Permalink
chore: fix grammar - get hang -> get hung
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Jul 24, 2023
1 parent adb3a17 commit a727cf1
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion testpar/API/t_bigio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1861,7 +1861,7 @@ main(int argc, char **argv)

/* Attempt to turn off atexit post processing so that in case errors
* happen during the test and the process is aborted, it will not get
* hang in the atexit post processing in which it may try to make MPI
* hung in the atexit post processing in which it may try to make MPI
* calls. By then, MPI calls may not work.
*/
if (H5dont_atexit() < 0)
Expand Down
2 changes: 1 addition & 1 deletion testpar/API/t_shapesame.c
Original file line number Diff line number Diff line change
Expand Up @@ -4301,7 +4301,7 @@ main(int argc, char **argv)

/* Attempt to turn off atexit post processing so that in case errors
* happen during the test and the process is aborted, it will not get
* hang in the atexit post processing in which it may try to make MPI
* hung in the atexit post processing in which it may try to make MPI
* calls. By then, MPI calls may not work.
*/
if (H5dont_atexit() < 0) {
Expand Down
2 changes: 1 addition & 1 deletion testpar/API/testphdf5.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ main(int argc, char **argv)

/* Attempt to turn off atexit post processing so that in case errors
* happen during the test and the process is aborted, it will not get
* hang in the atexit post processing in which it may try to make MPI
* hung in the atexit post processing in which it may try to make MPI
* calls. By then, MPI calls may not work.
*/
if (H5dont_atexit() < 0) {
Expand Down
2 changes: 1 addition & 1 deletion testpar/t_bigio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1870,7 +1870,7 @@ main(int argc, char **argv)

/* Attempt to turn off atexit post processing so that in case errors
* happen during the test and the process is aborted, it will not get
* hang in the atexit post processing in which it may try to make MPI
* hung in the atexit post processing in which it may try to make MPI
* calls. By then, MPI calls may not work.
*/
if (H5dont_atexit() < 0)
Expand Down
2 changes: 1 addition & 1 deletion testpar/t_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -6676,7 +6676,7 @@ main(int argc, char **argv)

/* Attempt to turn off atexit post processing so that in case errors
* happen during the test and the process is aborted, it will not get
* hang in the atexit post processing in which it may try to make MPI
* hung in the atexit post processing in which it may try to make MPI
* calls. By then, MPI calls may not work.
*/
if (H5dont_atexit() < 0)
Expand Down
2 changes: 1 addition & 1 deletion testpar/t_cache_image.c
Original file line number Diff line number Diff line change
Expand Up @@ -3523,7 +3523,7 @@ main(int argc, char **argv)

/* Attempt to turn off atexit post processing so that in case errors
* happen during the test and the process is aborted, it will not get
* hang in the atexit post processing in which it may try to make MPI
* hung in the atexit post processing in which it may try to make MPI
* calls. By then, MPI calls may not work.
*/
if (H5dont_atexit() < 0)
Expand Down
2 changes: 1 addition & 1 deletion testpar/t_shapesame.c
Original file line number Diff line number Diff line change
Expand Up @@ -4272,7 +4272,7 @@ main(int argc, char **argv)

/* Attempt to turn off atexit post processing so that in case errors
* happen during the test and the process is aborted, it will not get
* hang in the atexit post processing in which it may try to make MPI
* hung in the atexit post processing in which it may try to make MPI
* calls. By then, MPI calls may not work.
*/
if (H5dont_atexit() < 0) {
Expand Down
16 changes: 8 additions & 8 deletions testpar/testphdf5.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,34 +256,34 @@ create_faccess_plist(MPI_Comm comm, MPI_Info info, int l_facc_type)
MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);

ret_pl = H5Pcreate(H5P_FILE_ACCESS);
VRFY((ret_pl >= 0), "H5P_FILE_ACCESS");
VRFY((ret_pl >= 0), "H5Pcreate succeeded");

if (l_facc_type == FACC_DEFAULT)
return (ret_pl);

if (l_facc_type == FACC_MPIO) {
/* set Parallel access with communicator */
ret = H5Pset_fapl_mpio(ret_pl, comm, info);
VRFY((ret >= 0), "");
VRFY((ret >= 0), "H5Pset_fapl_mpio succeeded");
ret = H5Pset_all_coll_metadata_ops(ret_pl, TRUE);
VRFY((ret >= 0), "");
VRFY((ret >= 0), "H5Pset_all_coll_metadata_ops succeeded");
ret = H5Pset_coll_metadata_write(ret_pl, TRUE);
VRFY((ret >= 0), "");
VRFY((ret >= 0), "H5Pset_coll_metadata_write succeeded");
return (ret_pl);
}

if (l_facc_type == (FACC_MPIO | FACC_SPLIT)) {
hid_t mpio_pl;

mpio_pl = H5Pcreate(H5P_FILE_ACCESS);
VRFY((mpio_pl >= 0), "");
VRFY((mpio_pl >= 0), "H5Pcreate succeeded");
/* set Parallel access with communicator */
ret = H5Pset_fapl_mpio(mpio_pl, comm, info);
VRFY((ret >= 0), "");
VRFY((ret >= 0), "H5Pset_fapl_mpio succeeded");

/* setup file access template */
ret_pl = H5Pcreate(H5P_FILE_ACCESS);
VRFY((ret_pl >= 0), "");
VRFY((ret_pl >= 0), "H5Pcreate succeeded");
/* set Parallel access with communicator */
ret = H5Pset_fapl_split(ret_pl, ".meta", mpio_pl, ".raw", mpio_pl);
VRFY((ret >= 0), "H5Pset_fapl_split succeeded");
Expand Down Expand Up @@ -325,7 +325,7 @@ main(int argc, char **argv)

/* Attempt to turn off atexit post processing so that in case errors
* happen during the test and the process is aborted, it will not get
* hang in the atexit post processing in which it may try to make MPI
* hung in the atexit post processing in which it may try to make MPI
* calls. By then, MPI calls may not work.
*/
if (H5dont_atexit() < 0) {
Expand Down

0 comments on commit a727cf1

Please sign in to comment.