From 6ab57db19486872816ddaee648fe4439b247ffd1 Mon Sep 17 00:00:00 2001 From: "Daniel M. Drucker" Date: Thu, 11 Jan 2024 07:41:17 -0500 Subject: [PATCH] shorten fmriprep maxtime to 1 day 4 hours --- micc_fmriprep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micc_fmriprep.py b/micc_fmriprep.py index 041f393..688c5b8 100755 --- a/micc_fmriprep.py +++ b/micc_fmriprep.py @@ -330,7 +330,7 @@ def is_dir(dirname): if SYSTYPE == "sge": sub_cmd = f"{QSUB} -cwd -q fmriprep.q -N {args.jobname} -pe fmriprep {args.ncpus} -w e -R y {filename}".split() elif SYSTYPE == "slurm": - sub_cmd = f"{SBATCH} --job-name {args.jobname} --output=%x-%j.out --error=%x-%j.err --time 3- --cpus-per-task={args.ncpus} --mem={args.ramsize}G {filename}".split() + sub_cmd = f"{SBATCH} --job-name {args.jobname} --output=%x-%j.out --error=%x-%j.err --time 1-4 --cpus-per-task={args.ncpus} --mem={args.ramsize}G {filename}".split() print(" ".join(sub_cmd)) if args.dry_run: print("NOT running; dry run only.")