ispg-group / aiidalab-ispg

ATMOSPEC: ab initio UV/vis spectroscopy for everyone
MIT License
6 stars 4 forks source link

Improve caching of ORCA jobs #235

Open danielhollas opened 6 months ago

danielhollas commented 6 months ago

After a brief testing of caching, it seems to work! :tada:

With one caveat: One needs to use the same number of CPUs per ORCA CalcJob. It would be really great to lift this restriction, but it might be complicated since orca encodes the nCPUs in its input file. Probably should discuss with aiida-core team first, and then possibly fix this in the aiida-orca plugin.

As a short-term improvement, we should be properly loading up number of MPI tasks when loading the workflow from the database.

danielhollas commented 6 months ago

Looks like number of MPI processes in ORCA is passed manually via a PAL section of the input dictionary. So I guess we need to have a separate non_db input node so that it can be excluded from hash calculation. Needs to be supported in aiida-orca first.