RemoteRunner

RemoteRunner

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

Bases: object

__init__()
execute(command)

Execute the command remotely via a CE

Parameters

command (str) – command to execute remotely

is_remote_execution()

Main method: decides whether the execution will be done locally or remotely via a CE.

Returns

bool