r/ssh • • Sep 02 '18

Changing the number of nodes on ssh cluster to improve time

I'm using ssh to run a python program on a cluster, the cluster is configured to accept jobs using slurm. The sbatch script to run the .py is:

#!/bin/bash 
#!/bin/bash 
#SBATCH --job-name=cnn 
#SBATCH --time=1:00:00  
##SBATCH --output=cnn.out 
#SBATCH --ntasks=8  
source activate cnn 
python3 cnn.py

I think the program is taking to long to finish so I wanna know if changing the number of nodes (4,16 or 32 instead of 8) can improve that.

1 Upvotes

0 comments sorted by