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
9aca1159
Commit
9aca1159
authored
10 years ago
by
Danny Auble
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/slurm-14.03' into slurm-14.11
parents
b33b0b90
c1a43890
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
NEWS
+1
-0
1 addition, 0 deletions
NEWS
src/sacctmgr/archive_functions.c
+7
-6
7 additions, 6 deletions
src/sacctmgr/archive_functions.c
src/sacctmgr/cluster_functions.c
+2
-1
2 additions, 1 deletion
src/sacctmgr/cluster_functions.c
src/sacctmgr/file_functions.c
+2
-1
2 additions, 1 deletion
src/sacctmgr/file_functions.c
with
12 additions
and
8 deletions
NEWS
+
1
−
0
View file @
9aca1159
...
...
@@ -270,6 +270,7 @@ documents those changes that are of interest to users and administrators.
* Changes in Slurm 14.03.10
===========================
-- Fix a few sacctmgr error messages.
* Changes in Slurm 14.03.9
==========================
...
...
This diff is collapsed.
Click to expand it.
src/sacctmgr/archive_functions.c
+
7
−
6
View file @
9aca1159
...
...
@@ -428,11 +428,11 @@ extern int sacctmgr_archive_dump(int argc, char *argv[])
if
(
arch_cond
->
archive_dir
)
{
if
(
stat
(
arch_cond
->
archive_dir
,
&
st
)
<
0
)
{
exit_code
=
errno
;
fprintf
(
stderr
,
" dump: Failed to stat %s: %
m
\n
"
fprintf
(
stderr
,
" dump: Failed to stat %s: %
s
\n
"
"Note: For archive dump, "
"the directory must be on "
"the calling host.
\n
"
,
arch_cond
->
archive_dir
);
arch_cond
->
archive_dir
,
slurm_strerror
(
errno
)
);
return
SLURM_ERROR
;
}
...
...
@@ -456,10 +456,11 @@ extern int sacctmgr_archive_dump(int argc, char *argv[])
if
(
arch_cond
->
archive_script
)
{
if
(
stat
(
arch_cond
->
archive_script
,
&
st
)
<
0
)
{
exit_code
=
errno
;
fprintf
(
stderr
,
" dump: Failed to stat %s: %
m
\n
"
fprintf
(
stderr
,
" dump: Failed to stat %s: %
s
\n
"
"Note: For archive dump, the script must be on "
"the calling host.
\n
"
,
arch_cond
->
archive_script
);
arch_cond
->
archive_script
,
slurm_strerror
(
errno
));
return
SLURM_ERROR
;
}
if
(
!
(
st
.
st_mode
&
S_IFREG
))
{
...
...
@@ -551,10 +552,10 @@ extern int sacctmgr_archive_load(int argc, char *argv[])
if
(
stat
(
arch_rec
->
archive_file
,
&
st
)
<
0
)
{
exit_code
=
errno
;
fprintf
(
stderr
,
" load: Failed to stat %s: %
m
\n
"
fprintf
(
stderr
,
" load: Failed to stat %s: %
s
\n
"
"Note: For archive load, the file must be on "
"the calling host.
\n
"
,
arch_rec
->
archive_file
);
arch_rec
->
archive_file
,
slurm_strerror
(
errno
)
);
return
SLURM_ERROR
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/sacctmgr/cluster_functions.c
+
2
−
1
View file @
9aca1159
...
...
@@ -1099,7 +1099,8 @@ extern int sacctmgr_dump_cluster (int argc, char *argv[])
acct_list
=
acct_storage_g_get_accounts
(
db_conn
,
my_uid
,
NULL
);
if
((
fd
=
fopen
(
file_name
,
"w"
))
==
NULL
)
{
fprintf
(
stderr
,
"Can't open file %s, %m
\n
"
,
file_name
);
fprintf
(
stderr
,
"Can't open file %s, %s
\n
"
,
file_name
,
slurm_strerror
(
errno
));
FREE_NULL_LIST
(
acct_list
);
FREE_NULL_LIST
(
assoc_list
);
xfree
(
cluster_name
);
...
...
This diff is collapsed.
Click to expand it.
src/sacctmgr/file_functions.c
+
2
−
1
View file @
9aca1159
...
...
@@ -1935,7 +1935,8 @@ extern void load_sacctmgr_cfg_file (int argc, char *argv[])
xfree
(
file_name
);
if
(
fd
==
NULL
)
{
exit_code
=
1
;
fprintf
(
stderr
,
" Unable to read
\"
%s
\"
: %m
\n
"
,
argv
[
0
]);
fprintf
(
stderr
,
" Unable to read
\"
%s
\"
: %s
\n
"
,
argv
[
0
],
slurm_strerror
(
errno
));
xfree
(
cluster_name
);
return
;
}
...
...
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