Fix broken example workflows in documentation

Continuing the discussion from Alpha Release: Bugs, Feedback, Ideas, and Improvements!:

Thanks to @jiaxiwu for submitting a merge request to fix the broken workflow examples in the documentation. I am testing the new workflow configs before pushing to production, and the workflow is taking a long time to complete: it has consumed 8 cores for 10 minutes and is still running. Is this expected? Is there a way to make this example run much faster?

@dfriede1

It finally completed successfully after 20 minutes.

The group workflow took a similar length of time to complete. Hopefully we can shorten these because that is too long for someone to wait who is just learning how to construct workflows.

Yeah, this is the typical time to wait.

I do see another example already documented in the tutorial jupyter notebook, which takes only about 1 minute and also illustrate the usage and construction of chain workflow. Maybe for new users who run the tutorial successfully, it’s sufficient to learn how to construct them. The examples in the workflow documentation can instead be used only for demonstration purpose.

I was able to tweak some parameters and get the chain down to 2min and the group example to 5 min. Maybe that’s good enough.

I just took a look at the merge request and your updated commit and it looks like the problem was that the Chiral EFT parameters were on a dense grid. Your changes seem fine, I usually use:

eos_grid:
        density_start: 0.032
        density_end: 0.32
        density_step: 0.032
        isospin_asymmetry_start: 0.0
        isospin_asymmetry_end: 1.0
        isospin_asymmetry_step: 1.0

for example workflows. This might be a bit slower than what you currently have but its slightly more useful.

Also, as of the most recent tag, ChEFT EoS v0.8.0, you don’t need to set all of those output options to true. They will now be true by default.

FYI here’s the latest version David

Theres a few changes I think could be made here, so I’ll submit a merge request.

Just submitted a merge request. This workflow produces meaningful output as proof of concept. The chain and group examples should take about 5 mins each to run. I hope that timing is okay.

I’m still working on ways to speed up the Chiral EFT calculations so hopefully I can push some updates soon to make these examples run faster.