Skip to content

Commit

Permalink
Allocate GRES with fastqc lscratch tmp directory
Browse files Browse the repository at this point in the history
  • Loading branch information
skchronicles committed Mar 8, 2024
1 parent 7e8211e commit 95a5d9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/cluster.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"__default__": {
"threads": "4",
"mem": "16g",
"time": "0-04:00:00"
"time": "0-04:00:00",
"gres": "lscratch:64"
},
"fastp": {
"threads": "8",
Expand Down
2 changes: 1 addition & 1 deletion src/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ function submit(){
# --keep-remote --restart-times 3 -j 500 --use-singularity
# --singularity-args -B {}.format({bindpaths}) --local-cores 24
SLURM_DIR="$3/logfiles/slurmfiles"
CLUSTER_OPTS="sbatch --cpus-per-task {cluster.threads} -t {cluster.time} --mem {cluster.mem} --job-name={params.rname} -e $SLURM_DIR/slurm-%j_{params.rname}.out -o $SLURM_DIR/slurm-%j_{params.rname}.out"
CLUSTER_OPTS="sbatch --gres {cluster.gres} --cpus-per-task {cluster.threads} -t {cluster.time} --mem {cluster.mem} --job-name={params.rname} -e $SLURM_DIR/slurm-%j_{params.rname}.out -o $SLURM_DIR/slurm-%j_{params.rname}.out"
# Check if NOT running on Biowulf
# Assumes other clusters do NOT
# have GRES for local node disk,
Expand Down

0 comments on commit 95a5d9a

Please sign in to comment.