jobflow icon indicating copy to clipboard operation
jobflow copied to clipboard

Feature request: option for running complex workflow without fireworks

Open JaGeo opened this issue 2 years ago • 7 comments

I very much like that one can start jobs without setting up a MongoDB database with the help of jobflow. However, for more complex workflows (e.g., the phonon workflow in atomate2), the submission with 1 job script can be very inefficient (e.g., if one computation out of 10 of the workflow does not finish, one has the repeat the overall computation). It would be great to have an obvious and easy to use option in jobflow (e.g., based on a file database) where one can easily restart a part of the computations and/or submit the jobs of an workflow in several job scripts.

I think, @utf , we have talked about this before.

JaGeo avatar Apr 20 '23 09:04 JaGeo

@JaGeo --- While perhaps not the perfect solution, it sounds like the MontyStore in maggma is very close in spirit to what you are looking for. See here.

Andrew-S-Rosen avatar Jun 10 '23 07:06 Andrew-S-Rosen

@arosen93 thanks! I now have to find time to test it. Any other suggestions for approaches without db are also highly appreciated. HPCs in Europe and especially their comoute nodes are usually not easy to connect with database servers.

JaGeo avatar Jun 10 '23 07:06 JaGeo

@JaGeo have you spoken to @davidwaroquiers or @gpetretto about Jobflow-remote?

utf avatar Aug 14 '23 09:08 utf

Yes, thank you. We have interacted in the meantime. I think we can close this!

JaGeo avatar Aug 14 '23 10:08 JaGeo

Hi @utf @davidwaroquiers ,

I wanted to raise this point again. It might be worth considering a middle ground solution for smaller workflows, potentially with another type of store. jf-remote is awesome but still requires some setup.

JaGeo avatar Jul 10 '24 07:07 JaGeo

This feature request is likely partially dependent on https://github.com/materialsproject/maggma/issues/832.

Andrew-S-Rosen avatar Jul 10 '24 11:07 Andrew-S-Rosen

@Andrew-S-Rosen thanks for linking this!

JaGeo avatar Jul 10 '24 12:07 JaGeo