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
286b81fb
Commit
286b81fb
authored
17 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
update for change in config file contents
parent
4f42c426
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
contribs/perlapi/libslurm-perl/conf.c
+25
-14
25 additions, 14 deletions
contribs/perlapi/libslurm-perl/conf.c
with
25 additions
and
14 deletions
contribs/perlapi/libslurm-perl/conf.c
+
25
−
14
View file @
286b81fb
...
@@ -39,24 +39,32 @@ slurm_ctl_conf_to_hv(slurm_ctl_conf_t* conf, HV* hv)
...
@@ -39,24 +39,32 @@ slurm_ctl_conf_to_hv(slurm_ctl_conf_t* conf, HV* hv)
STORE_FIELD
(
hv
,
conf
,
next_job_id
,
uint32_t
);
STORE_FIELD
(
hv
,
conf
,
next_job_id
,
uint32_t
);
STORE_FIELD
(
hv
,
conf
,
fast_schedule
,
uint16_t
);
STORE_FIELD
(
hv
,
conf
,
fast_schedule
,
uint16_t
);
STORE_FIELD
(
hv
,
conf
,
inactive_limit
,
uint16_t
);
STORE_FIELD
(
hv
,
conf
,
inactive_limit
,
uint16_t
);
if
(
conf
->
job_acct_
loc
)
if
(
conf
->
job_acct_
gather_type
)
STORE_FIELD
(
hv
,
conf
,
job_acct_
loc
,
charp
);
STORE_FIELD
(
hv
,
conf
,
job_acct_
gather_type
,
charp
);
STORE_FIELD
(
hv
,
conf
,
job_acct_freq
,
uint16_t
);
STORE_FIELD
(
hv
,
conf
,
job_acct_
gather_
freq
,
uint16_t
);
if
(
conf
->
job_acct_
type
)
if
(
conf
->
job_acct_
storage_loc
)
STORE_FIELD
(
hv
,
conf
,
job_acct_
type
,
charp
);
STORE_FIELD
(
hv
,
conf
,
job_acct_
storage_loc
,
charp
);
if
(
conf
->
databas
e_type
)
if
(
conf
->
job_acct_storag
e_type
)
STORE_FIELD
(
hv
,
conf
,
databas
e_type
,
charp
);
STORE_FIELD
(
hv
,
conf
,
job_acct_storag
e_type
,
charp
);
if
(
conf
->
databas
e_user
)
if
(
conf
->
job_acct_storag
e_user
)
STORE_FIELD
(
hv
,
conf
,
databas
e_user
,
charp
);
STORE_FIELD
(
hv
,
conf
,
job_acct_storag
e_user
,
charp
);
if
(
conf
->
databas
e_host
)
if
(
conf
->
job_acct_storag
e_host
)
STORE_FIELD
(
hv
,
conf
,
databas
e_host
,
charp
);
STORE_FIELD
(
hv
,
conf
,
job_acct_storag
e_host
,
charp
);
if
(
conf
->
databas
e_pass
)
if
(
conf
->
job_acct_storag
e_pass
)
STORE_FIELD
(
hv
,
conf
,
databas
e_pass
,
charp
);
STORE_FIELD
(
hv
,
conf
,
job_acct_storag
e_pass
,
charp
);
STORE_FIELD
(
hv
,
conf
,
databas
e_port
,
uint32_t
);
STORE_FIELD
(
hv
,
conf
,
job_acct_storag
e_port
,
uint32_t
);
if
(
conf
->
job_comp_type
)
if
(
conf
->
job_comp_type
)
STORE_FIELD
(
hv
,
conf
,
job_comp_type
,
charp
);
STORE_FIELD
(
hv
,
conf
,
job_comp_type
,
charp
);
if
(
conf
->
job_comp_loc
)
if
(
conf
->
job_comp_loc
)
STORE_FIELD
(
hv
,
conf
,
job_comp_loc
,
charp
);
STORE_FIELD
(
hv
,
conf
,
job_comp_loc
,
charp
);
if
(
conf
->
job_comp_user
)
STORE_FIELD
(
hv
,
conf
,
job_comp_user
,
charp
);
if
(
conf
->
job_comp_host
)
STORE_FIELD
(
hv
,
conf
,
job_comp_host
,
charp
);
if
(
conf
->
job_comp_pass
)
STORE_FIELD
(
hv
,
conf
,
job_comp_pass
,
charp
);
STORE_FIELD
(
hv
,
conf
,
job_comp_port
,
uint32_t
);
STORE_FIELD
(
hv
,
conf
,
job_file_append
,
uint16_t
);
STORE_FIELD
(
hv
,
conf
,
kill_wait
,
uint16_t
);
STORE_FIELD
(
hv
,
conf
,
kill_wait
,
uint16_t
);
if
(
conf
->
mail_prog
)
if
(
conf
->
mail_prog
)
STORE_FIELD
(
hv
,
conf
,
mail_prog
,
charp
);
STORE_FIELD
(
hv
,
conf
,
mail_prog
,
charp
);
...
@@ -145,6 +153,9 @@ slurm_ctl_conf_to_hv(slurm_ctl_conf_t* conf, HV* hv)
...
@@ -145,6 +153,9 @@ slurm_ctl_conf_to_hv(slurm_ctl_conf_t* conf, HV* hv)
STORE_FIELD
(
hv
,
conf
,
node_prefix
,
charp
);
STORE_FIELD
(
hv
,
conf
,
node_prefix
,
charp
);
STORE_FIELD
(
hv
,
conf
,
tree_width
,
uint16_t
);
STORE_FIELD
(
hv
,
conf
,
tree_width
,
uint16_t
);
STORE_FIELD
(
hv
,
conf
,
use_pam
,
uint16_t
);
STORE_FIELD
(
hv
,
conf
,
use_pam
,
uint16_t
);
if
(
conf
->
unkillable_program
)
STORE_FIELD
(
hv
,
conf
,
unkillable_program
,
charp
);
STORE_FIELD
(
hv
,
conf
,
unkillable_timeout
,
uint16_t
);
return
0
;
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