#!/usr/bin/zsh ############################################################ ### Slurm flags ############################################################ #SBATCH --ntasks=8 # request desired number of processes (or MPI tasks) #SBATCH --time=00:15:00 # max. run time of the job #SBATCH --job-name=example_job_mpi # set the job name #SBATCH --output=stdout_%j.txt # redirects stdout and stderr to stdout.txt #SBATCH --account=<project-id> # insert your project-id or delete this line ############################################################ ### Execution / Commands ############################################################ # Note: Not specified where MPI tasks will be allocated. # Most likely on the same node but could in theory # also be placed on different nodes. srun hostname