EXAMPLE 2 - ONE NODE, MULTIPLE PROCESSORS

This is similar to what a modern desktop or laptop is likely to have. Software that can use more than one processor may be described as multicore, multiprocessor, or mulithreaded. Some examples of software that can benefit from this are MATLAB and Stata/MP. You should read the documentation for your software to see if this is one of its capabilities.


#!/bin/bash

#SBATCH --job-name JOBNAME

#SBATCH --nodes=1

#SBATCH --cpus-per-task=4

#SBATCH --mem-per-cpu=1g

#SBATCH --time=00:15:00

#SBATCH --account=test #SBATCH --partition=standard

#SBATCH --mail-type=NONE

 

srun --cpu-bind=none hostname -s