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
6a2c08ed
Commit
6a2c08ed
authored
11 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
Don't run the init on the DBD. Addition to commit
226b49a3
parent
28dea960
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/common/slurm_jobacct_gather.c
+2
-1
2 additions, 1 deletion
src/common/slurm_jobacct_gather.c
with
2 additions
and
1 deletion
src/common/slurm_jobacct_gather.c
+
2
−
1
View file @
6a2c08ed
...
@@ -64,6 +64,7 @@
...
@@ -64,6 +64,7 @@
#include
"src/common/xmalloc.h"
#include
"src/common/xmalloc.h"
#include
"src/common/xstring.h"
#include
"src/common/xstring.h"
#include
"src/slurmd/slurmstepd/slurmstepd_job.h"
#include
"src/slurmd/slurmstepd/slurmstepd_job.h"
#include
"src/slurmdbd/read_config.h"
/*
/*
** Define slurm-specific aliases for use by plugins, see slurm_xlator.h
** Define slurm-specific aliases for use by plugins, see slurm_xlator.h
...
@@ -242,7 +243,7 @@ extern int jobacct_gather_init(void)
...
@@ -242,7 +243,7 @@ extern int jobacct_gather_init(void)
char
*
type
=
NULL
;
char
*
type
=
NULL
;
int
retval
=
SLURM_SUCCESS
;
int
retval
=
SLURM_SUCCESS
;
if
(
init_run
&&
g_context
)
if
(
slurmdbd_conf
||
(
init_run
&&
g_context
)
)
return
retval
;
return
retval
;
slurm_mutex_lock
(
&
g_context_lock
);
slurm_mutex_lock
(
&
g_context_lock
);
...
...
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