per or not. Any
further suggestion would be highly appreciated.
Appreciatively,
Leon
From: David Rhey
Sent: Friday, February 15, 2019 07:54
To: Slurm User Community List
Subject: Re: [slurm-users] How to request ONLY one CPU instead of one socket or
one node?
Hello,
Are you sure you're NO
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 0X
Hello,
Are you sure you're NOT getting 1 CPU when you run your job? You might want
to put some echo logic into your job to look at Slurm env variables of the
node your job lands on as a way of checking. E.g.:
echo $SLURM_CPUS_ON_NODE
echo $SLURM_JOB_CPUS_PER_NODE
I don't see anything wrong with
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
Hi Leon,
depends on how the admins configured slurm. If they set select/linear,
you have no chance to get just a core, as slurm will schedule only
complete nodes.
Nonetheless, you omitted to tell slurm, how much memory you need (at
least there is nothing in your script). Slurm will then also
Hi Leon,
If the partition is defined to run jobs exclusive you always get a full node.
You’ll have to try to either split up your analysis in independent subtasks to
be run in parallel by dividing the data or make use of some Perl
parallelization package like parallel::Forkmanager to run steps of
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