CalcJob implementation to add two numbers using bash for testing and demonstration purposes.
Define the process specification, including its inputs, outputs and known exit codes.
spec – the calculation job process spec to define.
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