Skip to content
Snippets Groups Projects
Commit 7abf48a4 authored by not populated not populated's avatar not populated not populated
Browse files

Slurm scheduler can handle single index job array submission

parent 3ac08ee8
No related branches found
No related tags found
1 merge request!3Ultra 2 SOP/doc updates
...@@ -6,17 +6,6 @@ ...@@ -6,17 +6,6 @@
#SBATCH --output=trio_whole_exome_bcbio.%A_%a.out #SBATCH --output=trio_whole_exome_bcbio.%A_%a.out
#SBATCH --error=trio_whole_exome_bcbio.%A_%a.err #SBATCH --error=trio_whole_exome_bcbio.%A_%a.err
# enable running singletons
if [ -z $SLURM_ARRAY_TASK_ID ]
then
if [ -z $INDEX ]
then
export SLURM_ARRAY_TASK_ID=1
else
export SLURM_ARRAY_TASK_ID=$INDEX
fi
fi
# Expects environment variables to be set # Expects environment variables to be set
# PROJECT_ID - e.g. 12345_LastnameFirstname # PROJECT_ID - e.g. 12345_LastnameFirstname
# CONFIG_SH - absolute path to configuration script setting environment variables # CONFIG_SH - absolute path to configuration script setting environment variables
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment