aiida.calculations.monitors package#


Monitors for the aiida.calculations.arithmetic.add.ArithmeticAddCalculation plugin.

aiida.calculations.monitors.base.always_kill(node: CalcJobNode, transport: Transport) str | None[source]#

Retrieve and inspect files in working directory of job to determine whether the job should be killed.

This particular implementation is just for demonstration purposes and will kill the job as long as there is a submission script that contains some content, which should always be the case.

  • node – The node representing the calculation job.

  • transport – The transport that can be used to retrieve files from remote working directory.


A string if the job should be killed, None otherwise.