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
5f937eed
Commit
5f937eed
authored
14 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
fix bug in reporting reservation numbers. This permits jobs to run in cray emulation mode
parent
47a2fa91
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/plugins/select/cray/libemulate/alps_emulate.c
+6
-1
6 additions, 1 deletion
src/plugins/select/cray/libemulate/alps_emulate.c
with
6 additions
and
1 deletion
src/plugins/select/cray/libemulate/alps_emulate.c
+
6
−
1
View file @
5f937eed
...
...
@@ -447,7 +447,7 @@ extern struct basil_inventory *get_full_inventory(enum basil_version version)
continue
;
basil_rsvn_ptr
=
xmalloc
(
sizeof
(
struct
basil_rsvn
));
*
last_basil_rsvn_ptr
=
basil_rsvn_ptr
;
basil_rsvn_ptr
->
rsvn_id
=
i
;
basil_rsvn_ptr
->
rsvn_id
=
i
+
1
;
last_basil_rsvn_ptr
=
&
basil_rsvn_ptr
->
next
;
}
return
inv
;
...
...
@@ -524,8 +524,13 @@ extern int basil_confirm(uint32_t rsvn_id, int job_id, uint64_t pagg_id)
#endif
if
((
job_id
==
0
)
||
(
rsvn_id
>
MAX_RESV_CNT
))
return
-
1
;
#if 0
/* This is executed from the slurmd, so we really can not confirm
* here if the reseravation was made by the slurmctld. Just assume
* it is valid. */
if (resv_jobid[rsvn_id-1] != job_id)
return -1;
#endif
return
0
;
}
...
...
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