name: multi_node_mpi_step
description: Test srun step spanning two nodes (num_nodes=2)
project: slurm-tests
execution_config:
mode: slurm
resource_requirements:
- name: mpi_resources
num_cpus: 4
num_nodes: 2
memory: 4g
runtime: PT5M
jobs:
- name: mpi_job
command: bash slurm-tests/scripts/run_mpi_step.sh
resource_requirements: mpi_resources
scheduler: two_node_scheduler
slurm_schedulers:
- name: two_node_scheduler
account: PLACEHOLDER_ACCOUNT
partition: PLACEHOLDER_PARTITION
nodes: 2
walltime: "00:10:00"
actions:
- trigger_type: "on_workflow_start"
action_type: "schedule_nodes"
scheduler: "two_node_scheduler"
scheduler_type: "slurm"
num_allocations: 1