pysqa icon indicating copy to clipboard operation
pysqa copied to clipboard

[feature] Extend the executor support

Open jan-janssen opened this issue 2 years ago • 3 comments

Basically migrate the Executor class from pympipool 0.6.X to pysqa.

jan-janssen avatar Aug 08 '23 23:08 jan-janssen

Add support for resource definition during submission time and function dependence in analogy to pympipool:

  • https://pympipool.readthedocs.io/en/latest/examples.html#resource-assignment
  • https://pympipool.readthedocs.io/en/latest/examples.html#coupled-functions

jan-janssen avatar Apr 24 '24 15:04 jan-janssen

Especially in combination with the remote submission using SSH it is important to synchronise the local and the remote cache. To make this cache visible to the user it would be great to create a sub-folder in the current working directory locally. The important part is to also have the ability to link to the output of a previous calculation.

jan-janssen avatar Apr 24 '24 15:04 jan-janssen

Example calculation for demonstration would be the calculation of a band structure with VASP. This requires two calculation with the WAVECAR being copied from the first to the second calculation. I think the separation of temporary cached data during the execution of the workflow and the storage of the results at the end of the workflow are two very separate tasks.

jan-janssen avatar Apr 24 '24 15:04 jan-janssen

An example based on executorlib and pysqa is available in https://github.com/pyiron-dev/remote-executor

jan-janssen avatar Sep 28 '24 15:09 jan-janssen