- ARC Computing Element
Using the ARC API now
Configuration for the ARCComputingElement submission can be done via the configuration system. See the page about configuring Resources / Computing for where the options can be placed.
Default additional string for ARC submit files. Should be written in the following format:
(key = "value")
Default additional string for ARC submit files for multi-processor jobs. Should be written in the following format:
(key = "value")
The host for the ARC CE, used to overwrite the CE name.
Directory where the pilot log files are stored locally. For instance:
Name of the protocol to use to interact with ARC services: Emies and Gridftp are supported. Gridftp communicates with gridftpd services providing authentication and encryption for file transfers. ARC developers are going to drop it in the future. Emies is another protocol that allows to interact with A-REX services that provide additional features (support of OIDC tokens).
Line that should be executed just before the executable file.
- class DIRAC.Resources.Computing.ARCComputingElement.ARCComputingElement(ceUniqueID)
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.
jobIDList (list) – list of already existing job IDs to be checked against
Method to return information on running and pending jobs. We hope to satisfy both instances that use robot proxies and those which use proper configurations.
Get CE description as a dictionary.
This is called by the JobAgent for the case of “inner” CEs.
- getJobOutput(jobID, localDir=None)
Get the specified job standard output and error files. If the localDir is provided, the output is returned as file in this directory. Otherwise, the output is returned as strings.
Get the status information for the given list of jobs
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
Kill the specified jobs
Instantiate object representing the backend batch system
batchSystemName (str) – name of the 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
ceOptions (dict) – CE parameters dictionary to update already defined ones
- setProxy(proxy, valid=0)
Set proxy for this instance
Optional method to shutdown the (Inner) Computing Element
- submitJob(executableFile, proxy, numberOfJobs=1, inputs=None, outputs=None)
Method to submit job
CE helper function to write a CE proxy string to a file.