Hello all and happy new year,

i have installed slurm 21.08 on ubuntu 22 LTS, and database for accounting on a remote machine running same release.
I got seff from:
https://support.schedmd.com/show_bug.cgi?id=1611

but, there are errors:
Use of uninitialized value $ncpus in numeric eq (==) at /usr/bin/seff line 72, <DATA> line 602. Use of uninitialized value $lmem in numeric lt (<) at /usr/bin/seff line 109, <DATA> line 602.
Job ID: 14
Cluster: cathena2
Use of uninitialized value $user in concatenation (.) or string at /usr/bin/seff line 126, <DATA> line 602.


does anyone have a more recent version?
i try to enable debug uncommenting the line:
60c60
< #print Dumper($job);
---
> print Dumper($job);

but it's strange, because if you run the seff command several times in a row, the dump result is very different, even though the job has been completed. It doesn't change the most important values, but how is it possible not to have the same output?

Thanks in advance for help,

--
Gérard HENRY
Institut Fresnel - UMR 7249
+33 413945457
Aix-Marseille Université - Campus Etoile, BATIMENT FRESNEL, Avenue Escadrille Normandie Niemen, 13013 Marseille
Site : https://fresnel.fr/
Afin de respecter l'environnement, merci de n'imprimer cet email que si nécessaire.
$VAR1 = {
          'steps' => [
                       {
                         'sys_cpu_usec' => 472622,
                         'req_cpufreq_gov' => 0,
                         'nnodes' => 1,
                         'exitcode' => 0,
                         'user_cpu_sec' => 5027,
                         'tot_cpu_sec' => 5418,
                         'req_cpufreq_min' => 0,
                         'nodes' => 'athena2024',
                         'start' => 1736264300,
                         'stepname' => 'batch',
                         'tot_cpu_usec' => 1224613,
                         'user_cpu_usec' => 751991,
                         'suspended' => 0,
                         'sys_cpu_sec' => 391,
                         'ntasks' => 1,
                         'step_id' => {
                                        'step_het_comp' => 4294967294,
                                        'job_id' => 14,
                                        'step_id' => 4294967291
                                      },
                         'task_dist' => 0,
                         'end' => 1736269720,
                         'stats' => {
                                      'tres_usage_in_min_taskid' => 
'1=0,2=0,6=0,7=0,8=0',
                                      'tres_usage_out_ave' => '3=0,6=262750688',
                                      'tres_usage_in_tot' => 
'1=5399810,2=9173651456,3=0,6=18084729,7=9235619840,8=0',
                                      'tres_usage_in_ave' => 
'1=5399810,2=9173651456,3=0,6=18084729,7=9235619840,8=0',
                                      'tres_usage_out_min_nodeid' => '3=0,6=0',
                                      'tres_usage_in_min_nodeid' => 
'1=0,2=0,3=0,6=0,7=0,8=0',
                                      'tres_usage_out_max' => '3=0,6=262750688',
                                      'tres_usage_in_min' => 
'1=5399810,2=9173651456,3=0,6=18084729,7=9235619840,8=0',
                                      'tres_usage_out_tot' => '3=0,6=262750688',
                                      'tres_usage_out_max_nodeid' => '3=0,6=0',
                                      'tres_usage_in_max_nodeid' => 
'1=0,2=0,3=0,6=0,7=0,8=0',
                                      'tres_usage_out_min' => '3=0,6=262750688',
                                      'tres_usage_in_max' => 
'1=5399810,2=9173651456,3=0,6=18084729,7=9235619840,8=0',
                                      'tres_usage_out_min_taskid' => '6=0',
                                      'tres_usage_out_max_taskid' => '6=0',
                                      'tres_usage_in_max_taskid' => 
'1=0,2=0,6=0,7=0,8=0',
                                      'consumed_energy' => 0,
                                      'act_cpufreq' => '23'
                                    },
                         'elapsed' => 5420,
                         'requid' => 4294967295,
                         'state' => 3,
                         'req_cpufreq_max' => 0,
                         'tres_alloc_str' => '1=1,2=0,4=1'
                       }
                     ],
          'start' => 1736264300,
          'priority' => 4294901748,
          'tot_cpu_sec' => 0,
          'exitcode' => 0,
          'jobname' => 'yoyo1.7.4-ref',
          'sys_cpu_sec' => 0,
          'track_steps' => 1,
          'req_mem' => 0,
          'array_task_id' => 4294967294,
          'end' => 1736269720,
          'tres_req_str' => '1=1,2=2063768,4=1,5=1',
          'req_cpus' => 1,
          'array_max_tasks' => 0,
          'lft' => 4294967294,
          'cluster' => 'cathena2',
          'uid' => 1000,
          'associd' => 0,
          'script' => '',
          'sys_cpu_usec' => 0,
          'submit_line' => 'sbatch lance.slurm',
          'qosid' => 1,
          'nodes' => 'athena2024',
          'user_cpu_sec' => 0,
          'timelimit' => 4294967295,
          'wckey' => '',
          'suspended' => 0,
          'user_cpu_usec' => 0,
          'submit' => 1736264300,
          'tot_cpu_usec' => 0,
          'show_full' => 1,
          'env' => '',
          'wckeyid' => 0,
          'alloc_nodes' => 1,
          'resvid' => 0,
          'stats' => {
                       'consumed_energy' => 0,
                       'act_cpufreq' => '0'
                     },
          'derived_ec' => 0,
          'eligible' => 1736264300,
          'requid' => 4294967295,
          'array_job_id' => 0,
          'elapsed' => 5420,
          'partition' => 'debug',
          'jobid' => 14,
          'state' => 3,
          'gid' => 1000,
          'tres_alloc_str' => '1=1,3=18446744073709551614,4=1,5=1'
        };
Job ID: 14
Cluster: cathena2
User/Group: /henry
State: COMPLETED (exit code 0)
Cores: 1
CPU Utilized: 01:30:19
CPU Efficiency: 99.98% of 01:30:20 core-walltime
Memory Utilized: 0.00 MB (estimated maximum)
Memory Efficiency: 0.00% of 0.00 MB (0.00 MB/node)
$VAR1 = {
          'submit' => 1736264300,
          'timelimit' => 4294967295,
          'array_task_id' => 4294967294,
          'uid' => 1000,
          'env' => '',
          'wckeyid' => 0,
          'start' => 1736264300,
          'alloc_nodes' => 1,
          'exitcode' => 0,
          'req_cpus' => 1,
          'nodes' => 'athena2024',
          'gid' => 1000,
          'track_steps' => 1,
          'sys_cpu_usec' => 0,
          'cluster' => 'cathena2',
          'priority' => 4294901748,
          'partition' => 'debug',
          'tres_alloc_str' => '1=1,3=18446744073709551614,4=1,5=1',
          'eligible' => 1736264300,
          'requid' => 4294967295,
          'script' => '',
          'stats' => {
                       'consumed_energy' => 0,
                       'act_cpufreq' => '0'
                     },
          'qosid' => 1,
          'resvid' => 0,
          'suspended' => 0,
          'array_max_tasks' => 0,
          'sys_cpu_sec' => 0,
          'req_mem' => 0,
          'derived_ec' => 0,
          'tot_cpu_sec' => 0,
          'wckey' => '',
          'user_cpu_usec' => 0,
          'jobname' => 'yoyo1.7.4-ref',
          'submit_line' => 'sbatch lance.slurm',
          'tres_req_str' => '1=1,2=2063768,4=1,5=1',
          'lft' => 4294967294,
          'user_cpu_sec' => 0,
          'end' => 1736269720,
          'jobid' => 14,
          'tot_cpu_usec' => 0,
          'state' => 3,
          'elapsed' => 5420,
          'steps' => [
                       {
                         'step_id' => {
                                        'job_id' => 14,
                                        'step_het_comp' => 4294967294,
                                        'step_id' => 4294967291
                                      },
                         'sys_cpu_sec' => 391,
                         'ntasks' => 1,
                         'stats' => {
                                      'tres_usage_in_max_nodeid' => 
'1=0,2=0,3=0,6=0,7=0,8=0',
                                      'tres_usage_out_min' => '3=0,6=262750688',
                                      'tres_usage_in_min_nodeid' => 
'1=0,2=0,3=0,6=0,7=0,8=0',
                                      'tres_usage_out_max' => '3=0,6=262750688',
                                      'tres_usage_out_tot' => '3=0,6=262750688',
                                      'tres_usage_out_max_nodeid' => '3=0,6=0',
                                      'tres_usage_in_min' => 
'1=5399810,2=9173651456,3=0,6=18084729,7=9235619840,8=0',
                                      'tres_usage_in_max' => 
'1=5399810,2=9173651456,3=0,6=18084729,7=9235619840,8=0',
                                      'act_cpufreq' => '23',
                                      'tres_usage_in_ave' => 
'1=5399810,2=9173651456,3=0,6=18084729,7=9235619840,8=0',
                                      'consumed_energy' => 0,
                                      'tres_usage_out_min_nodeid' => '3=0,6=0',
                                      'tres_usage_in_max_taskid' => 
'1=0,2=0,6=0,7=0,8=0',
                                      'tres_usage_out_ave' => '3=0,6=262750688',
                                      'tres_usage_in_min_taskid' => 
'1=0,2=0,6=0,7=0,8=0',
                                      'tres_usage_out_max_taskid' => '6=0',
                                      'tres_usage_out_min_taskid' => '6=0',
                                      'tres_usage_in_tot' => 
'1=5399810,2=9173651456,3=0,6=18084729,7=9235619840,8=0'
                                    },
                         'requid' => 4294967295,
                         'state' => 3,
                         'tot_cpu_usec' => 1224613,
                         'tres_alloc_str' => '1=1,2=0,4=1',
                         'stepname' => 'batch',
                         'req_cpufreq_gov' => 0,
                         'elapsed' => 5420,
                         'suspended' => 0,
                         'sys_cpu_usec' => 472622,
                         'task_dist' => 0,
                         'req_cpufreq_max' => 0,
                         'end' => 1736269720,
                         'user_cpu_sec' => 5027,
                         'req_cpufreq_min' => 0,
                         'tot_cpu_sec' => 5418,
                         'nnodes' => 1,
                         'exitcode' => 0,
                         'nodes' => 'athena2024',
                         'start' => 1736264300,
                         'user_cpu_usec' => 751991
                       }
                     ],
          'show_full' => 1,
          'array_job_id' => 0,
          'associd' => 0
        };
Job ID: 14
Cluster: cathena2
User/Group: /henry
State: COMPLETED (exit code 0)
Cores: 1
CPU Utilized: 01:30:19
CPU Efficiency: 99.98% of 01:30:20 core-walltime
Memory Utilized: 0.00 MB (estimated maximum)
Memory Efficiency: 0.00% of 0.00 MB (0.00 MB/node)
-- 
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

Reply via email to