Printing with ygm::comm::cout(Args &&...args) and ygm::comm::cerr(Args &&...args) gets garbled when passing many message components to many ranks. I believe that we can ameliorate this by internally compiling the args to a std::stringstream and then send a single string per rank to the relevant std::ostream.
Printing with
ygm::comm::cout(Args &&...args)
andygm::comm::cerr(Args &&...args)
gets garbled when passing many message components to many ranks. I believe that we can ameliorate this by internally compiling theargs
to astd::stringstream
and then send a single string per rank to the relevantstd::ostream
.