-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introducing 'Scouting' Status in WMS state transitions #7083
Comments
Hi, |
Yes and No. "Scout jobs" are created at the job submission -- when a user submits a set of jobs, our client tool makes a smaller set of shorter jobs as "scout jobs" and submits them (the original and the scout) altogether. Then, our BelleDIRAC Optimizer (in BelleDIRAC/WorkloadManagementSystem/Executor) changes the status of the original jobs to "Scouting" while waiting for the execution of the scout jobs. The first one is Belle II specific in the sense we copy jobs with expecting some Belle II specific scripts in them. See the slides at the last DUW =====
Slide 13: What else is included in BelleDIRAC
Can be included as part of vanilla DIRAC. Slide 21: Summary
===== |
What I would suggest is:
|
In our BelleDIRAC extension, we have defined Scout jobs as a small subset of the main jobs that run first, and the rest of the jobs are executed only when scouting is done. Main jobs get the status ‘Scouting’ while waiting for the execution of the subset. Scout jobs were presented in the DIRAC Users Workshop in 2021 (link to contribution).
From DIRAC 7.3, WMS changes the way that statuses change and now state transitions are defined: JobStatus.py#L82
When we migrated our system to DIRAC 7.3, we noticed error messages like
Our
Scouting
state is very much similar toStaging
in the sense that jobs stay in that state beforeWaiting
until some conditions are fulfilled. The transitions that job states with scouting face are:If you agree, we need to
Define the state “Scouting” at JOB_STATES:
https://github.com/DIRACGrid/DIRAC/blob/rel-v7r3/src/DIRAC/WorkloadManagementSystem/Client/JobStatus.py#L48
Enable the transitions
The text was updated successfully, but these errors were encountered: