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
f214a2b1
Commit
f214a2b1
authored
17 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add logic to report GetEnvTimeout config parameter
parent
22271621
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
slurm/slurm.h.in
+1
-1
1 addition, 1 deletion
slurm/slurm.h.in
src/api/config_info.c
+3
-1
3 additions, 1 deletion
src/api/config_info.c
src/common/slurm_protocol_pack.c
+4
-0
4 additions, 0 deletions
src/common/slurm_protocol_pack.c
with
8 additions
and
2 deletions
slurm/slurm.h.in
+
1
−
1
View file @
f214a2b1
...
@@ -937,6 +937,7 @@ typedef struct slurm_ctl_conf {
...
@@ -937,6 +937,7 @@ typedef struct slurm_ctl_conf {
uint32_t next_job_id; /* next slurm generated job_id to assign */
uint32_t next_job_id; /* next slurm generated job_id to assign */
uint16_t fast_schedule; /* 1 to *not* check configurations by node
uint16_t fast_schedule; /* 1 to *not* check configurations by node
* (only check configuration file, faster) */
* (only check configuration file, faster) */
uint16_t get_env_timeout; /* timeout for srun --get-user-env option */
uint16_t inactive_limit;/* seconds of inactivity before a
uint16_t inactive_limit;/* seconds of inactivity before a
* inactive resource allocation is released */
* inactive resource allocation is released */
char *job_acct_gather_type; /* job accounting gather type */
char *job_acct_gather_type; /* job accounting gather type */
...
@@ -957,7 +958,6 @@ typedef struct slurm_ctl_conf {
...
@@ -957,7 +958,6 @@ typedef struct slurm_ctl_conf {
char *job_credential_private_key; /* path to private key */
char *job_credential_private_key; /* path to private key */
char *job_credential_public_certificate;/* path to public certificate*/
char *job_credential_public_certificate;/* path to public certificate*/
uint16_t job_file_append; /* if set, append to stdout/err file */
uint16_t job_file_append; /* if set, append to stdout/err file */
uint16_t get_env_timeout; /* secs allowed for srun --get-user-env */
uint16_t kill_wait; /* seconds between SIGXCPU to SIGKILL
uint16_t kill_wait; /* seconds between SIGXCPU to SIGKILL
* on job termination */
* on job termination */
char *mail_prog; /* pathname of mail program */
char *mail_prog; /* pathname of mail program */
...
...
This diff is collapsed.
Click to expand it.
src/api/config_info.c
+
3
−
1
View file @
f214a2b1
...
@@ -147,7 +147,9 @@ void slurm_print_ctl_conf ( FILE* out,
...
@@ -147,7 +147,9 @@ void slurm_print_ctl_conf ( FILE* out,
fprintf
(
out
,
"FastSchedule = %u
\n
"
,
fprintf
(
out
,
"FastSchedule = %u
\n
"
,
slurm_ctl_conf_ptr
->
fast_schedule
);
slurm_ctl_conf_ptr
->
fast_schedule
);
fprintf
(
out
,
"FirstJobId = %u
\n
"
,
fprintf
(
out
,
"FirstJobId = %u
\n
"
,
slurm_ctl_conf_ptr
->
first_job_id
);
slurm_ctl_conf_ptr
->
first_job_id
);
fprintf
(
out
,
"GetEnvTimeout = %u
\n
"
,
slurm_ctl_conf_ptr
->
get_env_timeout
);
#ifdef HAVE_XCPU
#ifdef HAVE_XCPU
fprintf
(
out
,
"HAVE_XCPU = %d
\n
"
,
HAVE_XCPU
);
fprintf
(
out
,
"HAVE_XCPU = %d
\n
"
,
HAVE_XCPU
);
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
src/common/slurm_protocol_pack.c
+
4
−
0
View file @
f214a2b1
...
@@ -2215,6 +2215,8 @@ _pack_slurm_ctl_conf_msg(slurm_ctl_conf_info_msg_t * build_ptr, Buf buffer)
...
@@ -2215,6 +2215,8 @@ _pack_slurm_ctl_conf_msg(slurm_ctl_conf_info_msg_t * build_ptr, Buf buffer)
pack16
(
build_ptr
->
fast_schedule
,
buffer
);
pack16
(
build_ptr
->
fast_schedule
,
buffer
);
pack32
(
build_ptr
->
first_job_id
,
buffer
);
pack32
(
build_ptr
->
first_job_id
,
buffer
);
pack16
(
build_ptr
->
get_env_timeout
,
buffer
);
pack16
(
build_ptr
->
inactive_limit
,
buffer
);
pack16
(
build_ptr
->
inactive_limit
,
buffer
);
pack16
(
build_ptr
->
job_acct_gather_freq
,
buffer
);
pack16
(
build_ptr
->
job_acct_gather_freq
,
buffer
);
...
@@ -2347,6 +2349,8 @@ _unpack_slurm_ctl_conf_msg(slurm_ctl_conf_info_msg_t **
...
@@ -2347,6 +2349,8 @@ _unpack_slurm_ctl_conf_msg(slurm_ctl_conf_info_msg_t **
safe_unpack16
(
&
build_ptr
->
fast_schedule
,
buffer
);
safe_unpack16
(
&
build_ptr
->
fast_schedule
,
buffer
);
safe_unpack32
(
&
build_ptr
->
first_job_id
,
buffer
);
safe_unpack32
(
&
build_ptr
->
first_job_id
,
buffer
);
safe_unpack16
(
&
build_ptr
->
get_env_timeout
,
buffer
);
safe_unpack16
(
&
build_ptr
->
inactive_limit
,
buffer
);
safe_unpack16
(
&
build_ptr
->
inactive_limit
,
buffer
);
safe_unpack16
(
&
build_ptr
->
job_acct_gather_freq
,
buffer
);
safe_unpack16
(
&
build_ptr
->
job_acct_gather_freq
,
buffer
);
...
...
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