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 a for-loop 
in parallel. Then you would make use of the whole node and have your analysis 
finish earlier.
Best

Andreas

Am 13.02.2019 um 05:40 schrieb Wang, Liaoyuan 
<wan...@alfred.edu<mailto:wan...@alfred.edu>>:

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.



Reply via email to