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
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