#!/bin/bash #SBATCH --tasks-per-node=1 #SBATCH --exclusive #SBATCH --cpus-per-task=24 #SBATCH -t 2:00 #SBATCH -N 2 # sur un seul nœud : srun -N 1 -n 1 hostname srun -N 1 -n 1 lstopo --of xml # sur tous les nœuds : srun hostname
sbatch --dependency=afterany:${job_id} ${script}
sacct --allusers --format User,JobID,JobName,State,NNode,Start,End -X -S now-1day -N "hydra[01-36]"
sinfo scontrol show partitions