Changeset 1734 for XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo
- Timestamp:
- 10/04/19 17:36:51 (5 years ago)
- Location:
- XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/checkfile.def
r1725 r1734 1 1 all 2 2 atm_output_zoom.nc 3 3 #atm_output_inverse.nc -
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/context_atm.xml
r1725 r1734 35 35 </axis> 36 36 37 <axis id="domain_Y_inverse" axis_ref="domain_Y"> 38 <inverse_axis /> 39 </axis> 40 37 41 </axis_definition> 38 42 … … 68 72 <grid id="grid_Y"> 69 73 <axis axis_ref="domain_Y" /> 74 </grid> 75 76 <grid id="grid_Y_inverse"> 77 <axis axis_ref="domain_Y_inverse" /> 70 78 </grid> 71 79 … … 391 399 <file id="atm_output_zoom" output_freq="1ts" enabled="true"> 392 400 <field field_ref="field_XY" grid_ref="grid_XY_zoom_Y" operation="instant" enabled="true"/> 401 <!-- <field field_ref="field_Y" grid_ref="grid_Y_inverse" operation="instant" enabled="true"/> --> 393 402 </file> 394 403 -
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/run_sub_test.sh
r1729 r1734 11 11 cp ../default_param.py default_param.py 12 12 13 cp ../iodef.xml iodef.xml14 13 15 14 # Black 0;30 Dark Gray 1;30 … … 23 22 24 23 25 mv iodef.xml iodef.xml.bkp26 24 27 25 nb_proc=$(python sub_config.py 2>&1) … … 29 27 machine_name=jeanzay 30 28 31 echo $nb_proc29 # echo $nb_proc 32 30 if [[ ($machine_name == irene) ]] 33 31 then … … 46 44 echo "execution failed" 47 45 rm -f iodef.xml 48 mv iodef.xml.bkp iodef.xml49 46 rm -f user_param.py 50 47 rm -f default_param.py 51 48 rm -f sub_config.py 49 rm -f sub_check.py 52 50 exit 1234 53 51 fi … … 57 55 fi 58 56 59 python sub_check.py 57 check_output=$(python sub_check.py 2>&1 >/dev/null) 58 if [[ "$check_output" -ne 0 ]] 59 then 60 echo "check.py failed" 61 rm -f iodef.xml 62 rm -f user_param.py 63 rm -f default_param.py 64 rm -f sub_config.py 65 rm -f sub_check.py 66 exit 1 67 else 68 echo "check.py OK" 69 fi 70 60 71 61 72 rm -f iodef.xml 62 mv iodef.xml.bkp iodef.xml63 73 rm -f user_param.py 64 74 rm -f default_param.py 65 75 rm -f sub_config.py 76 rm -f sub_check.py -
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/setup.py
r1729 r1734 121 121 dirpath = os.getcwd() 122 122 foldername = os.path.basename(os.getcwd()) 123 print(foldername)124 123 125 124 … … 137 136 g.write("import os\n") 138 137 g.write("import sys\n") 138 g.write("import subprocess\n") 139 139 g.write("def main():\n") 140 140 g.write(" os.system(\'rm -f user_param.py\')\n")
Note: See TracChangeset
for help on using the changeset viewer.