CalcJob implementation to add two numbers using bash for testing and demonstration purposes.
aiida.calculations.arithmetic.add.
ArithmeticAddCalculation
Bases: aiida.engine.processes.calcjobs.calcjob.CalcJob
aiida.engine.processes.calcjobs.calcjob.CalcJob
__abstractmethods__
__module__
_abc_impl
define
Define the process specification, including its inputs, outputs and known exit codes.
spec – the calculation job process spec to define.
prepare_for_submission
Prepare the calculation for submission.
Convert the input nodes into the corresponding input files in the format that the code will expect. In addition, define and return a CalcInfo instance, which is a simple data structure that contains information for the engine, for example, on what files to copy to the remote machine, what files to retrieve once it has completed, specific scheduler settings and more.
folder – a temporary folder on the local file system.
the CalcInfo instance