Skip to content
Snippets Groups Projects
Commit 850efa4b authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Replace mpiexec by `$mpiexec` in `eddy_graph.sh`

The command might be different than just mpiexec.
parent 656abbf1
No related branches found
No related tags found
No related merge requests found
...@@ -763,7 +763,10 @@ ...@@ -763,7 +763,10 @@
{ {
"input": "&MAIN_NML /\n", "input": "&MAIN_NML /\n",
"title": "Eddy_graph", "title": "Eddy_graph",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$src_dir/Tests/Input/Region_1/SHP_triplet_noise" "$src_dir/Tests/Input/Region_1/SHP_triplet_noise"
...@@ -773,7 +776,10 @@ ...@@ -773,7 +776,10 @@
"input": "&MAIN_NML /\n", "input": "&MAIN_NML /\n",
"description": "Same as Eddy_graph but with 2 processes.", "description": "Same as Eddy_graph but with 2 processes.",
"title": "Eddy_graph_2", "title": "Eddy_graph_2",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"2", "2",
"$src_dir/Tests/Input/Region_1/SHP_triplet_noise" "$src_dir/Tests/Input/Region_1/SHP_triplet_noise"
...@@ -783,7 +789,10 @@ ...@@ -783,7 +789,10 @@
"input": "&MAIN_NML MAX_DELTA = 2 /\n", "input": "&MAIN_NML MAX_DELTA = 2 /\n",
"description": "Same as Eddy_graph but with max_delta = 2.", "description": "Same as Eddy_graph but with max_delta = 2.",
"title": "Eddy_graph_md2", "title": "Eddy_graph_md2",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$src_dir/Tests/Input/Region_1/SHP_triplet_noise" "$src_dir/Tests/Input/Region_1/SHP_triplet_noise"
...@@ -793,7 +802,10 @@ ...@@ -793,7 +802,10 @@
"input": "&MAIN_NML n_dates = 4/\n", "input": "&MAIN_NML n_dates = 4/\n",
"description": "Eddy_graph with a larger region.", "description": "Eddy_graph with a larger region.",
"title": "Eddy_graph_region_2", "title": "Eddy_graph_region_2",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -803,7 +815,10 @@ ...@@ -803,7 +815,10 @@
"input": "&MAIN_NML n_dates = 4/\n", "input": "&MAIN_NML n_dates = 4/\n",
"description": "Same as Eddy_graph_region_2 but with 2 processes.", "description": "Same as Eddy_graph_region_2 but with 2 processes.",
"title": "Eddy_graph_region_2_2", "title": "Eddy_graph_region_2_2",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"2", "2",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -813,7 +828,10 @@ ...@@ -813,7 +828,10 @@
"input": "&MAIN_NML n_dates = 4, max_delta = 2/\n", "input": "&MAIN_NML n_dates = 4, max_delta = 2/\n",
"description": "Same as Eddy_graph_region_2 but with max_delta = 2.", "description": "Same as Eddy_graph_region_2 but with max_delta = 2.",
"title": "Eddy_graph_r2md2", "title": "Eddy_graph_r2md2",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -823,7 +841,10 @@ ...@@ -823,7 +841,10 @@
"input": "&MAIN_NML n_dates = 4, max_delta = 3/\n", "input": "&MAIN_NML n_dates = 4, max_delta = 3/\n",
"description": "Same as Eddy_graph_region_2 but with max_delta = 3.", "description": "Same as Eddy_graph_region_2 but with max_delta = 3.",
"title": "Eddy_graph_r2md3", "title": "Eddy_graph_r2md3",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -833,7 +854,10 @@ ...@@ -833,7 +854,10 @@
"input": "&MAIN_NML n_dates = 5, max_delta = 3/\n", "input": "&MAIN_NML n_dates = 5, max_delta = 3/\n",
"description": "Same as Eddy_graph_r2md3 but with n_dates = 5.", "description": "Same as Eddy_graph_r2md3 but with n_dates = 5.",
"title": "Eddy_graph_r2nd5md3", "title": "Eddy_graph_r2nd5md3",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -843,7 +867,10 @@ ...@@ -843,7 +867,10 @@
"input": "&MAIN_NML n_dates = 5, max_delta = 4/\n", "input": "&MAIN_NML n_dates = 5, max_delta = 4/\n",
"description": "Same as Eddy_graph_r2nd5md3 but with max_delta = 4.", "description": "Same as Eddy_graph_r2nd5md3 but with max_delta = 4.",
"title": "EGr2nd5md4", "title": "EGr2nd5md4",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -853,7 +880,10 @@ ...@@ -853,7 +880,10 @@
"input": "&MAIN_NML n_dates = 6, max_delta = 4/\n", "input": "&MAIN_NML n_dates = 6, max_delta = 4/\n",
"description": "Same as EGr2nd5md4 but with n_dates = 6.", "description": "Same as EGr2nd5md4 but with n_dates = 6.",
"title": "EGr2nd6md4", "title": "EGr2nd6md4",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -863,7 +893,10 @@ ...@@ -863,7 +893,10 @@
"input": "&MAIN_NML n_dates = 6/\n", "input": "&MAIN_NML n_dates = 6/\n",
"description": "Same as EGr2nd6md4 but with max_delta = 1.", "description": "Same as EGr2nd6md4 but with max_delta = 1.",
"title": "EGr2nd6md1", "title": "EGr2nd6md1",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -873,7 +906,10 @@ ...@@ -873,7 +906,10 @@
"input": "&MAIN_NML n_dates = 6/\n", "input": "&MAIN_NML n_dates = 6/\n",
"description": "Same as EGr2nd6md1 but with 2 processes.", "description": "Same as EGr2nd6md1 but with 2 processes.",
"title": "EGr2nd6md1np2", "title": "EGr2nd6md1np2",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"2", "2",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -883,7 +919,10 @@ ...@@ -883,7 +919,10 @@
"input": "&MAIN_NML n_dates = 6/\n", "input": "&MAIN_NML n_dates = 6/\n",
"description": "Same as EGr2nd6md1 but with 3 processes.", "description": "Same as EGr2nd6md1 but with 3 processes.",
"title": "EGr2nd6md1np3", "title": "EGr2nd6md1np3",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"3", "3",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -893,7 +932,10 @@ ...@@ -893,7 +932,10 @@
"input": "&MAIN_NML /\n", "input": "&MAIN_NML /\n",
"description": "Same as EGr2nd6md1 but with all the 15 dates.", "description": "Same as EGr2nd6md1 but with all the 15 dates.",
"title": "EGr2nd15md1", "title": "EGr2nd15md1",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -903,7 +945,10 @@ ...@@ -903,7 +945,10 @@
"input": "&MAIN_NML max_delta = 2 /\n", "input": "&MAIN_NML max_delta = 2 /\n",
"description": "Same as EGr2nd15md1 but with max_delta = 2.", "description": "Same as EGr2nd15md1 but with max_delta = 2.",
"title": "EGr2nd15md2", "title": "EGr2nd15md2",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -913,7 +958,10 @@ ...@@ -913,7 +958,10 @@
"input": "&MAIN_NML max_delta = 3 /\n", "input": "&MAIN_NML max_delta = 3 /\n",
"description": "Same as EGr2nd15md1 but with max_delta = 3.", "description": "Same as EGr2nd15md1 but with max_delta = 3.",
"title": "EGr2nd15md3", "title": "EGr2nd15md3",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -923,7 +971,10 @@ ...@@ -923,7 +971,10 @@
"input": "&MAIN_NML max_delta = 4 /\n", "input": "&MAIN_NML max_delta = 4 /\n",
"description": "Same as EGr2nd15md1 but with max_delta = 4.", "description": "Same as EGr2nd15md1 but with max_delta = 4.",
"title": "EGr2nd15md4", "title": "EGr2nd15md4",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -933,7 +984,10 @@ ...@@ -933,7 +984,10 @@
"input": "&MAIN_NML max_delta = 4 /\n", "input": "&MAIN_NML max_delta = 4 /\n",
"description": "Same as EGr2nd15md4 but with 2 processes.", "description": "Same as EGr2nd15md4 but with 2 processes.",
"title": "EGr2nd15md4np2", "title": "EGr2nd15md4np2",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"2", "2",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -943,7 +997,10 @@ ...@@ -943,7 +997,10 @@
"input": "&MAIN_NML max_delta = 4 /\n", "input": "&MAIN_NML max_delta = 4 /\n",
"description": "Same as EGr2nd15md4 but with 3 processes.", "description": "Same as EGr2nd15md4 but with 3 processes.",
"title": "EGr2nd15md4np3", "title": "EGr2nd15md4np3",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"3", "3",
"$src_dir/Tests/Input/Region_2/SHP_triplet" "$src_dir/Tests/Input/Region_2/SHP_triplet"
...@@ -953,7 +1010,10 @@ ...@@ -953,7 +1010,10 @@
"input": "&MAIN_NML max_delta = 4 /\n", "input": "&MAIN_NML max_delta = 4 /\n",
"description": "Same as EGr2nd15md4 but with a larger region.", "description": "Same as EGr2nd15md4 but with a larger region.",
"title": "EGr5np1", "title": "EGr5np1",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"1", "1",
"$large_input_dir/SHP_triplet_region_5" "$large_input_dir/SHP_triplet_region_5"
...@@ -963,7 +1023,10 @@ ...@@ -963,7 +1023,10 @@
"input": "&MAIN_NML max_delta = 4 /\n", "input": "&MAIN_NML max_delta = 4 /\n",
"description": "Same as EGr5np1 but with 3 processes. We get a different numbering of interpolated eddies.", "description": "Same as EGr5np1 but with 3 processes. We get a different numbering of interpolated eddies.",
"title": "EGr5np3", "title": "EGr5np3",
"stdout": "eddy_graph_stdout.txt",
"command": [ "command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/eddy_graph.sh", "$build_dir/eddy_graph.sh",
"3", "3",
"$large_input_dir/SHP_triplet_region_5" "$large_input_dir/SHP_triplet_region_5"
......
...@@ -17,7 +17,7 @@ do ...@@ -17,7 +17,7 @@ do
((rank += 1)) ((rank += 1))
done done
mpiexec -n $1 @CMAKE_BINARY_DIR@/eddy_graph $2 ${mpiexec:-mpiexec} -n $1 @CMAKE_BINARY_DIR@/eddy_graph $2
cat >number_eddies.csv <<EOF cat >number_eddies.csv <<EOF
"date subscript" "number of visible extrema" "number of interpolated eddies" "date subscript" "number of visible extrema" "number of interpolated eddies"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment