[slurm-users] Scripts run slower in slurm?

Christopher Samuel chris at csamuel.org
Tue Dec 15 22:05:07 UTC 2020


On 12/14/20 11:20 pm, Alpha Experiment wrote:

> It is called using the following submission script:
> #!/bin/bash
> #SBATCH --partition=full
> #SBATCH --job-name="Large"
> source testenv1/bin/activate
> python3 multithread_example.py

You're not asking for a number of cores, so you'll likely only be 
getting a single core to use here.  You'll likely need something like:

#SBATCH -c 64

for it to get access to more cores.

Also in your config I noticed:

NodeName=localhost

I'd suggest you use the actual name for your compute nodes, I don't 
think that's going to work out too well with more than 1 node. :-)

All the best,
Chris
-- 
   Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA



More information about the slurm-users mailing list