Skip to content

Commit f09a814

Browse files
Update examples/1D_convergence/submitJobs.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 8a12407 commit f09a814

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/1D_convergence/submitJobs.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env sh
1+
#!/usr/bin/env bash
22
Nx=(32 64 128 256 512 1024)
33
Order=(1 3 5)
44

@@ -18,11 +18,11 @@ for i in "${Nx[@]}"; do
1818
done
1919
done
2020

21-
cd $MFC_DIR
21+
cd "$MFC_DIR" || exit 1
2222

2323
for i in "${Nx[@]}"; do
2424
for j in "${Order[@]}"; do
25-
./mfc.sh run $ROOT_DIR/N${i}_O${j}/case.py --case-optimization --no-debug -- --order $j -N $i --meqns $ME --rs $RS
25+
./mfc.sh run "$ROOT_DIR/N${i}_O${j}/case.py" --case-optimization --no-debug -- --order "$j" -N "$i" --meqns "$ME" --rs "$RS"
2626
done
2727
done
2828

0 commit comments

Comments
 (0)