Method: OodCore::Job::Adapters::Slurm::Batch#all_squeue_fields

Defined in:
lib/ood_core/job/adapters/slurm.rb

#all_squeue_fieldsObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Fields requested from a formatted ‘squeue` call Note that the order of these fields is important



292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
# File 'lib/ood_core/job/adapters/slurm.rb', line 292

def all_squeue_fields
  {
    account: "%a",
    job_id: "%A",
    exec_host: "%B",
    min_cpus: "%c",
    cpus: "%C",
    min_tmp_disk: "%d",
    nodes: "%D",
    end_time: "%e",
    dependency: "%E",
    features: "%f",
    array_job_id: "%F",
    group_name: "%g",
    group_id: "%G",
    over_subscribe: "%h",
    sockets_per_node: "%H",
    array_job_task_id: "%i",
    cores_per_socket: "%I",
    job_name: "%j",
    threads_per_core: "%J",
    comment: "%k",
    array_task_id: "%K",
    time_limit: "%l",
    time_left: "%L",
    min_memory: "%m",
    time_used: "%M",
    req_node: "%n",
    node_list: "%N",
    command: "%o",
    contiguous: "%O",
    qos: "%q",
    partition: "%P",
    priority: "%Q",
    reason: "%r",
    start_time: "%S",
    state_compact: "%t",
    state: "%T",
    user: "%u",
    user_id: "%U",
    reservation: "%v",
    submit_time: "%V",
    wckey: "%w",
    licenses: "%W",
    excluded_nodes: "%x",
    core_specialization: "%X",
    nice: "%y",
    scheduled_nodes: "%Y",
    sockets_cores_threads: "%z",
    work_dir: "%Z",
    gres: "%b",  # must come at the end to fix a bug with Slurm 18
  }
end