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
a28bd49a
Commit
a28bd49a
authored
12 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
Permit limited changes to core reservations (e.g. user/account access)
parent
892e114d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/html/disclaimer.shtml
+1
-0
1 addition, 0 deletions
doc/html/disclaimer.shtml
src/slurmctld/reservation.c
+3
-2
3 additions, 2 deletions
src/slurmctld/reservation.c
with
4 additions
and
2 deletions
doc/html/disclaimer.shtml
+
1
−
0
View file @
a28bd49a
...
@@ -48,6 +48,7 @@ SLURM's code and documenation files:<br>
...
@@ -48,6 +48,7 @@ SLURM's code and documenation files:<br>
Copyright (C) 2011 Trinity Centre for High Performance Computing<br>
Copyright (C) 2011 Trinity Centre for High Performance Computing<br>
Copyright (C) 2010-2012 SchedMD LLC<br>
Copyright (C) 2010-2012 SchedMD LLC<br>
Copyright (C) 2009 CEA/DAM/DIF<br>
Copyright (C) 2009 CEA/DAM/DIF<br>
Copyright (C) 2012 CSC-IT Center for Science Ltd.<br>
Copyright (C) 2009-2011 Centro Svizzero di Calcolo Scientifico (CSCS)<br>
Copyright (C) 2009-2011 Centro Svizzero di Calcolo Scientifico (CSCS)<br>
Copyright (C) 2008-2011 Lawrence Livermore National Security<br>
Copyright (C) 2008-2011 Lawrence Livermore National Security<br>
Copyright (C) 2008 Vijay Ramasubramanian<br>
Copyright (C) 2008 Vijay Ramasubramanian<br>
...
...
This diff is collapsed.
Click to expand it.
src/slurmctld/reservation.c
+
3
−
2
View file @
a28bd49a
...
@@ -1828,8 +1828,9 @@ extern int update_resv(resv_desc_msg_t *resv_desc_ptr)
...
@@ -1828,8 +1828,9 @@ extern int update_resv(resv_desc_msg_t *resv_desc_ptr)
if
(
!
resv_ptr
)
if
(
!
resv_ptr
)
return
ESLURM_RESERVATION_INVALID
;
return
ESLURM_RESERVATION_INVALID
;
/* TODO: core based reservation updates */
/* FIXME: Support more core based reservation updates */
if
(
resv_ptr
->
full_nodes
==
0
)
if
((
resv_ptr
->
full_nodes
==
0
)
&&
(
resv_desc_ptr
->
node_cnt
||
resv_desc_ptr
->
node_list
))
return
ESLURM_RESERVATION_NOT_USABLE
;
return
ESLURM_RESERVATION_NOT_USABLE
;
/* Make backup to restore state in case of failure */
/* Make backup to restore state in case of failure */
...
...
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