Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marke
2D27
d resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds support for parallel streams.
glvis-browser-server
will now handle messages with theparallel <nproc> <rank>
header; when it sees one it will wait for/build a list with 1 message from each rank then jsonify and write the message. The behavior for serial messages remains unchanged.The
live
page with look for json array messages (those that start with[
) and decode them.The stream-list messages are repacked into an Emscripten
std::vector<std::string>
wrapper (StringArray
) then passed to the newdisplayParallelStreams
/updateParallelStreams
methods. This approach seems non-optimal but it works for now.The
data_type
processing has been removed from the web side and now lives in the compiled code.Depends on GLVis/glvis#235