#!/bin/bash #SBATCH --nodes=1 # Number of requested nodes #SBATCH --time=0:01:00 # Max wall time #SBATCH --qos=testing # Specify testing QOS #SBATCH --partition=shas-testing # Specify Summit haswell nodes #SBATCH --ntasks=4 # Number of tasks per job #SBATCH --job-name=General_Omp_Job # Job submission name #SBATCH --output=GENERAL_OMP_JOB.%j.out # Output file name with Job ID # Written by: Daniel Trahan # Date: 20 April 2018 # Updated: 25 July 2018 # Purpose: This script submits a general MPI program to the Slurm job scheduler. # purge all exisitng modules module purge # set thread count for openmp export OMP_NUM_THREADS=4 # run your program ./your_omp_program.exe