[slurm-dev] Re: AllowGroups and AD

2016-02-13 Thread Diego Zuccato
Il 12/02/2016 12:06, Diego Zuccato ha scritto: Another self-quote. Sorry. "Obviously" this line > /usr/bin/id $SLURM_JOBUSER | /bin/grep -qi $1 || ( should use $SLURM_JOB_USER var... Hope it helps. -- Diego Zuccato Servizi Informatici Dip. di Fisica e Astronomia (DIFA) - Università di

[slurm-dev] Re: Setting up SLURM for a single multi-core node

2016-02-13 Thread Rohan Garg
I finally figured out that --ntasks=1 is what I wanted. My applications are multi-threaded (pthread), and what I really want is to be able to bind each pthread to a separate physical core. Setting --cpus-per-task to the number of threads should work except that my system has HyperThreading