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
e0fda80c
Commit
e0fda80c
authored
8 years ago
by
Michael Meier
Committed by
Danny Auble
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix 'flags' variable to be 32 bit from the old 16 bit value in the perl api.
parent
46a23d9d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS
+1
-0
1 addition, 0 deletions
NEWS
contribs/perlapi/libslurm/perl/reservation.c
+3
-3
3 additions, 3 deletions
contribs/perlapi/libslurm/perl/reservation.c
with
4 additions
and
3 deletions
NEWS
+
1
−
0
View file @
e0fda80c
...
...
@@ -85,6 +85,7 @@ documents those changes that are of interest to users and administrators.
-- Refactor slurmctld agent logic to eliminate some pthreads.
-- Added "SyscfgTimeout" parameter to knl.conf configuration file.
-- Fix for CPU binding for job steps run under a batch job.
-- Fix 'flags' variable to be 32 bit from the old 16 bit value in the perl api.
* Changes in Slurm 17.02.0
==========================
...
...
This diff is collapsed.
Click to expand it.
contribs/perlapi/libslurm/perl/reservation.c
+
3
−
3
View file @
e0fda80c
...
...
@@ -22,7 +22,7 @@ reserve_info_to_hv(reserve_info_t *reserve_info, HV *hv)
STORE_FIELD
(
hv
,
reserve_info
,
end_time
,
time_t
);
if
(
reserve_info
->
features
)
STORE_FIELD
(
hv
,
reserve_info
,
features
,
charp
);
STORE_FIELD
(
hv
,
reserve_info
,
flags
,
uint
16
_t
);
STORE_FIELD
(
hv
,
reserve_info
,
flags
,
uint
32
_t
);
if
(
reserve_info
->
licenses
)
STORE_FIELD
(
hv
,
reserve_info
,
licenses
,
charp
);
if
(
reserve_info
->
name
)
...
...
@@ -68,7 +68,7 @@ hv_to_reserve_info(HV *hv, reserve_info_t *resv_info)
FETCH_FIELD
(
hv
,
resv_info
,
accounts
,
charp
,
FALSE
);
FETCH_FIELD
(
hv
,
resv_info
,
end_time
,
time_t
,
TRUE
);
FETCH_FIELD
(
hv
,
resv_info
,
features
,
charp
,
FALSE
);
FETCH_FIELD
(
hv
,
resv_info
,
flags
,
uint
16
_t
,
TRUE
);
FETCH_FIELD
(
hv
,
resv_info
,
flags
,
uint
32
_t
,
TRUE
);
FETCH_FIELD
(
hv
,
resv_info
,
licenses
,
charp
,
FALSE
);
FETCH_FIELD
(
hv
,
resv_info
,
name
,
charp
,
TRUE
);
FETCH_FIELD
(
hv
,
resv_info
,
node_cnt
,
uint32_t
,
TRUE
);
...
...
@@ -171,7 +171,7 @@ hv_to_update_reservation_msg(HV *hv, resv_desc_msg_t *resv_msg)
FETCH_FIELD
(
hv
,
resv_msg
,
duration
,
uint32_t
,
FALSE
);
FETCH_FIELD
(
hv
,
resv_msg
,
end_time
,
time_t
,
FALSE
);
FETCH_FIELD
(
hv
,
resv_msg
,
features
,
charp
,
FALSE
);
FETCH_FIELD
(
hv
,
resv_msg
,
flags
,
uint
16
_t
,
FALSE
);
FETCH_FIELD
(
hv
,
resv_msg
,
flags
,
uint
32
_t
,
FALSE
);
FETCH_FIELD
(
hv
,
resv_msg
,
licenses
,
charp
,
FALSE
);
FETCH_FIELD
(
hv
,
resv_msg
,
name
,
charp
,
FALSE
);
FETCH_PTR_FIELD
(
hv
,
resv_msg
,
node_cnt
,
"SLURM::uint32_t"
,
FALSE
);
...
...
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