[slurm-dev] Re: How to account how many cpus/gpus per node has been allocated to a specific job?

2016-11-08 Thread Ran Du
Dear Chris, Glad to receive your quick reply. I go through the Slurm accounting database, in the job_table, there are only total allocated numbers as what we have got with sacct cmd. However, the scheduler must have information about separate allocated number on each node, or they

[slurm-dev] Re: How to account how many cpus/gpus per node has been allocated to a specific job?

2016-11-08 Thread Christopher Samuel
On 09/11/16 12:15, Ran Du wrote: >Thanks a lot for your reply. However, it's not what I want to > get. For the example of Job 6449483, it is allocated with only one node, > what if it was allocated with multiple nodes? I'd like to get the > accounting statistics about how many CPUs/GPUs

[slurm-dev] Re: How to account how many cpus/gpus per node has been allocated to a specific job?

2016-11-08 Thread Ran Du
Dear Chris, Thanks a lot for your reply. However, it's not what I want to get. For the example of Job 6449483, it is allocated with only one node, what if it was allocated with multiple nodes? I'd like to get the accounting statistics about how many CPUs/GPUs separately on each node, but

[slurm-dev] Re: Re:

2016-11-08 Thread Christopher Samuel
On 09/11/16 09:50, Lachlan Musicman wrote: > I don't know Chris, I think that /dev/null would rate tbh. :) Ah, but that's a file (OK character special device), not a directory. ;-) -- Christopher SamuelSenior Systems Administrator VLSCI - Victorian Life Sciences Computation

[slurm-dev] Re: Re:

2016-11-08 Thread Alexandre Strube
>> For example, on slurm 10.05.6, the example config file says: >> >> StateSaveLocation=/tmp >> >> Which is not the best place to write sensitive information, but it will >> for sure be there and will be writable by the slurm user. > > Frankly using /tmp seems like a *really* bad idea to me.

[slurm-dev] Re: Re:

2016-11-08 Thread Christopher Samuel
Hi there, On 08/11/16 21:21, Alexandre Strube wrote: > For example, on slurm 10.05.6, the example config file says: > > StateSaveLocation=/tmp > > Which is not the best place to write sensitive information, but it will > for sure be there and will be writable by the slurm user. Frankly using

[slurm-dev] Re:

2016-11-08 Thread Alexandre Strube
For example, on slurm 10.05.6, the example config file says: StateSaveLocation=/tmp Which is not the best place to write sensitive information, but it will for sure be there and will be writable by the slurm user. You can always create a directory somewhere else. For example, Debian packages

[slurm-dev] How to account how many cpus/gpus per node has been allocated to a specific job?

2016-11-08 Thread Ran Du
Dear experts, I am working on an accounting system to get a summary about how many cpus/gpus per node has been allocated to a specific job. However, all I can get from slurmdbd database is the total cpus/gpus allocated for a job, but not cpus/gpus allocated from each node. Does anyone know

[slurm-dev] Re: start munge again after boot?

2016-11-08 Thread Raymond Wan
Hi Peixin, On Tue, Nov 8, 2016 at 4:12 AM, Peixin Qiao wrote: > I install munge and restart my computer, then munge stopped work and > restarting munge didn't work. It says: > > munged: Error: Failed to check pidfile dir "/var/run/munge": cannot > canonicalize