File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1- name : raxml-ng
1+ name : raxml-ng
22channels :
33 - bioconda
4+ - conda-forge
45dependencies :
56 - raxml-ng = 1.0.2
7+ - openmpi = 4.0.5
Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ tree_num=$6
1010# recommended # threads
1111thread_num=` raxml-ng --parse --msa $trimmed_msa --model $raxml_model --nofile| grep " Recommended number of threads" | awk -F: {' print $2' }| xargs`
1212echo " Recommended number of thread: $thread_num "
13+ echo " Number of CPUs on the allocated nodes: $SLURM_CPUS_ON_NODE "
14+
15+ if (( "$thread_num " <= "$SLURM_CPUS_ON_NODE ")) ; then
16+ folder=` dirname $output_tree `
17+ raxml-ng --msa $trimmed_msa --data-type AA --model $raxml_model --prefix $folder /$raxml_out_name --seed $raxml_seed --threads $thread_num --tree rand{$tree_num } pars{$tree_num }
18+ else
19+ echo " ERROR: Required CPU number: $thread_num . Assign more CPUs for the next submission"
20+ fi
1321
14- folder=` dirname $output_tree `
15- raxml-ng --msa $trimmed_msa --data-type AA --model $raxml_model --prefix $folder /$raxml_out_name --seed $raxml_seed --threads $thread_num --tree rand{$tree_num } pars{$tree_num }
You can’t perform that action at this time.
0 commit comments