Last change
on this file since 1708 was
1708,
checked in by yushan, 5 years ago
|
Generic_testcase : simplification of files and cleanup
|
-
Property svn:executable set to
*
|
File size:
595 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | |
---|
4 | cp ../user_config.py sub_config1.py |
---|
5 | cp ../config.py sub_config2.py |
---|
6 | cp ../check.py sub_check.py |
---|
7 | cp ../default_param.py default_param.py |
---|
8 | |
---|
9 | |
---|
10 | touch report.txt |
---|
11 | > report.txt |
---|
12 | |
---|
13 | nb_config=$(python sub_config1.py 2>&1) |
---|
14 | |
---|
15 | |
---|
16 | counter=0 |
---|
17 | while [ $counter -lt $nb_config ] |
---|
18 | do |
---|
19 | |
---|
20 | rm -f user_param.py |
---|
21 | |
---|
22 | cp user_param.py.$counter user_param.py |
---|
23 | |
---|
24 | ((counter++)) |
---|
25 | |
---|
26 | nb_proc=$(python sub_config2.py 2>&1) |
---|
27 | |
---|
28 | mpirun -np $nb_proc ../../build_prod/bin/generic_testcase.exe |
---|
29 | |
---|
30 | |
---|
31 | python sub_check.py |
---|
32 | |
---|
33 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.