We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a12407 commit f09a814Copy full SHA for f09a814
examples/1D_convergence/submitJobs.sh
@@ -1,4 +1,4 @@
1
-#!/usr/bin/env sh
+#!/usr/bin/env bash
2
Nx=(32 64 128 256 512 1024)
3
Order=(1 3 5)
4
@@ -18,11 +18,11 @@ for i in "${Nx[@]}"; do
18
done
19
20
21
-cd $MFC_DIR
+cd "$MFC_DIR" || exit 1
22
23
for i in "${Nx[@]}"; do
24
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
+ ./mfc.sh run "$ROOT_DIR/N${i}_O${j}/case.py" --case-optimization --no-debug -- --order "$j" -N "$i" --meqns "$ME" --rs "$RS"
26
27
28
0 commit comments