Skip to content

Commit

Permalink
adding diagrams, fixing diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Jun 1, 2019
1 parent 9b921fe commit 6112687
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
5 changes: 2 additions & 3 deletions doc/images/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@

# These are the images used in the documentation.
EXTRA_DIST = block-cyclic.png block-cyclic-rearr.png dof.png \
dof-rearr.png PIO_Intercomm1.png PIO_Intracomm1.png \
PIO_Library_Architecture1.jpg PIO_Decomposition.png I_O_on_Few.png \
I_O_on_Many.png
dof-rearr.png PIO_Intracomm1.png PIO_Library_Architecture1.jpg \
PIO_Decomposition.png I_O_on_Few.png I_O_on_Many.png PIO_Async.png
Binary file added doc/images/PIO_Async.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed doc/images/PIO_Intercomm1.png
Binary file not shown.
6 changes: 3 additions & 3 deletions doc/source/iosystem.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ When the user program is complete, the IOSystem should be released by
calling C function PIOc_finalize() or Fortran function piolib_mod::finalize()
for each open IOSystem.

@section intercomm_mode Intercomm Mode
@section intracomm_mode Intracomm Mode

@image html PIO_Intercomm1.png "PIO Intercomm Mode"
@image html PIO_Intracomm1.png "PIO Intracomm Mode"

@section async_mode Async Mode

@image html PIO_Intracomm1.png "PIO Async Mode"
@image html PIO_Async.png "PIO Async Mode"

*/

5 changes: 3 additions & 2 deletions src/clib/pioc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,8 @@ PIOc_finalize(int iosysid)
/* Free the MPI communicators. my_comm is just a copy (but not an
* MPI copy), so does not have to have an MPI_Comm_free()
* call. comp_comm and io_comm are MPI duplicates of the comms
* handed into init_intercomm. So they need to be freed by MPI. */
* handed into PIOc_init_async(). So they need to be freed by
* MPI. */
if (ios->intercomm != MPI_COMM_NULL)
MPI_Comm_free(&ios->intercomm);
if (ios->union_comm != MPI_COMM_NULL)
Expand Down Expand Up @@ -1732,7 +1733,7 @@ PIOc_init_async(MPI_Comm world, int num_io_procs, int *io_proc_list,
if ((ret = MPI_Group_free(&world_group)))
return check_mpi(NULL, NULL, ret, __FILE__, __LINE__);

LOG((2, "successfully done with PIO_Init_Async"));
LOG((2, "successfully done with PIOc_init_async"));
return PIO_NOERR;
}

Expand Down

0 comments on commit 6112687

Please sign in to comment.