Skip to content

Commit

Permalink
Address review comment about printing to std out in multi-rank job.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhornung67 committed Apr 17, 2023
1 parent c0867a4 commit 98ec68a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/axom/sidre/docs/sphinx/query_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ contains. For example::

conduit::Node n;
ds->getBufferInfo(n);
n.print(); // print Conduit node contents to std out, if desired

// Print Conduit node contents to stdout, if desired.
// Note that when running with multiple MPI ranks, each rank will
// independently print its node contents to stdout, which may not be wanted.
n.print();

This method call inserts four fields into the Node that have numeric values
accessible as type ``axom::IndexType``. For example::
Expand Down Expand Up @@ -59,7 +63,11 @@ associated with the entire subtree rooted at the group. For example::
// get information about a single group
conduit::Node n;
group->getDataInfo(n, recursive);
n.print(); // print Conduit node contents to std out, if desired

// Print Conduit node contents to stdout, if desired.
// Note that when running with multiple MPI ranks, each rank will
// independently print its node contents to stdout, which may not be wanted.
n.print();

// get information about entire subtree rooted at group
recursive = true;
Expand Down

0 comments on commit 98ec68a

Please sign in to comment.