Changeset 1729 for XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo
- Timestamp:
- 10/03/19 16:28:14 (5 years ago)
- Location:
- XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/CMakeLists.txt
r1714 r1729 1 ############################## 2 # file generated by setup.py # 3 # DO NOT modify # 4 ############################## 5 1 6 cmake_minimum_required(VERSION 2.8.12.2) 2 7 3 8 project(generic_testcase) 4 9 10 find_package(PythonInterp REQUIRED) 5 11 6 12 enable_testing() 7 13 14 add_test( NAME test_axis_algo_config0 15 COMMAND ${PYTHON_EXECUTABLE} 16 ${CMAKE_CURRENT_BINARY_DIR}/run_test_0.py 17 test_axis_algo_config0) 8 18 9 add_test( axis_algo ./run_sub_test.sh) 19 add_test( NAME test_axis_algo_config1 20 COMMAND ${PYTHON_EXECUTABLE} 21 ${CMAKE_CURRENT_BINARY_DIR}/run_test_1.py 22 test_axis_algo_config1) 23 -
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/iodef.xml
r1728 r1729 7 7 8 8 <variable id="timestep"> 1h </variable> 9 <variable id="domain"> lmdz</variable>9 <variable id="domain"> atm::domain </variable> 10 10 <variable id="domain_mask"> true </variable> 11 11 <variable id="axis_mask"> true </variable> … … 55 55 <variable id="info_level" type="int">100</variable> 56 56 <variable id="print_file" type="bool">true</variable> 57 <variable id="using_server2" type="bool"> true</variable>58 <variable id="ratio_server2" type="int"> 50</variable>59 <variable id="number_pools_server2" type="int"> 1</variable>57 <variable id="using_server2" type="bool">xios::usingSrv2</variable> 58 <variable id="ratio_server2" type="int">xios::ratioSrv2</variable> 59 <variable id="number_pools_server2" type="int">xios::nbplSrv2</variable> 60 60 <variable id="pure_one_sided" type="bool">false</variable> 61 61 <variable id="check_event_sync" type="bool">true</variable> -
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/job_irene.sh
r1718 r1729 49 49 #ccc_mprun tau_exec -io ../../bin/test_send.exe 50 50 #ddt -start -n 8 ../buile_intelmpi/bin/test_omp.exe 51 python setup.py 51 52 52 53 cmake . -
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/run_sub_test.sh
r1728 r1729 1 1 #!/bin/bash 2 yes | cp ../context_grid_dynamico.xml ./3 yes | cp ../dynamico_grid.nc ./4 2 5 yes | cp ../user_config.py sub_config1.py6 yes | cp ../config.py sub_config2.py7 yes | cp ../check.py sub_check.py8 yes | cp ../default_param.py default_param.py9 3 10 yes | cp ../iodef.xml iodef.xml 4 5 cp ../context_grid_dynamico.xml ./ 6 cp ../dynamico_grid.nc ./ 7 8 cp ../config.py sub_config.py 9 cp ../check.py sub_check.py 10 11 cp ../default_param.py default_param.py 12 13 cp ../iodef.xml iodef.xml 11 14 12 15 # Black 0;30 Dark Gray 1;30 … … 20 23 21 24 25 mv iodef.xml iodef.xml.bkp 22 26 23 Color='\033[0;36m' 24 NC='\033[0m' # No Color 27 nb_proc=$(python sub_config.py 2>&1) 25 28 26 touch report.txt 27 > report.txt 28 echo " " >> report.txt 29 echo " " >> report.txt 30 echo -e "testing ${Color}axis${NC} algorithms..." >> report.txt 31 echo " " >> report.txt 29 machine_name=jeanzay 32 30 33 touch report.html 34 > report.html 35 echo "<br> " >> report.html 36 echo "<br> " >> report.html 37 echo "<br> " >> report.html 38 echo "<p>testing <font color="blue">axis</font> algorithms...</p>" >> report.html 39 echo "<br> " >> report.html 40 41 nb_config=$(python sub_config1.py 2>&1) 42 43 44 counter=0 45 while [ $counter -lt $nb_config ] 46 do 47 48 rm -f user_param.py 49 50 cp user_param.py.$counter user_param.py 51 52 ((counter++)) 53 54 nb_proc=$(python sub_config2.py 2>&1) 55 31 echo $nb_proc 56 32 if [[ ($machine_name == irene) ]] 57 33 then … … 67 43 srun -n $nb_proc --mpi=pmi2 ../../build_prod/bin/generic_testcase.exe 68 44 if [ $? -ne 0 ] 69 70 45 then 46 echo "execution failed" 71 47 rm -f iodef.xml 72 48 mv iodef.xml.bkp iodef.xml 49 rm -f user_param.py 73 50 rm -f default_param.py 74 rm -f default_param.pyc 75 rm -f user_param.pyc 76 rm -f user_param.py.* 77 rm -f sub_*.py 78 exit 1234 51 rm -f sub_config.py 52 exit 1234 79 53 fi 80 54 else … … 87 61 rm -f iodef.xml 88 62 mv iodef.xml.bkp iodef.xml 89 90 done 63 rm -f user_param.py 91 64 rm -f default_param.py 92 rm -f default_param.pyc 93 rm -f user_param.pyc 94 rm -f user_param.py.* 95 rm -f sub_*.py 65 rm -f sub_config.py
Note: See TracChangeset
for help on using the changeset viewer.