[slurm-users] How to request ONLY one CPU instead of one socket or one node?

Merlin Hartley merlin-slurm at mrc-mbu.cam.ac.uk
Fri Feb 15 15:35:34 UTC 2019


Seems like you aren't specifying a --mem option, so the default would be to ask for a whole-node’s worth of RAM thus you would use the whole node for each job.

Hope this is useful!


Merlin
--
Merlin Hartley
Computer Officer
MRC Mitochondrial Biology Unit
University of Cambridge
Cambridge, CB2 0XY
United Kingdom

> On 14 Feb 2019, at 02:21, Wang, Liaoyuan <wangly at alfred.edu <mailto:wangly at alfred.edu>> wrote:
> 
> Dear there,
>  
> I wrote an analytic program to analyze my data. The analysis costs around twenty days to analyze all data for one species. When I submit my job to the cluster, it always request one node instead of one CPU. I am wondering how I can ONLY request one CPU using “sbatch” command? Below is my batch file. Any comments and help would be highly appreciated.
>  
> Appreciatively,
> Leon
> ================================================
> #!/bin/sh 
> 
> #SBATCH --ntasks=1 
> #SBATCH --cpus-per-task=1 
> #SBATCH -t 45-00:00:00 
> #SBATCH -J 9625%j 
> #SBATCH -o 9625.out 
> #SBATCH -e 9625.err 
> 
> /home/scripts/wcnqn.auto.pl
> ===========================================
> Where wcnqn.auto.pl is my program. 9625 denotes the species number.



--
Merlin Hartley
Computer Officer
MRC Mitochondrial Biology Unit
University of Cambridge
Cambridge, CB2 0XY
United Kingdom

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190215/18e7e758/attachment.html>


More information about the slurm-users mailing list