We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2013d3 commit adc5f7dCopy full SHA for adc5f7d
internal/cbatch/cbatch.go
@@ -254,6 +254,7 @@ func ProcessCbatchArgs(cmd *cobra.Command, args []CbatchArg) (bool, *protos.Task
254
}
255
if FlagExclusive {
256
task.Exclusive = true
257
+ }
258
if FlagOpenMode != "" {
259
if FlagOpenMode == util.OpenModeAppend {
260
task.GetBatchMeta().OpenModeAppend = proto.Bool(true)
internal/cqueue/CmdArgParser.go
@@ -114,8 +114,8 @@ func init() {
114
115
Supported format identifiers or string, string case insensitive:
116
%a/%Account - Display the account associated with the job.
117
- %C/%AllocCpus - Display the cpus allocated to the job.
118
- %c/%CpuPerNode - Display the requested cpu per node of the job.
+ %C/%ReqCpus - Display the cpus requested to the job.
+ %c/%AllocCpus - Display the cpus allocated to the job.
119
%e/%ElapsedTime - Display the elapsed time from the start of the job.
120
%h/%Held - Display the hold state of the job.
121
%j/%JobID - Display the ID of the job.
@@ -128,7 +128,7 @@ Supported format identifiers or string, string case insensitive:
128
%n/%Name - Display the name of the job.
129
%P/%Partition - Display the partition the job is running in.
130
%p/%Priority - Display the priority of the job.
131
- %Q/%ReqCpus - Display the cpus requested to the job.
+ %Q/%CpuPerNode - Display the requested cpu per node of the job.
132
%q/%QoS - Display the Quality of Service level for the job.
133
%R/%Reason - Display the reason of pending.
134
%r/%ReqNodes - Display the reqnodes of the job.
internal/cqueue/cqueue.go
@@ -455,9 +455,9 @@ var fieldMap = map[string]FieldProcessor{
455
"account": {"Account", ProcessAccount},
456
457
// 'c' group
458
- "c": {"ReqCpuPerNode", ProcessReqCpuPerNode},
459
- "reqcpupernode": {"ReqCpuPerNode", ProcessReqCpuPerNode},
460
- "C": {"AllocCpus", ProcessAllocCpus},
+ "C": {"ReqCpus", ProcessReqCPUs},
+ "reqcpus": {"ReqCpus", ProcessReqCPUs},
+ "c": {"AllocCpus", ProcessAllocCpus},
461
"alloccpus": {"AllocCpus", ProcessAllocCpus},
462
463
// 'e' group
@@ -503,8 +503,8 @@ var fieldMap = map[string]FieldProcessor{
503
// 'q' group
504
"q": {"QoS", ProcessQoS},
505
"qos": {"QoS", ProcessQoS},
506
- "Q": {"ReqCpus", ProcessReqCPUs},
507
- "reqcpus": {"ReqCpus", ProcessReqCPUs},
+ "Q": {"ReqCpuPerNode", ProcessReqCpuPerNode},
+ "reqcpupernode": {"ReqCpuPerNode", ProcessReqCpuPerNode},
508
509
// 'r' group
510
"r": {"ReqNodes", ProcessReqNodes},
0 commit comments