BOINC Computing Element

class DIRAC.Resources.Computing.BOINCComputingElement.BOINCComputingElement(ceUniqueID)

Bases: DIRAC.Resources.Computing.ComputingElement.ComputingElement


Standard constructor.


This method returns the number of available slots in the target CE. The CE instance polls for waiting and running jobs and compares to the limits in the CE parameters.

Parameters:jobIDList (list) – list of already existing job IDs to be checked against

This method only can be called after the initialisation of this class. In this method, it will initial some variables and create a soap client for communication with BOINC server.


Method to get the BOINC CE dynamic jobs information.


Get CE description as a dictionary.

This is called by the JobAgent for the case of “inner” CEs.

getJobOutput(jobID, localDir=None)

Get the stdout and stderr outputs of the specified job . If the localDir is provided, the outputs are stored as files in this directory and the name of the files are returned. Otherwise, the outputs are returned as strings.


Get the status information about jobs in the given list


Get the CE complete parameter dictionary


Initialize the CE parameters after they are collected from various sources


Check if the stored proxy is valid


Check the sanity of the Computing Element definition


Instantiate object representing the backend batch system

sendOutput(stdid, line)

Callback function such that the results from the CE may be returned.


Update the CPUTime parameter of the CE classAd, necessary for running in filling mode


Add parameters from the given dictionary overriding the previous values

Parameters:ceOptions (dict) – CE parameters dictionary to update already defined ones
setProxy(proxy, valid=0)

Set proxy for this instance

submitJob(executableFile, proxy=None, numberOfJobs=1)

Method to submit job


CE helper function to write a CE proxy string to a file.