#!/bin/bash #PBS -S /bin/bash # Script to run 2 matlab jobs in parallel. # set default resource requirements for job (2 processors on 1 node for 2 # hours). These can be overridden on the qsub command line. #PBS -l nodes=1:ppn=2 #PBS -l walltime=02:00:00 # use itpp module to set up the matlab environment. module load matlab # Change to directory from which job was submitted. cd $PBS_O_WORKDIR # Run the program with 2 different parameter sets in parallel. matlab -nodesktop -r "simu_modem" & matlab -nodesktop -r "simu_modem2" & wait