Discussion:
sinfo manpage error?
Uwe Sauter
2014-09-16 07:23:30 UTC
Permalink
Hi all,


taken from the current 14.03.7 version of the sinfo manpage:

#### snip ####
-o <output_format>, --format=<output_format>
Specify the information to be displayed using an sinfo format
string. Format stri
ngs transparently used by sinfo when running with various options are
default "%9P %.5a %.10l %.6D %.6t %N"
--summarize "%9P %.5a %.10l %.16F %N"
--long "%9P %.5a %.10l %.10s %.4r %.8h %.10g %.6D %.11T %N"
--Node "%N %.6D %.9P %6t"
--long --Node "%N %.6D %.9P %.11T %.4c %.8z %.6m %.8d %.6w %.8f
%20E"
--list-reasons "%20E %9u %19H %N"
--long --list-reasons
"%20E %12U %19H %6t %N"
In the above format strings the use of "#" represents the maximum
length of an node list to be printed.
The field specifications available include:
%all Print all fields available for this data type with a
vertical bar separating each field.
%a State/availability of a partition
#### snap ####

What got my attention is the following sentence:

"In the above format strings the use of "#" represents the maximum
length of an node list to be printed."

although "#" is not used in any of the format examples.

Can someone give an example where this is used or should the manpage be
corrected?


Regards,

Uwe
j***@public.gmane.org
2014-09-16 16:26:34 UTC
Permalink
Documentation updated. see:
https://github.com/SchedMD/slurm/commit/3e5864b6486bbd95ceacd695a503f85b3c0c4b8c
Post by Uwe Sauter
Hi all,
#### snip ####
-o <output_format>, --format=<output_format>
Specify the information to be displayed using an sinfo format
string. Format stri
ngs transparently used by sinfo when running with various options are
default "%9P %.5a %.10l %.6D %.6t %N"
--summarize "%9P %.5a %.10l %.16F %N"
--long "%9P %.5a %.10l %.10s %.4r %.8h %.10g %.6D %.11T %N"
--Node "%N %.6D %.9P %6t"
--long --Node "%N %.6D %.9P %.11T %.4c %.8z %.6m %.8d %.6w %.8f
%20E"
--list-reasons "%20E %9u %19H %N"
--long --list-reasons
"%20E %12U %19H %6t %N"
In the above format strings the use of "#" represents the maximum
length of an node list to be printed.
%all Print all fields available for this data type with a
vertical bar separating each field.
%a State/availability of a partition
#### snap ####
"In the above format strings the use of "#" represents the maximum
length of an node list to be printed."
although "#" is not used in any of the format examples.
Can someone give an example where this is used or should the manpage be
corrected?
Regards,
Uwe
--
Morris "Moe" Jette
CTO, SchedMD LLC

Slurm User Group Meeting
September 23-24, Lugano, Switzerland
Find out more http://slurm.schedmd.com/slurm_ug_agenda.html
Uwe Sauter
2014-09-16 17:02:06 UTC
Permalink
Hi Moe,

thank you. Can this format specifier also be used in the job name field?

Best,

Uwe
Post by j***@public.gmane.org
https://github.com/SchedMD/slurm/commit/3e5864b6486bbd95ceacd695a503f85b3c0c4b8c
Post by Uwe Sauter
Hi all,
#### snip ####
-o <output_format>, --format=<output_format>
Specify the information to be displayed using an sinfo format
string. Format stri
ngs transparently used by sinfo when running with various options are
default "%9P %.5a %.10l %.6D %.6t %N"
--summarize "%9P %.5a %.10l %.16F %N"
--long "%9P %.5a %.10l %.10s %.4r %.8h %.10g %.6D %.11T %N"
--Node "%N %.6D %.9P %6t"
--long --Node "%N %.6D %.9P %.11T %.4c %.8z %.6m %.8d %.6w %.8f
%20E"
--list-reasons "%20E %9u %19H %N"
--long --list-reasons
"%20E %12U %19H %6t %N"
In the above format strings the use of "#" represents the maximum
length of an node list to be printed.
%all Print all fields available for this data type with a
vertical bar separating each field.
%a State/availability of a partition
#### snap ####
"In the above format strings the use of "#" represents the maximum
length of an node list to be printed."
although "#" is not used in any of the format examples.
Can someone give an example where this is used or should the manpage be
corrected?
Regards,
Uwe
Loading...