OpenFreeEnergy / alchemiscale

a high-throughput alchemical free energy execution system for use with HPC, cloud, bare metal, and Folding@Home
http://alchemiscale.org
MIT License
23 stars 8 forks source link

Retain stdout, stderr logs from `ProtocolDAGResult`s; expose access via `AlchemiscaleClient` #295

Open dotsdl opened 3 weeks ago

dotsdl commented 3 weeks ago

Some Protocols execute tools that emit log information to either STDOUT, STDERR, or both. The information in these streams can be critical for users to understand where their Tasks are going wrong in case of persistent failure.

We should capture these streams when compute services execute ProtocolDAGs, then preserve them as additional artifacts when submitting completed or failed ProtocolDAGResults back to the server. These log artifacts can be stored in the object store, with references in the state store.

We can then expose these artifacts via additional AlchemiscaleClient methods, such as:

dotsdl commented 3 weeks ago

CC: @JenkeScheen