hpc-carpentry / old-hpc-workflows

Scaling studies on high-performance clusters using Snakemake workflows
https://www.hpc-carpentry.org/old-hpc-workflows/
Other
8 stars 2 forks source link

Plotting Amdahl's Law #13

Open ocaisa opened 2 years ago

ocaisa commented 2 years ago

Part of the workflow will be to plot Amdahl's Law. It would be nice if we could do this in the terminal, and (with prettier output) to an image file.

There's a tool termplotlib that probably accepts the same options as matplotlib which could be leveraged here.

We could also use gnuplot directly probably but more contributors are likely to be familiar with matplotlib syntax.

ocaisa commented 2 years ago

There are other options like https://pypi.org/project/plotext/

ocaisa commented 2 years ago

The task here is to actually create the python code to plot our results, which will accept an option to either plot things to the terminal or as a file.

tkphd commented 2 years ago

I propose keeping it simple, plotting to an image file using matplotlib and then exercising the "OK there's a file I want on the cluster, how do I get it back to take a look?" workflow.

mikerenfro commented 2 years ago

See #28.