#!/bin/bash #SBATCH -J test # Job name #SBATCH -o job.%j.out # Name of stdout output file (%j expands to jobId) #SBATCH -N 2 # Total number of nodes requested #SBATCH -n 64 # Total number of mpi tasks requested #SBATCH -t 01:30:00 # Run time (hh:mm:ss) - 1.5 hours #SBATCH -p normal # Request a specific queue for the resource allocation: normal or test. If that line is removed, the job will be scheduled in the test partition # Launch MPI-based executable module purge module load compiler/2021.2.0 mpi/2021.2.0 # using intel_oneAPI compilers and intel MPI implementation. # Launch the parallel job # Using 64 MPI processes and 32 MPI processes per node mpirun -np $SLURM_NTASKS -ppn 32 ./my_mpi_executable.x arg1 arg2