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
8fbf913b
Commit
8fbf913b
authored
11 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
BGQ - change some "DEBUG" messages to "TRACE"
parent
f65cb65d
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
src/plugins/select/bluegene/runjob_plugin.cc
+10
-7
10 additions, 7 deletions
src/plugins/select/bluegene/runjob_plugin.cc
with
10 additions
and
7 deletions
src/plugins/select/bluegene/runjob_plugin.cc
+
10
−
7
View file @
8fbf913b
...
...
@@ -71,6 +71,9 @@ extern "C" {
static
log4cxx
::
LoggerPtr
slurm_ibm_logger
(
log4cxx
::
Logger
::
getLogger
(
"ibm.runjob.mux.slurm"
));
#define LOG_TRACE_MSG(message_expr) \
LOG4CXX_TRACE(slurm_ibm_logger, message_expr)
#define LOG_DEBUG_MSG(message_expr) \
LOG4CXX_DEBUG(slurm_ibm_logger, message_expr)
...
...
@@ -175,7 +178,7 @@ Plugin::~Plugin()
void
Plugin
::
execute
(
bgsched
::
runjob
::
Verify
&
verify
)
{
LOG_
DEBUG
_MSG
(
"Verify - Start"
);
LOG_
TRACE
_MSG
(
"Verify - Start"
);
boost
::
lock_guard
<
boost
::
mutex
>
lock
(
_mutex
);
unsigned
geo
[
Dimension
::
NodeDims
];
unsigned
start_coords
[
Dimension
::
NodeDims
];
...
...
@@ -221,7 +224,7 @@ void Plugin::execute(bgsched::runjob::Verify& verify)
goto
deny_job
;
}
LOG_
DEBUG
_MSG
(
"Getting info for step "
<<
runjob_job
->
job_id
LOG_
TRACE
_MSG
(
"Getting info for step "
<<
runjob_job
->
job_id
<<
"."
<<
runjob_job
->
step_id
);
if
(
slurm_get_job_steps
((
time_t
)
0
,
runjob_job
->
job_id
,
runjob_job
->
step_id
,
...
...
@@ -403,7 +406,7 @@ void Plugin::execute(bgsched::runjob::Verify& verify)
slurm_mutex_unlock
(
&
runjob_list_lock
);
slurm_free_job_step_info_response_msg
(
step_resp
);
LOG_
DEBUG
_MSG
(
"Verify - Done"
);
LOG_
TRACE
_MSG
(
"Verify - Done"
);
return
;
deny_job
:
...
...
@@ -415,7 +418,7 @@ deny_job:
void
Plugin
::
execute
(
const
bgsched
::
runjob
::
Started
&
data
)
{
LOG_
DEBUG
_MSG
(
"Started start"
);
LOG_
TRACE
_MSG
(
"Started start"
);
boost
::
lock_guard
<
boost
::
mutex
>
lock
(
_mutex
);
// ListIterator itr = NULL;
// runjob_job_t *runjob_job = NULL;
...
...
@@ -435,12 +438,12 @@ void Plugin::execute(const bgsched::runjob::Started& data)
// list_iterator_destroy(itr);
// }
// slurm_mutex_unlock(&runjob_list_lock);
LOG_
DEBUG
_MSG
(
"Started - Done"
);
LOG_
TRACE
_MSG
(
"Started - Done"
);
}
void
Plugin
::
execute
(
const
bgsched
::
runjob
::
Terminated
&
data
)
{
LOG_
DEBUG
_MSG
(
"Terminated - Start"
);
LOG_
TRACE
_MSG
(
"Terminated - Start"
);
ListIterator
itr
=
NULL
;
runjob_job_t
*
runjob_job
=
NULL
;
uint16_t
sig
=
0
;
...
...
@@ -490,7 +493,7 @@ void Plugin::execute(const bgsched::runjob::Terminated& data)
runjob_job
->
job_id
,
runjob_job
->
step_id
,
sig
);
_destroy_runjob_job
(
runjob_job
);
LOG_
DEBUG
_MSG
(
"Terminated - Done"
);
LOG_
TRACE
_MSG
(
"Terminated - Done"
);
}
extern
"C"
bgsched
::
runjob
::
Plugin
*
create
()
...
...
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