Re: [slurm-users] Running two multiprocessing jobs in one sbatch

2020-07-25 Thread Brian Andrus
Is there a reason to run them as a single job? It may be easier to just have 2 separate jobs of 16 cores each. If there are dependency requirements, that is addressed by adding any dependencies to the job submission. Brian Andrus On 7/25/2020 2:50 AM, Даниил Вахрамеев wrote: Hi everyone! I

[slurm-users] Running two multiprocessing jobs in one sbatch

2020-07-25 Thread Даниил Вахрамеев
Hi everyone! I have SLURM cluster with several nodes with 16 vcpus per node. I've tried to run the following code: #SBATCH --nodes 2 #SBATCH --ntasks 2 #SBATCH -c 16 srun --exclusive --nodes=1 program1 & srun --exclusive --nodes=1 program2 & wait program1 and program2 needs 16cpus each and I ex