You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parser.addoption('--use-srun', dest='use_srun', action=argparse.BooleanOptionalAction, default=None, help='Launch MPI processes through srun (only possible when `--scheduler=shell`')
parser.addoption('--detach', dest='detach', action='store_true', help='Detach SLURM jobs: do not send reports to the scheduling process (useful to launch slurm job.sh separately)')
raisePytestParallelError('Option `--use-srun` only available when `--scheduler=shell`')
108
114
ifnotschedulerin ['slurm', 'shell']:
109
115
assertnotis_worker, f'Internal pytest_parallel error `--_worker` not available with`--scheduler={scheduler}`'
110
116
assertnotn_workers, f'pytest_parallel error `--n-workers` not available with`--scheduler={scheduler}`. Launch with `mpirun -np {n_workers}` to run in parallel'
0 commit comments