Mostly called by workflow modules, RemoteRunner is generally the last component to get through before the script/application execution on a remote machine. Depending on an environment variable WORKLOADEXECLOCATION, it decides whether it should take care of the execution. RemoteRunner has been designed to send script/application on remote worker nodes having no outbound connectivity (e.g. supercomputers)
- class DIRAC.WorkloadManagementSystem.Utilities.RemoteRunner.RemoteRunner
Execute the command remotely via a CE
command (str) – command to execute remotely
Main method: decides whether the execution will be done locally or remotely via a CE.