Hi,

hm, weird. We're running slurm 2.6.0.
Was this ever the case in a previous version? Or is there any reason why a
the Name value would be truncated?
How would I go about debugging such a thing?

When I look at squeue's output, it is truncated in the same way, but not
when I issue `scontrol show jobid -d`

wkr,
Kenny

On 24 June 2015 at 16:57, Moe Jette <je...@schedmd.com> wrote:

>
> There is no truncation in current code (src/slurmctld/agent.c):
>         if (job_ptr->array_task_id != NO_VAL) {
>                 mi->message = xstrdup_printf("SLURM Job_id=%u_%u (%u)
> Name=%s "
>                                              "%s%s%s",
>                                              job_ptr->array_job_id,
>                                              job_ptr->array_task_id,
>                                              job_ptr->job_id,
> job_ptr->name,
>                                              _mail_type_str(mail_type),
>                                              job_time, term_msg);
>         } else {
>                 mi->message = xstrdup_printf("SLURM Job_id=%u Name=%s
> %s%s%s",
>                                              job_ptr->job_id,
> job_ptr->name,
>                                              _mail_type_str(mail_type),
>                                              job_time, term_msg);
>         }
>         info("email msg to %s: %s", mi->user_name, mi->message);
>
>
> Quoting Kenny Billiau <kenny.bill...@scilifelab.se>:
>
>> Hi all,
>>
>> when I get an email back from slurm concerning an sbatch script, I notice
>> the name of the job in the email subject header has been truncated, e.g.:
>>
>> SLURM Job_id=506585 Name=PicardToolsCollectMultip Failed, Run time
>> 00:30:50
>>
>> The name should read PicardToolsCollectMultiple
>>
>> Is there a way to disable or overcome this truncation?
>>
>> wkr,
>> Kenny
>>
>> --
>> Kenny Billiau
>> Bioinformatics Manager
>> SciLifeLab :: Clinical Genomics
>> Tomtebodavägen 23A
>> SE-171 65 Solna, Sweden
>>
>> Email: kenny.bill...@scilifelab.se
>>
>
>
> --
> Morris "Moe" Jette
> CTO, SchedMD LLC
> Commercial Slurm Development and Support
>



-- 
Kenny Billiau
Bioinformatics Manager
SciLifeLab :: Clinical Genomics
Tomtebodavägen 23A
SE-171 65 Solna, Sweden

Email: kenny.bill...@scilifelab.se

Reply via email to