[slurm-dev] Re: Per-job tmp directories and namespaces

2017-08-10 Thread Kilian Cavalotti
Hi Bill, On Thu, Aug 10, 2017 at 5:33 AM, Bill Barth wrote: > If you add the same line from /etc/pam.d/system-auth (or your OS’s > equivalent) to /etc/pam.d/slurm, then srun- and sbatch-initiated shells and > processes will also have the directory properly set up.

[slurm-dev] slurm-dev Re: knl_generic plugin on non-KNL node

2017-08-10 Thread Le Biot, Pierre-Marie
Hi, On 7/6/2017 2:38 AM, Victor Gamayunov wrote: > >knl_generic plugin on non-KNL node >Hi, > >i have a cluster with a mix of regular Xeon and KNL nodes. I use knl_generic >to switch KNL modes which works very well. >However, there is a side effect on non-KNL nodes: every time I allocate a

[slurm-dev] Re: Per-job tmp directories and namespaces

2017-08-10 Thread Bill Barth
Fortunately, once we figured out what systemd was doing, we didn’t need to interact with it besides adding its PAM module configuration line to slurm’s PAM config file. Best, Bill. -- Bill Barth, Ph.D., Director, HPC bba...@tacc.utexas.edu| Phone: (512) 232-7069 Office: ROC 1.435

[slurm-dev] Re: Per-job tmp directories and namespaces

2017-08-10 Thread John Hearns
Bill, thankyou very much for that. I guess I have to get my systemd hat on. A hat which is very large and composed of many parts, and indeed functions as a pair of pants too. On 10 August 2017 at 14:33, Bill Barth wrote: > If you use a modern enough OS (RHEL/CentOS 7,

[slurm-dev] Re: Can you run SLURM on a single node ?

2017-08-10 Thread Benjamin Redling
Am 10. August 2017 13:47:21 MESZ, schrieb Sean McGrath : > >Yes, you can run slurm on a single node. There is no need for for a >different >head and compute node(s). > >You will need to set Shared=Yes if you want multiple people to be able >to run on >the machine

[slurm-dev] Re: Slurmd v15 to v17 stopped working (slurmd: fatal: Unable to determine this slurmd's NodeName) on ControlMachine

2017-08-10 Thread LAHAYE Olivier
how stupid I am, your perfectly right! How by hell was I unable to see that before I upgraded? I really need hollydays. Sorry for inconvenience. Maybe the error message could be enhanced like this: This is slurm controler host, slurmd doesn't need to run on controller host except if you list

[slurm-dev] Re: Slurmd v15 to v17 stopped working (slurmd: fatal: Unable to determine this slurmd's NodeName) on ControlMachine

2017-08-10 Thread Jacek Budzowski
Hi, I think you shouldn't run slurmd on your ControlMachine node (but run slurmctld and slurmdbd), as in your configuration I don't see that slurm_master has its NodeName line. So you should either add slurm_master to your slurm.conf in NodeName line or not start slurmd on the slurm_master.

[slurm-dev] Slurmd v15 to v17 stopped working (slurmd: fatal: Unable to determine this slurmd's NodeName) on ControlMachine

2017-08-10 Thread LAHAYE Olivier
Hi, I've upgraded slurm 15.08.3 (built from rpmbuild -tb ) to 17.02.6 on centos-7-x86_64. Since I've done that, slurmd refuse to start on ControlMachine and on Backupcontroller. (it starts fine on compute nodes) The error is: slurmd: fatal: Unable to determine this slurmd's NodeName If I

[slurm-dev] Re: Per-job tmp directories and namespaces

2017-08-10 Thread Bill Barth
If you use a modern enough OS (RHEL/CentOS 7, etc), XDG_RUNTIME_DIR will probably be set and mounted (it’s a tmpfs with a limited max size mounted, per-session, under /run/user/) on your login nodes, any node that environment propagates to (like the first compute node of a job), and anywhere

[slurm-dev] Re: Can you run SLURM on a single node ?

2017-08-10 Thread Sean McGrath
Yes, you can run slurm on a single node. There is no need for for a different head and compute node(s). You will need to set Shared=Yes if you want multiple people to be able to run on the machine simultaneously. The slurm.conf will have a single node defined in it. Best Sean On Thu, Aug

[slurm-dev] Can you run SLURM on a single node ?

2017-08-10 Thread Carlos Lijeron
Hi Everyone, In order to use resources more efficiently on a server that has 64 CPU Cores and 1 TB of RAM, is it possible to use SLURM on a stand alone server, or do you always need a head node and compute nodes to setup the clients? Please advise. Thank you. Carlos.

[slurm-dev] Re: Per-job tmp directories and namespaces

2017-08-10 Thread John Hearns
Fokke, thankyou very much for the response. On 10 August 2017 at 10:07, Fokke Dijkstra wrote: > We use the spank-private-tmp plugin developed at HPC2N in Sweden: > https://github.com/hpc2n/spank-private-tmp > > See also: https://slurm.schedmd.com/SUG14/private_tmp.pdf > for

[slurm-dev] Re: Per-job tmp directories and namespaces

2017-08-10 Thread Fokke Dijkstra
We use the spank-private-tmp plugin developed at HPC2N in Sweden: https://github.com/hpc2n/spank-private-tmp See also: https://slurm.schedmd.com/SUG14/private_tmp.pdf for a presentation about the plugin. 2017-08-10 9:31 GMT+02:00 John Hearns : > I am sure someone

[slurm-dev] Per-job tmp directories and namespaces

2017-08-10 Thread John Hearns
I am sure someone discussed this topic on this list a few months ago... if it rings any bells please let me know. I am not discussing setting the TMPDIR environment variable and crateing a new TMPDIR directory on a per job basis - though thankyou for the help I did get when discussing this.