Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
30461f9d
Commit
30461f9d
authored
14 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
add some comments defining SLURM_DEPEND values
parent
9a7cd98e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/slurmctld/slurmctld.h
+7
-5
7 additions, 5 deletions
src/slurmctld/slurmctld.h
with
7 additions
and
5 deletions
src/slurmctld/slurmctld.h
+
7
−
5
View file @
30461f9d
...
@@ -501,11 +501,13 @@ struct job_record {
...
@@ -501,11 +501,13 @@ struct job_record {
};
};
/* Job dependency specification, used in "depend_list" within job_record */
/* Job dependency specification, used in "depend_list" within job_record */
#define SLURM_DEPEND_AFTER 1
#define SLURM_DEPEND_AFTER 1
/* After job begins */
#define SLURM_DEPEND_AFTER_ANY 2
#define SLURM_DEPEND_AFTER_ANY 2
/* After job completes */
#define SLURM_DEPEND_AFTER_NOT_OK 3
#define SLURM_DEPEND_AFTER_NOT_OK 3
/* After job fails */
#define SLURM_DEPEND_AFTER_OK 4
#define SLURM_DEPEND_AFTER_OK 4
/* After job completes
#define SLURM_DEPEND_SINGLETON 5
* successfully */
#define SLURM_DEPEND_SINGLETON 5
/* Only one job for this
* user/name at a time */
struct
depend_spec
{
struct
depend_spec
{
uint16_t
depend_type
;
/* SLURM_DEPEND_* type */
uint16_t
depend_type
;
/* SLURM_DEPEND_* type */
uint32_t
job_id
;
/* SLURM job_id */
uint32_t
job_id
;
/* SLURM job_id */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment