Discussion:
debug mode
Sergio Iserte Agut
2012-05-03 08:18:05 UTC
Permalink
Hello,
I'm trying to enable the debug messages but they don't appear in the log
file (/var/log/slurm/slurmctld.log).
This is my procedure:

# ./configure --enable-debug --prefix=/usr --sysconfdir=/etc/slurm

# make
# make install
# service slurm start
Which is the error?

Thank you!

*--
*
*Sergio Iserte Agut, assistant researcher,*
*High Performance Computing & Architecture, University Jaume I (Spain)*
Jerry Smith
2012-05-03 14:01:04 UTC
Permalink
What level do you have SlurmctldDebug and SlurmdDebug set to.

Though you have enabled debugging, you have to up the Debug levels to
see it in the logs.

Example:

SlurmctldDebug|SlurmdDebug
The level of detail to provide slurmd daemon's logs.
Values from 0 to 9 are legal, with `0' being
"quiet" operation and `9' being insanely verbose. The
default value is 3.
Post by Sergio Iserte Agut
Hello,
I'm trying to enable the debug messages but they don't appear in the
log file (/var/log/slurm/slurmctld.log).
# ./configure --enable-debug --prefix=/usr --sysconfdir=/etc/slurm
# make
# make install
# service slurm start
Which is the error?
Thank you!
/--
/
/Sergio Iserte Agut, assistant researcher,/
/High Performance Computing & Architecture, University Jaume I (Spain)/
Sergio Iserte Agut
2012-05-03 14:48:07 UTC
Permalink
I have this in my *slurm.conf* file:

SlurmctldDebug=5

SlurmctldLogFile=/var/log/slurm/slurmctld.log
SlurmdDebug=5
SlurmdLogFile=/var/log/slurm/slurmd.log
and I can't see in the log file either messages wrapped with

if (select_debug_flags & DEBUG_FLAG_CPU_BIND) {
info("cons_res: cr_job_test:...");
}
or from the output of

debug2();
debug3();
Thank you!
**
What level do you have SlurmctldDebug and SlurmdDebug set to.
Though you have enabled debugging, you have to up the Debug levels to see
it in the logs.
SlurmctldDebug|SlurmdDebug
The level of detail to provide slurmd daemon's logs. Values
from 0 to 9 are legal, with `0' being
"quiet" operation and `9' being insanely verbose. The
default value is 3.
Hello,
I'm trying to enable the debug messages but they don't appear in the log
file (/var/log/slurm/slurmctld.log).
# ./configure --enable-debug --prefix=/usr --sysconfdir=/etc/slurm
# make
# make install
# service slurm start
Which is the error?
Thank you!
*--
*
*Sergio Iserte Agut, assistant researcher,*
*High Performance Computing & Architecture, University Jaume I (Spain)*
--
*--
*
*Sergio Iserte Agut, assistant researcher,*
*High Performance Computing & Architecture, University Jaume I (Spain)*
Moe Jette
2012-05-03 15:14:03 UTC
Permalink
SlurmctldDebug=5 logs error, info, verbose and debug messages.
Increase the value for more logging (6=debug2, 7=debug3, etc.). Each
increment of the number generates about 5 times as many messages.

The DebugFlags configuration parameter can be used to enable
additional logging for specific SLURM sub-systems (e.g. Backfill,
CPU_Bind, Gres, Triggers, etc.)
Post by Sergio Iserte Agut
SlurmctldDebug=5
SlurmctldLogFile=/var/log/slurm/slurmctld.log
SlurmdDebug=5
SlurmdLogFile=/var/log/slurm/slurmd.log
and I can't see in the log file either messages wrapped with
if (select_debug_flags & DEBUG_FLAG_CPU_BIND) {
info("cons_res: cr_job_test:...");
}
or from the output of
debug2();
debug3();
Thank you!
**
What level do you have SlurmctldDebug and SlurmdDebug set to.
Though you have enabled debugging, you have to up the Debug levels to see
it in the logs.
SlurmctldDebug|SlurmdDebug
The level of detail to provide slurmd daemon's logs. Values
from 0 to 9 are legal, with `0' being
"quiet" operation and `9' being insanely verbose. The
default value is 3.
Hello,
I'm trying to enable the debug messages but they don't appear in the log
file (/var/log/slurm/slurmctld.log).
# ./configure --enable-debug --prefix=/usr --sysconfdir=/etc/slurm
# make
# make install
# service slurm start
Which is the error?
Thank you!
*--
*
*Sergio Iserte Agut, assistant researcher,*
*High Performance Computing & Architecture, University Jaume I (Spain)*
--
*--
*
*Sergio Iserte Agut, assistant researcher,*
*High Performance Computing & Architecture, University Jaume I (Spain)*
Loading...