From c9bc05490feec4f327ae93dac1d66a7cbdffb56c Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Tue, 11 Oct 2022 21:29:25 -0500 Subject: [PATCH] Remove `--exclusive` flag from slurm steps This is causing compass to hang in interactive jobs --- compass/parallel.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compass/parallel.py b/compass/parallel.py index f5a4cd350e..f6e9f2ec53 100644 --- a/compass/parallel.py +++ b/compass/parallel.py @@ -140,8 +140,7 @@ def run_command(args, cpus_per_task, ntasks, openmp_threads, config, logger): command_line_args = parallel_executable.split(' ') parallel_system = config.get('parallel', 'system') if parallel_system == 'slurm': - command_line_args.extend(['-c', f'{cpus_per_task}', '-n', f'{ntasks}', - '--exclusive']) + command_line_args.extend(['-c', f'{cpus_per_task}', '-n', f'{ntasks}']) elif parallel_system == 'single_node': if ntasks > 1: command_line_args.extend(['-n', f'{ntasks}'])