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 <wan...@alfred.edu 
> <mailto:wan...@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

Reply via email to