This paste expires on 2023-07-26 19:47:23.775862. Repaste, or download this paste. . Pasted through web.

#!/bin/bash
#SBATCH -J fastmatlabruns
#SBATCH -o output/output-%j.txt
#SBATCH -N 1
#SBATCH --mem 4G.     # 4 gigabytes of memory
#SBATCH -c 1          # 1 core
#SBATCH -t 0-01:00:00 # 1 hours
module load matlab
mkdir -p images
mkdir -p output
h=1
N=100
runnum=0
for eps in $(seq 0.1 0.1 0.1)   
do
for a in $(seq 0.5 0.1 0.5)
do
for w in $(seq 0.1 0.1 0.1)
do
#images/run_eps_"+eps+"/run_a_"+a+"/run_w_"+w+"/runs_v
mkdir -p images/run_eps_$eps/run_a_$a/run_w_$w/runs_v
for v in $(seq 0.1 0.1 0.1)
do
runnum=$((runnum+1))
#sbatch --mem=2G  --export=a=$a,h=$h,w=$w,N=$N,v=$v,runnum=$runnum,eps=$eps matlabcode.job
# Execute the MATLAB code with the given parameters
matlab --nosplash --nojvm -nodesktop -r "evolution_ode_test($runnum,$a,$h,$w,$N,$v,$eps)"
done
done
done
done
Filename: None. Size: 825b. View raw, , hex, or download this file.