#!/bin/bash -l #$ -l h_rt=12:00:00 # Specify the hard time limit for the job #$ -N Greedy # Give job a name #$ -j y # Merge the error and output streams into a single file #$ -pe omp 4 # Ask for 4 cores module load matlab matlab -nojvm -nodisplay -batch greedy