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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
18e2ab7a
Commit
18e2ab7a
authored
Jun 2, 2005
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Fix problem in propogation of BGL geometry option.
parent
4db033b2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
NEWS
+1
-0
1 addition, 0 deletions
NEWS
src/common/slurm_protocol_pack.c
+2
-2
2 additions, 2 deletions
src/common/slurm_protocol_pack.c
src/slurmctld/job_mgr.c
+1
-1
1 addition, 1 deletion
src/slurmctld/job_mgr.c
src/srun/allocate.c
+3
-2
3 additions, 2 deletions
src/srun/allocate.c
with
7 additions
and
5 deletions
NEWS
+
1
−
0
View file @
18e2ab7a
...
...
@@ -3,6 +3,7 @@ documents those changes that are of interest to users and admins.
* Changes in SLURM 0.5.0-pre8
=============================
-- BlueGene srun --geometry was not getting propogated properly.
* Changes in SLURM 0.5.0-pre7
=============================
...
...
...
...
This diff is collapsed.
Click to expand it.
src/common/slurm_protocol_pack.c
+
2
−
2
View file @
18e2ab7a
...
...
@@ -1988,7 +1988,7 @@ _pack_job_desc_msg(job_desc_msg_t * job_desc_ptr, Buf buffer)
packstr
(
job_desc_ptr
->
network
,
buffer
);
if
(
select_g_alloc_jobinfo
(
&
jobinfo
)
==
SLURM_SUCCESS
)
{
#if SYSTEM_DIMENSION
#if SYSTEM_DIMENSION
S
select_g_set_jobinfo
(
jobinfo
,
SELECT_DATA_GEOMETRY
,
job_desc_ptr
->
geometry
);
#endif
...
...
@@ -2069,7 +2069,7 @@ _unpack_job_desc_msg(job_desc_msg_t ** job_desc_buffer_ptr, Buf buffer)
if
(
select_g_alloc_jobinfo
(
&
job_desc_ptr
->
select_jobinfo
)
||
select_g_unpack_jobinfo
(
job_desc_ptr
->
select_jobinfo
,
buffer
))
goto
unpack_error
;
#if SYSTEM_DIMENSION
#if SYSTEM_DIMENSION
S
select_g_get_jobinfo
(
job_desc_ptr
->
select_jobinfo
,
SELECT_DATA_GEOMETRY
,
job_desc_ptr
->
geometry
);
#endif
...
...
...
...
This diff is collapsed.
Click to expand it.
src/slurmctld/job_mgr.c
+
1
−
1
View file @
18e2ab7a
...
...
@@ -2216,7 +2216,7 @@ _copy_job_desc_to_job_record(job_desc_msg_t * job_desc,
if
(
select_g_alloc_jobinfo
(
&
job_ptr
->
select_jobinfo
))
return
SLURM_ERROR
;
#if SYSTEM_DIMENSION
#if SYSTEM_DIMENSION
S
select_g_set_jobinfo
(
job_ptr
->
select_jobinfo
,
SELECT_DATA_GEOMETRY
,
job_desc
->
geometry
);
...
...
...
...
This diff is collapsed.
Click to expand it.
src/srun/allocate.c
+
3
−
2
View file @
18e2ab7a
...
...
@@ -32,6 +32,7 @@
#include
<stdlib.h>
#include
<sys/poll.h>
#include
"src/common/log.h"
#include
"src/common/macros.h"
#include
"src/common/slurm_auth.h"
...
...
@@ -381,7 +382,7 @@ job_desc_msg_create_from_opts (char *script)
if
(
opt
.
hold
)
j
->
priority
=
0
;
#if SYSTEM_DIMENSION
#if SYSTEM_DIMENSION
S
if
(
opt
.
geometry
[
0
]
>
0
)
{
int
i
;
for
(
i
=
0
;
i
<
SYSTEM_DIMENSIONS
;
i
++
)
...
...
...
...
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
sign in
to comment