#!/bin/bash -l # Name the job #$ -N parallel_matlab # Join input and output streams #$ -j y # Request enough time #$ -l h_rt=12:00:00 # Request parallel environment #$ -pe omp 4 # Load module(s) module load matlab/matlab/2021a # Execute the program matlab -nodesktop -nodisplay -batch "par(); exit"