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
eaefc7e1
Commit
eaefc7e1
authored
16 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
no change in logic, just comments
parent
eeed0878
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/bluegene/plugin/slurm_prolog.c
+6
-6
6 additions, 6 deletions
src/plugins/select/bluegene/plugin/slurm_prolog.c
with
6 additions
and
6 deletions
src/plugins/select/bluegene/plugin/slurm_prolog.c
+
6
−
6
View file @
eaefc7e1
...
...
@@ -61,11 +61,11 @@
/*
* Check the bgblock's status every POLL_SLEEP seconds.
* Retry for a period of
MIN_FREE_PERVIOUS_BLOCK_DELAY + MIN_DELAY +
*
(
IN
CR_DELAY * POLL_SLEEP
* base partition count)
.
* For example if MIN_DELAY=300 and IN
CR
_DELAY=20 and
POLL_SLEEP=3,
* wait up to
126
0 seconds
.
*
For a 16 base partition bgblock to be ready (3
00 + (20 *
3 * 16).
* Retry for a period of
*
M
IN
_FREE_PERVIOUS_BLOCK_DELAY + MIN_DELAY + (INCR_DELAY
* base partition count)
* For example if MIN_
FREE_PERVIOUS_BLOCK_
DELAY=300 and
M
IN_DELAY=20
0
and
*
INCR_DELAY=20 and job_size=4 base partitions then
wait up to
58
0 seconds
*
300 + 2
00 + (20 *
4)
*/
#define POLL_SLEEP 3
/* retry interval in seconds */
#define MIN_FREE_PERVIOUS_BLOCK_DELAY 300
/* time in seconds */
...
...
@@ -115,7 +115,7 @@ static int _wait_part_ready(uint32_t job_id)
{
int
is_ready
=
0
,
i
,
rc
;
max_delay
=
MIN_DELAY
+
MIN_FREE_PERVIOUS_BLOCK_DELAY
+
max_delay
=
MIN_FREE_PERVIOUS_BLOCK_DELAY
+
MIN_DELAY
+
(
INCR_DELAY
*
_get_job_size
(
job_id
));
#if _DEBUG
...
...
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