Changeset 1713 for XIOS


Ignore:
Timestamp:
09/13/19 14:29:49 (5 years ago)
Author:
yushan
Message:

Generic_testcase : seperate param.def for generic_test_case.exe and all_param.def for the test

Location:
XIOS/dev/dev_trunk_omp
Files:
6 edited

Legend:

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

    r1712 r1713  
    5252                 
    5353                os.system('cp param.def '+configName+'/setup/') 
     54                os.system('cp all_param.def '+configName+'/setup/') 
    5455                os.system('cp iodef.xml '+configName+'/setup/') 
    5556                os.system('cp context_atm.xml '+configName+'/setup/') 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/config.py

    r1712 r1713  
    1010 
    1111        f.write("&params_run\n") 
    12         f.write('UsingServer2 = ' + UsingServer2 + '\n') 
    13         f.write('RatioServer2 = ' + repr(RatioServer2) + '\n') 
    14         f.write('NumberPoolsServer2 = ' + repr(NumberPoolsServer2) + '\n') 
    1512        f.write('nb_proc_atm = ' + repr(NumberClients) + '\n') 
    16         f.write('NumberServers = ' + repr(NumberServers) + '\n') 
    1713        f.write('duration = ' + repr(Duration) + '\n') 
    18         f.write('ATMdomain = ' + ATMdomain + '\n') 
    1914        f.write('/\n\n') 
    2015 
    2116        f.close() 
     17 
     18 
     19        f=open("all_param.def", "w") 
     20 
     21        f.write("&params_run\n") 
     22        f.write('UsingServer2 = ' + repr(UsingServer2) + '\n') 
     23        f.write('RatioServer2 = ' + repr(RatioServer2) + '\n') 
     24        f.write('NumberPoolsServer2 = ' + repr(NumberPoolsServer2) + '\n') 
     25        f.write('NumberClients = ' + repr(NumberClients) + '\n') 
     26        f.write('NumberServers = ' + repr(NumberServers) + '\n') 
     27        f.write('Duration = ' + repr(Duration) + '\n') 
     28        f.write('ATMdomain = ' + repr(ATMdomain) + '\n') 
     29        f.write('/\n\n') 
     30 
     31        f.close() 
     32 
    2233 
    2334        nb_proc = NumberClients+NumberServers 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/param.def

    r1712 r1713  
    11&params_run 
    2 UsingServer2 = true 
    3 RatioServer2 = 50 
    4 NumberPoolsServer2 = 1 
    52nb_proc_atm = 8 
    6 NumberServers = 4 
    73duration = '1d' 
    8 ATMdomain = lmdz 
    94/ 
    105 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/user_params.def

    r1706 r1713  
    1212 
    1313NumberServers = 2, 4 
     14ATMdomain='lmdz' 
    1415UsingServer2 = 'false', 'true' 
    1516# Duration = '1d', '2d' 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/param.def

    r1712 r1713  
    11&params_run 
    2 UsingServer2 = true 
    3 RatioServer2 = 50 
    4 NumberPoolsServer2 = 1 
    52nb_proc_atm = 8 
    6 NumberServers = 4 
    73duration = '1d' 
    8 ATMdomain = lmdz 
    94/ 
    105 
  • XIOS/dev/dev_trunk_omp/src/test/generic_testcase.f90

    r1702 r1713  
    1111  INTEGER :: nb_proc_oce 
    1212  INTEGER :: nb_proc_surf 
    13   INTEGER :: NumberPoolsServer2 
    14   LOGICAL :: UsingServer2 
    15   INTEGER :: RatioServer2 
    16   INTEGER :: NumberServers 
    1713  CHARACTER(LEN=len_str)  :: proc_distribution 
    1814  CHARACTER(LEN=len_str)  :: start_date 
     
    2016  DOUBLE PRECISION        :: sypd 
    2117  NAMELIST /params_run/    nb_proc_atm, nb_proc_surf, nb_proc_oce, &  
    22                            duration, sypd, start_date, proc_distribution, NumberPoolsServer2, & 
    23                            UsingServer2, RatioServer2, NumberServers 
     18                           duration, sypd, start_date, proc_distribution 
    2419 
    2520 
     
    6863  start_date="2018-01-01" 
    6964  proc_distribution="contiguous" 
    70   NumberPoolsServer2=1 
    71   UsingServer2=.false. 
    72   RatioServer2=50 
    73   NumberServers=4 
     65   
    7466  READ (unit, nml=params_run) 
    7567  CLOSE(unit) 
Note: See TracChangeset for help on using the changeset viewer.