Repository navigation
Submitting multi-node slurm job using vine_submite_workers command #4338
Replies: 2 comments 3 replies
|
@Ann-Geo, our recommendation would be to use the second command you provided. Could you expand on why this is not meeting your needs? |
1 reply
|
The #!/bin/bash
#SBATCH --job-name=vine_workers
#SBATCH --account=project-account
#SBATCH --nodes=1000
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=56
#SBATCH --time=00:10:00
#SBATCH --output=vine_workers_%j.out
#SBATCH --error=vine_workers_%j.err
srun vine_worker --cores=${SLURM_CPUS_PER_TASK} manager-address 9129and submit with |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am trying to submit a 2 node job through slurm using the vine_submit_workers command. This is the command I used:
vine_submit_workers -T slurm --cores 56 -p "-A project-account -t 00:10:00 --nodes=2 --ntasks=2 --ntasks-per-node=1 --cpus-per-task=56" manager-address 9129 1After the job starts running I do see there are 56 taskvine tasks running on the first node in my allocation.
However, I do see neither a vine worker nor any taskvine tasks running on my second node.
Is this the right way to submit a 2 node job with one vine worker process running on each node?
I tried another way as well:
vine_submit_workers -T slurm --cores 56 -p "-A project-account -t 00:10:00 --ntasks=1 --cpus-per-task=56" manager-address 9129 2
This gives me 2 single node jobs with one vine worker running on the single node in each job, which is not I want.
All reactions