The documentation says that yogrt can only be called on process 0. Presumably process means rank in an MPI context?
https://github.com/LLNL/libyogrt/blob/4346565dd36e1b847206dc35de1e65bd787a3473/doc/man/yogrt_remaining.3#L23
It also says that it will return -1 when called by any process (rank?) not equal to 0.
https://github.com/LLNL/libyogrt/blob/4346565dd36e1b847206dc35de1e65bd787a3473/doc/man/yogrt_remaining.3#L47
On lassen, it appears that yogrt_remaining() returns reasonable positive values when called from rank 1.
The documentation says that yogrt can only be called on process 0. Presumably process means rank in an MPI context?
https://github.com/LLNL/libyogrt/blob/4346565dd36e1b847206dc35de1e65bd787a3473/doc/man/yogrt_remaining.3#L23
It also says that it will return -1 when called by any process (rank?) not equal to 0.
https://github.com/LLNL/libyogrt/blob/4346565dd36e1b847206dc35de1e65bd787a3473/doc/man/yogrt_remaining.3#L47
On lassen, it appears that
yogrt_remaining()returns reasonable positive values when called from rank 1.