Changeset 1718 for XIOS


Ignore:
Timestamp:
09/24/19 14:05:04 (5 years ago)
Author:
yushan
Message:

Generic_test_case: add job script for Irene. correction for using newer version of cdo

Location:
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE
Files:
10 added
10 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/check.py

    r1714 r1718  
    114114                                os.system(cmd) 
    115115 
     116                if os.stat("diff.txt").st_size==0: 
     117                                        h.write("test for "+configName+" for file "+line+"     \tPASSED\n")              
     118                                        print "\n        ****************************************" 
     119                                        print "        ** "+line+" is valid !!! **" 
     120                                        print "\n        ****************************************" 
     121                else:    
    116122                                g=open("diff.txt", "r") 
    117123                                for gline in g: 
    118                                         if gline.strip().startswith("0"): 
     124                                        if gline.strip().startswith("0") or ":" in gline : 
    119125                                                h.write("test for "+configName+" for file "+line+"     \tPASSED\n")              
    120126                                                print "\n        ****************************************" 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/context_atm.xml

    r1714 r1718  
    388388 
    389389     <file id="atm_output" output_freq="1ts" enabled="true"> 
    390        <field id="fieldXY_zoomY" field_ref="field_XY" grid_ref="grid_XY_zoom_Y" operation="once" enabled="true"/> 
     390       <field id="fieldXY_zoomY" field_ref="field_XY" grid_ref="grid_XY_zoom_Y" operation="instant" enabled="true"/> 
    391391    </file> 
    392392   
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/run_sub_test.sh

    r1716 r1718  
    3434nb_proc=$(python sub_config2.py 2>&1)  
    3535 
    36 mpirun -np $nb_proc ../../build_prod/bin/generic_testcase.exe 
     36if [$machine_name == irene] 
     37then 
     38    ccc_mprun -n $nb_proc ../../build_prod/bin/generic_testcase.exe 
     39else 
     40    mpirun -np $nb_proc ../../build_prod/bin/generic_testcase.exe 
     41fi 
    3742 
    3843python sub_check.py 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_domain_algo/run_sub_test.sh

    r1716 r1718  
    3434nb_proc=$(python sub_config2.py 2>&1)  
    3535 
    36 mpirun -np $nb_proc ../../build_prod/bin/generic_testcase.exe 
     36if [$machine_name == irene] 
     37then 
     38    ccc_mprun -n $nb_proc ../../build_prod/bin/generic_testcase.exe 
     39else 
     40    mpirun -np $nb_proc ../../build_prod/bin/generic_testcase.exe 
     41fi 
     42 
     43 
    3744 
    3845python sub_check.py 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_average/run_sub_test.sh

    r1716 r1718  
    3838nb_proc=$(python sub_config2.py 2>&1)  
    3939 
    40 mpirun -np $nb_proc ../../../build_prod/bin/generic_testcase.exe 
     40if [$machine_name == irene] 
     41then 
     42    ccc_mprun -n $nb_proc ../../../build_prod/bin/generic_testcase.exe 
     43else 
     44    mpirun -np $nb_proc ../../../build_prod/bin/generic_testcase.exe 
     45fi 
    4146 
    4247python sub_check.py 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_maximum/run_sub_test.sh

    r1716 r1718  
    3838nb_proc=$(python sub_config2.py 2>&1)  
    3939 
    40 mpirun -np $nb_proc ../../../build_prod/bin/generic_testcase.exe 
     40if [$machine_name == irene] 
     41then 
     42    ccc_mprun -n $nb_proc ../../../build_prod/bin/generic_testcase.exe 
     43else 
     44    mpirun -np $nb_proc ../../../build_prod/bin/generic_testcase.exe 
     45fi 
    4146 
    4247python sub_check.py 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_minimum/run_sub_test.sh

    r1716 r1718  
    3838nb_proc=$(python sub_config2.py 2>&1)  
    3939 
    40 mpirun -np $nb_proc ../../../build_prod/bin/generic_testcase.exe 
     40if [$machine_name == irene] 
     41then 
     42    ccc_mprun -n $nb_proc ../../../build_prod/bin/generic_testcase.exe 
     43else 
     44    mpirun -np $nb_proc ../../../build_prod/bin/generic_testcase.exe 
     45fi 
    4146 
    4247python sub_check.py 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_sum/run_sub_test.sh

    r1716 r1718  
    3838nb_proc=$(python sub_config2.py 2>&1)  
    3939 
    40 mpirun -np $nb_proc ../../../build_prod/bin/generic_testcase.exe 
     40if [$machine_name == irene] 
     41then 
     42    ccc_mprun -n $nb_proc ../../../build_prod/bin/generic_testcase.exe 
     43else 
     44    mpirun -np $nb_proc ../../../build_prod/bin/generic_testcase.exe 
     45fi 
    4146 
    4247python sub_check.py 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_grid_algo/run_sub_test.sh

    r1716 r1718  
    3434nb_proc=$(python sub_config2.py 2>&1)  
    3535 
     36if [$machine_name == irene] 
     37then 
     38    ccc_mprun -n $nb_proc ../../build_prod/bin/generic_testcase.exe 
     39else 
    3640mpirun -np $nb_proc ../../build_prod/bin/generic_testcase.exe 
     41fi 
    3742 
    3843python sub_check.py 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_scalar_algo/run_sub_test.sh

    r1716 r1718  
    3333nb_proc=$(python sub_config2.py 2>&1)  
    3434 
    35 mpirun -np $nb_proc ../../build_prod/bin/generic_testcase.exe 
    36  
     35if [$machine_name == irene] 
     36then 
     37    ccc_mprun -n $nb_proc ../../build_prod/bin/generic_testcase.exe 
     38else  #machine_name=ada 
     39    mpirun -np $nb_proc ../../build_prod/bin/generic_testcase.exe 
     40fi 
    3741python sub_check.py 
    3842 
Note: See TracChangeset for help on using the changeset viewer.