Re: [slurm-users] save job comment into job completion data

2020-07-06 Thread Fred Liu
I put job completion info into a MySQL database from which I can keep a 
thorough job history. The job accounting (without -c) database can’t hold a 
long history.


发件人: slurm-users  代表 Ole Holm Nielsen 

发送时间: 星期一, 七月 6, 2020 4:01 下午
收件人: slurm-users@lists.schedmd.com
主题: Re: [slurm-users] save job comment into job completion data

On 7/5/20 5:42 PM, Fred Liu wrote:
> It looks job comment won't be saved into job completion data, for I can't see 
> it when I use sacct -c
> But I can see it when I use sacct(without -c).
>
> Is it possible to make it work?

The sacct manual page explains the -c parameter:

-c, --completion
Use job completion data instead of job accounting. The JobCompType
parameter in the slurm.conf file must be defined to a non-none option.

I'm not familiar with the job comment field, but you say that it is
printed without -c with the job accounting data. Why do you want or
expect this to work with the job completion data?


/Ole



[slurm-users] save job comment into job completion data

2020-07-05 Thread Fred Liu
Hi,

It looks job comment won't be saved into job completion data, for I can't see 
it when I use sacct -c
But I can see it when I use sacct(without -c).

Is it possible to make it work?

Thanks,

Fred


[slurm-users] epilog can't get the full OUTPUT ENVIRONMENT VARIABLES from sbatch

2020-05-27 Thread Fred Liu
Hi,

I used to have full OUTPUT ENVIRONMENT VARIABLES from sbatch.
But now I just part of them like below:
SLURM_NODELIST SLURM_JOBID SLURM_SCRIPT_CONTEXT SLURM_UID SLURM_CLUSTER_NAME 
SLURM_JOB_USER SLURM_JOB_ID SLURM_CONF SLURM_JOB_GID SLURM_JOB_UID 
SLURMD_NODENAME

I can't get SLURm_SUBMIT_HOST any more?

Any ideas?

Thanks.

Fred



Re: [slurm-users] sacct -c not honor -M clusrername

2020-04-26 Thread Fred Liu
This way is an alternative for “-c”.
Is it possible make “-c“ work with “-M”?

Thanks.

Fred


发件人: Sudeep Narayan Banerjee 
发送时间: 星期一, 四月 27, 2020 12:33 上午
收件人: Slurm User Community List; Fred Liu
主题: Re: [slurm-users] sacct -c not honor -M clusrername


Dear Fred: should be possible

sacct --format=user,state --starttime=04/01/19 --endtime=03/31/20 | grep 
COMPLETED

Please let us know if this helps.

Thanks & Regards,
Sudeep Narayan Banerjee
System Analyst | Scientist B
Information System Technology Facility
Academic Block 5 | Room 110
Indian Institute of Technology Gandhinagar
Palaj, Gujarat 382355 INDIA

On 26/04/20 9:27 pm, Fred Liu wrote:

Hi,

Is it possible to get job completion stats per cluster?

Thanks.

Fred


[slurm-users] sacct -c not honor -M clusrername

2020-04-26 Thread Fred Liu

Hi,

Is it possible to get job completion stats per cluster?

Thanks.

Fred


[slurm-users] Is it possible to make SlurmctldPidFile in slurm.conf suport %h or %n?

2020-03-27 Thread Fred Liu
Hi,

Subject says it all.


Thanks.

Fred


[slurm-users] missing sysconfigdir in the prefix when built manually

2019-08-05 Thread Fred Liu
Hi,

I have tried manually building both 19.05 and 18.08 and found there is no 
sysconfdir(prefix/etc) in the installation path. And I have to copy it from the 
build folder.
Is it normal?

Thanks.

Fred