Skip to content

Job Object

Paul Nilsson edited this page Apr 25, 2022 · 1 revision

The Job object is an instance of the JobData class. It holds all information relevant to a given PanDA job. Below is a list of the data members of the JobData class along with explanations.

Data member Type Meaning
accessmode String Direct access instruction from jobparams. E.g. jobparams = '.. --accessmode=copy ..' gives accessmode = 'copy' (copy-to-scratch mode), or jobparams = '.. --accessmode=direct ..' gives accessmode = 'direct' (i.e. direct access mode). 'copy' is the default value. accessmode = 'direct' is also set if 'storage_token') != 'local' and (transfertype is 'direct' or job is a user analysis job)
actualcorecount Integer Number of cores actually used by the payload
allownooutput String Used to disregard empty files from job report. If this is an empty string, do nothing - it set, output files will be removed if they are present in allownooutput and do not exist
alrbuserplatform String ALRB_USER_PLATFORM encoded in the platform/cmtconfig value ('@' is used as separator). If set, the value will be used with 'export thePlatform=..' in the ALRB (container) setup
attemptnr Integer Job attempt number. The pilot does not use this number by itself; it is included in the job definition and is uploaded with each server communication
command String The full payload command
containeroptions Dictionary A dictionary from the job definition that can be used in the container setup. In the ATLAS code, the following fields are used: containerImage (export value for thePlatform), containerExec (..) and execArgs (..)
coprocess Dictionary  
corecount Integer  
corecounts List  
cpuconsumptionunit String  
cpuconsumptiontime Integer  
cpuconversionfactor Integer  
currentsize Integer The current size of the job object
datasetin String  
dbdata    
dbtime    
debug Boolean True in the case the pilot receives a debug command from the server via the backchannel
debug_command String Debug command sent from the server in debug mode. Pilot accepts several different commands
destinationdblock String  
exeerrorcode Integer  
exeerrordiag String  
exitcode Integer  
exitmsg String  
fileinfo Dictionary  
homepackage String  
imagename String  
imagename_jobdef String  
indata List  
infilesguids String  
is_eventservice Boolean  
is_eventservicemerge Boolean  
is_hpo Boolean  
jobdefinitionid String  
jobid String Unique Job identifier (synonymous with PandaID), e.g. jobid = '4993552533'
jobparams String Job parameters defining the payload execution (options to the payload command)
jobsetid String  
logdata List  
looping_check Boolean If set to True in job definition, the Pilot will perform the looping job check using an internally set time-out limit (see default.cfg)
maxcpucount Integer (previously used for controlling looping job limits - currently unused)
memorymonitor String  
metadata Dictionary  
nevents Integer  
neventsw Integer  
noexecstrcnv    
outdata List  
overwrite_queuedata Dictionary  
overwrite_storagedata Dictionary  
payload String  
pgrp Integer  
pid Integer  
piloterrorcode Integer  
piloterrorcodes List  
piloterrordiag String  
piloterrordiags List  
platform String  
postprocess Dictionary  
preprocess Dictionary  
processingtype String  
produserid String  
setup String  
serverstate String  
sizes Dictionary  
stageout String  
state String  
status String  
swrelease String  
t0 Integer  
taskid String Unique Task identifier, corresponding to the task that this job belongs to. If not set by the server, the value in the job definition dictionary will be 'NULL'. Otherwise numeric, e.g. tasked = '24342519'
transexitcode Integer  
transfertype String  
transformation String  
use_vp Boolean  
utilities Dictionary  
workdir String  
workdirsizes List  
writetofile String  
zipmap String  
zombies List  
_rawdata Dictionary Placement holder for infosys raw data (internally used only)