Changeset 1726 for XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_domain_algo
- Timestamp:
- 09/27/19 11:40:33 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_domain_algo/run_sub_test.sh
r1725 r1726 1 1 #!/bin/bash 2 yes | cp ../context_grid_dynamico.xml ./ 3 yes | cp ../dynamico_grid.nc ./ 2 4 3 rm -fsub_config1.py4 rm -fsub_config2.py5 rm -fsub_check.py6 rm -fdefault_param.py5 yes | cp ../user_config.py sub_config1.py 6 yes | cp ../config.py sub_config2.py 7 yes | cp ../check.py sub_check.py 8 yes | cp ../default_param.py default_param.py 7 9 8 cp -n ../user_config.py sub_config1.py9 cp -n ../config.py sub_config2.py10 cp -n ../check.py sub_check.py11 cp -n ../default_param.py default_param.py12 10 13 11 # Black 0;30 Dark Gray 1;30 … … 29 27 echo " " >> report.txt 30 28 echo " " >> report.txt 31 echo -e "testing ${Color} domain${NC} algorithms..." >> report.txt29 echo -e "testing ${Color}axis${NC} algorithms..." >> report.txt 32 30 echo " " >> report.txt 33 34 31 35 32 touch report.html … … 38 35 echo "<br> " >> report.html 39 36 echo "<br> " >> report.html 40 echo "<p>testing <font color="blue"> domain</font> algorithms...</p>" >> report.html37 echo "<p>testing <font color="blue">axis</font> algorithms...</p>" >> report.html 41 38 echo "<br> " >> report.html 42 39 … … 55 52 56 53 nb_proc=$(python sub_config2.py 2>&1) 57 nb_jz=$(($nb_proc-1))58 54 59 55 if [[ ($machine_name == irene) ]] … … 67 63 then 68 64 echo "Testing on Jean-Zay" 69 # touch srun.conf70 # > srun.conf71 # echo "0-"$nb_jz " ../../build_prod/bin/generic_testcase.exe">> srun.conf72 # srun --mpi=pmi2 -K1 --multi-prog -m cyclic ./srun.conf73 65 srun -n $nb_proc --mpi=pmi2 ../../build_prod/bin/generic_testcase.exe 74 66 else 75 67 echo "other machine" 76 68 fi 77 78 79 69 80 70 python sub_check.py … … 84 74 85 75 done 76 rm -f default_param.py 77 rm -f default_param.pyc 78 rm -f user_param.pyc 79 rm -f user_param.py.* 80 rm -f sub_*.py
Note: See TracChangeset
for help on using the changeset viewer.