Changeset 1726 for XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_scalar_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_scalar_algo/run_sub_test.sh
r1725 r1726 1 1 #!/bin/bash 2 rm -f sub_config1.py 3 rm -f sub_config2.py 4 rm -f sub_check.py 5 rm -f default_param.py 2 yes | cp ../context_grid_dynamico.xml ./ 3 yes | cp ../dynamico_grid.nc ./ 6 4 7 cp -n ../user_config.py sub_config1.py 8 cp -n ../config.py sub_config2.py 9 cp -n ../check.py sub_check.py 10 cp -n ../default_param.py default_param.py 5 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 9 11 10 12 11 # Black 0;30 Dark Gray 1;30 … … 20 19 21 20 21 22 22 Color='\033[0;36m' 23 23 NC='\033[0m' # No Color … … 27 27 echo " " >> report.txt 28 28 echo " " >> report.txt 29 echo -e "testing ${Color} scalar${NC} algorithms..." >> report.txt29 echo -e "testing ${Color}axis${NC} algorithms..." >> report.txt 30 30 echo " " >> report.txt 31 31 … … 35 35 echo "<br> " >> report.html 36 36 echo "<br> " >> report.html 37 echo "<p>testing <font color="blue"> scalar</font> algorithms...</p>" >> report.html37 echo "<p>testing <font color="blue">axis</font> algorithms...</p>" >> report.html 38 38 echo "<br> " >> report.html 39 39 … … 52 52 53 53 nb_proc=$(python sub_config2.py 2>&1) 54 nb_jz=$(($nb_proc-1))55 54 56 55 if [[ ($machine_name == irene) ]] … … 64 63 then 65 64 echo "Testing on Jean-Zay" 66 # touch srun.conf67 # > srun.conf68 # echo "0-"$nb_jz " ../../build_prod/bin/generic_testcase.exe">> srun.conf69 # srun --mpi=pmi2 -K1 --multi-prog -m cyclic ./srun.conf70 65 srun -n $nb_proc --mpi=pmi2 ../../build_prod/bin/generic_testcase.exe 71 66 else 72 67 echo "other machine" 73 68 fi 69 74 70 python sub_check.py 75 71 … … 78 74 79 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.