ARC6ComputingElement

ARC6 Computing Element

Temporary ARC Computing Element able to submit to gridftp and arex services via the REST and EMI-ES interfaces. Use it only if gridftp services are not supported anymore. Arc6CE should be dropped once the AREXCE will be fully operational.

Configuration Parameters

Configuration for the AREXComputingElement submission can be done via the configuration system. It inherits from the ARCComputingElement configuration parameters. Below, you can find a list of parameters specific to the ARC6 CE.

ComputingInfoEndpoint:

Endpoint used to retrieve information about the underlying computing resources. Possible values include: org.nordugrid.ldapglue2, org.ogf.glue.emies.resourceinfo, org.nordugrid.rest.

Code Documentation

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

Bases: ARCComputingElement

__init__(ceUniqueID)

Standard constructor.

Deprecated: ARC6 is deprecated and will be removed from v9.0. Please, use AREXComputingElement instead

available(jobIDList=None)

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

getCEStatus(**kwargs)

Method to get dynamic job information, can be overridden in sub-class.

getDescription()

Get CE description as a dictionary.

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

getJobOutput(**kwargs)
getJobStatus(**kwargs)
initializeParameters()

Initialize the CE parameters after they are collected from various sources

isProxyValid(valid=1000)

Check if the stored proxy is valid

isValid()

Check the sanity of the Computing Element definition

killJob(**kwargs)
loadBatchSystem(batchSystemName)

Instantiate object representing the backend batch system

Parameters:

batchSystemName (str) – name of the batch system

sendOutput(stdid, line)

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

setCPUTimeLeft(cpuTimeLeft=None)

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

setParameters(ceOptions)

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

setToken(token)
shutdown()

Optional method to shutdown the (Inner) Computing Element

submitJob(**kwargs)

Method to submit job, should be overridden in sub-class.

writeProxyToFile(proxy)

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