Changeset 1728


Ignore:
Timestamp:
10/02/19 16:36:02 (2 years ago)
Author:
yushan
Message:

GENERIC_TESTCASE : update for JeanZay?

Location:
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE
Files:
26 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/iodef.xml

    r1691 r1728  
    11<?xml version="1.0"?> 
     2 
    23<simulation> 
    34 
     
    67 
    78      <variable id="timestep"> 1h </variable> 
    8       <variable id="domain"> lmdz </variable> 
     9      <variable id="domain"> atm::domain </variable> 
    910      <variable id="domain_mask"> true </variable> 
    1011      <variable id="axis_mask"> true </variable> 
     
    4546    <variable_definition> 
    4647      <variable_group id="buffer"> 
    47         <variable id="min_buffer_size" type="int">10000000</variable> 
    48         <variable id="optimal_buffer_size" type="string">performance</variable> 
    49         <variable id="buffer_factor_size" type="double">0.8</variable>  
     48  <variable id="min_buffer_size" type="int">10000000</variable> 
     49  <variable id="optimal_buffer_size" type="string">performance</variable> 
     50  <variable id="buffer_factor_size" type="double">0.8</variable>  
    5051      </variable_group> 
    5152 
     
    5455        <variable id="info_level" type="int">100</variable> 
    5556        <variable id="print_file" type="bool">true</variable> 
    56         <variable id="using_server2" type="bool">false</variable> 
    57         <variable id="ratio_server2" type="int">50</variable> 
    58         <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> 
    5960        <variable id="pure_one_sided" type="bool">false</variable> 
    6061        <variable id="check_event_sync" type="bool">true</variable> 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/iodef.xml

    r1712 r1728  
    77 
    88      <variable id="timestep"> 1h </variable> 
    9       <variable id="domain"> atm::domain </variable> 
     9      <variable id="domain"> lmdz </variable> 
    1010      <variable id="domain_mask"> true </variable> 
    1111      <variable id="axis_mask"> true </variable> 
     
    4646    <variable_definition> 
    4747      <variable_group id="buffer"> 
    48         <variable id="min_buffer_size" type="int">10000000</variable> 
    49         <variable id="optimal_buffer_size" type="string">performance</variable> 
    50         <variable id="buffer_factor_size" type="double">0.8</variable>  
     48  <variable id="min_buffer_size" type="int">10000000</variable> 
     49  <variable id="optimal_buffer_size" type="string">performance</variable> 
     50  <variable id="buffer_factor_size" type="double">0.8</variable>  
    5151      </variable_group> 
    5252 
    5353      <variable_group id="parameters" > 
    54         <variable id="using_server" type="bool">xios::usingSrv2</variable> 
     54        <variable id="using_server" type="bool">true</variable> 
    5555        <variable id="info_level" type="int">100</variable> 
    5656        <variable id="print_file" type="bool">true</variable> 
    57         <variable id="using_server2" type="bool">false</variable> 
    58         <variable id="ratio_server2" type="int">xios::ratioSrv2</variable> 
    59         <variable id="number_pools_server2" type="int">xios::nbplSrv2</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> 
    6060        <variable id="pure_one_sided" type="bool">false</variable> 
    6161        <variable id="check_event_sync" type="bool">true</variable> 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_axis_algo/run_sub_test.sh

    r1726 r1728  
    88yes | cp ../default_param.py default_param.py 
    99 
     10yes | cp ../iodef.xml iodef.xml 
    1011 
    1112# Black        0;30     Dark Gray     1;30 
     
    5556if [[ ($machine_name == irene) ]] 
    5657then 
     58    echo "Testing on Irene" 
    5759    ccc_mprun -n $nb_proc ../../build_prod/bin/generic_testcase.exe 
    5860elif [[($machine_name == ada)]] 
     
    6466    echo "Testing on Jean-Zay"  
    6567    srun -n $nb_proc --mpi=pmi2 ../../build_prod/bin/generic_testcase.exe 
     68    if [ $? -ne 0 ] 
     69        then 
     70                echo "execution failed" 
     71            rm -f iodef.xml 
     72            mv iodef.xml.bkp iodef.xml 
     73            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 
     79    fi 
    6680else 
    6781    echo "other machine" 
     82    exit 1234 
    6883fi 
    6984 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_domain_algo/iodef.xml

    r1694 r1728  
    11<?xml version="1.0"?> 
     2 
    23<simulation> 
    34 
     
    4546    <variable_definition> 
    4647      <variable_group id="buffer"> 
    47         <variable id="min_buffer_size" type="int">10000000</variable> 
    48         <variable id="optimal_buffer_size" type="string">performance</variable> 
    49         <variable id="buffer_factor_size" type="double">0.8</variable>  
     48  <variable id="min_buffer_size" type="int">10000000</variable> 
     49  <variable id="optimal_buffer_size" type="string">performance</variable> 
     50  <variable id="buffer_factor_size" type="double">0.8</variable>  
    5051      </variable_group> 
    5152 
     
    5455        <variable id="info_level" type="int">100</variable> 
    5556        <variable id="print_file" type="bool">true</variable> 
    56         <variable id="using_server2" type="bool">false</variable> 
     57        <variable id="using_server2" type="bool">true</variable> 
    5758        <variable id="ratio_server2" type="int">50</variable> 
    5859        <variable id="number_pools_server2" type="int">1</variable> 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_domain_algo/run_sub_test.sh

    r1727 r1728  
    88yes | cp ../default_param.py default_param.py 
    99 
     10yes | cp ../iodef.xml iodef.xml 
    1011 
    1112# Black        0;30     Dark Gray     1;30 
     
    5556if [[ ($machine_name == irene) ]] 
    5657then 
     58    echo "Testing on Irene" 
    5759    ccc_mprun -n $nb_proc ../../build_prod/bin/generic_testcase.exe 
    5860elif [[($machine_name == ada)]] 
     
    6466    echo "Testing on Jean-Zay"  
    6567    srun -n $nb_proc --mpi=pmi2 ../../build_prod/bin/generic_testcase.exe 
     68    if [ $? -ne 0 ] 
     69      then 
     70        echo "execution failed" 
     71        rm -f iodef.xml 
     72        mv iodef.xml.bkp iodef.xml 
     73        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 
     79    fi 
    6680else 
    6781    echo "other machine" 
     82    exit 1234 
    6883fi 
    6984 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_average/checkfile.def

    r1719 r1728  
    11 
    22atm_output.nc 
    3 atm_output_ensemble.nc 
     3#atm_output_ensemble.nc 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_average/context_atm.xml

    r1720 r1728  
    367367     <file id="atm_output" output_freq="4ts" enabled="true" > 
    368368        
    369        <field field_ref="field2D" operation="average"/> 
    370        <field field_ref="field3D" operation="average"/> 
    371        <field field_ref="pressure" operation="average" /> 
    372        <field field_ref="field3D_recv" operation="average" /> 
    373        <field field_ref="field3D_resend" operation="average" /> 
     369       <field field_ref="field2D" operation="average" enabled="true"/> 
     370       <field field_ref="field3D" operation="average" enabled="false"/> 
     371       <field field_ref="pressure" operation="average" enabled="false"/> 
     372       <field field_ref="field3D_recv" operation="average" enabled="false"/> 
     373       <field field_ref="field3D_resend" operation="average" enabled="false"/> 
    374374        
    375        <field field_ref="field_X" operation="average" /> 
    376        <field field_ref="field_Y" operation="average" /> 
    377        <field field_ref="field_Z" operation="average" /> 
    378        <field field_ref="field_XY" operation="average" /> 
    379        <field field_ref="field_XYZ" operation="average" /> 
    380        <field field_ref="field_XZ" operation="average" /> 
    381        <field field_ref="field_YZ" operation="average" /> 
     375       <!-- <field field_ref="field_X" operation="average" enabled="true"/> 
     376       <field field_ref="field_Y" operation="average" enabled="true"/> 
     377       <field field_ref="field_Z" operation="average" enabled="true"/> 
     378       <field field_ref="field_XY" operation="average" enabled="true"/> 
     379       <field field_ref="field_XYZ" operation="average" enabled="true"/> 
     380       <field field_ref="field_XZ" operation="average" enabled="true"/> 
     381       <field field_ref="field_YZ" operation="average" enabled="true"/> 
    382382        
    383        <field field_ref="field_zoom_vert" operation="average" /> 
    384        <field field_ref="field_zoom_vert_sum" operation="average" /> 
     383       <field field_ref="field_zoom_vert" operation="average" enabled="true"/> 
     384       <field field_ref="field_zoom_vert_sum" operation="average" enabled="true"/> --> 
    385385        
    386386    </file> 
    387387 
    388388 
    389     <file id="atm_output_ensemble" output_freq="4ts" enabled="true"> 
     389    <file id="atm_output_ensemble" output_freq="4ts" enabled="false"> 
    390390       <field field_ref="field2D_W" operation="average" /> 
    391391       <field field_ref="field3D_W" operation="average" /> 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_average/iodef.xml

    r1719 r1728  
    4646    <variable_definition> 
    4747      <variable_group id="buffer"> 
    48         <variable id="min_buffer_size" type="int">10000000</variable> 
    49         <variable id="optimal_buffer_size" type="string">performance</variable> 
    50         <variable id="buffer_factor_size" type="double">0.8</variable>  
     48  <variable id="min_buffer_size" type="int">10000000</variable> 
     49  <variable id="optimal_buffer_size" type="string">performance</variable> 
     50  <variable id="buffer_factor_size" type="double">0.8</variable>  
    5151      </variable_group> 
    5252 
    5353      <variable_group id="parameters" > 
    54         <variable id="using_server" type="bool">false</variable> 
     54        <variable id="using_server" type="bool">true</variable> 
    5555        <variable id="info_level" type="int">100</variable> 
    5656        <variable id="print_file" type="bool">true</variable> 
    57         <variable id="using_server2" type="bool">false</variable> 
     57        <variable id="using_server2" type="bool">true</variable> 
    5858        <variable id="ratio_server2" type="int">50</variable> 
    5959        <variable id="number_pools_server2" type="int">1</variable> 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_average/run_sub_test.sh

    r1726 r1728  
    77yes | cp ../../check.py sub_check.py 
    88yes | cp ../../default_param.py default_param.py 
     9 
     10rm -f iodef.xml 
     11rm -f iodef.xml.bkp 
     12rm -f iodef.xml.tmp 
     13 
     14yes | cp ../../iodef.xml iodef.xml 
    915 
    1016 
     
    5561if [[ ($machine_name == irene) ]] 
    5662then 
     63    echo "Testing on Irene" 
    5764    ccc_mprun -n $nb_proc ../../../build_prod/bin/generic_testcase.exe 
    5865elif [[($machine_name == ada)]] 
     
    6370then 
    6471    echo "Testing on Jean-Zay"  
    65     srun -n $nb_proc --mpi=pmi2 ../../../build_prod/bin/generic_testcase.exe 
     72    if [[($debug == true)]] 
     73    then  
     74      echo "in debug mode ..." 
     75      ddt --connect srun -n $nb_proc --mpi=pmi2 ../../../build_debug/bin/generic_testcase.exe 
     76    else 
     77      echo "in prod mode ..." 
     78      #srun -n $nb_proc --mpi=pmi2 ../../../build_trunk/bin/generic_testcase.exe 
     79      srun -n $nb_proc --mpi=pmi2 ../../../build_prod/bin/generic_testcase.exe 
     80      #srun --mpi=pmi2 -K1 --multi-prog -m cyclic ./srun.conf 
     81      if [ $? -ne 0 ] 
     82      then 
     83        echo "execution failed" 
     84            rm -f iodef.xml 
     85            mv iodef.xml.bkp iodef.xml 
     86            rm -f default_param.py 
     87            rm -f default_param.pyc 
     88            rm -f user_param.pyc 
     89            rm -f user_param.py.* 
     90            rm -f sub_*.py 
     91        exit 1234 
     92      fi 
     93    fi 
    6694else 
    6795    echo "other machine" 
     96    exit 1234 
    6897fi 
    6998 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_average/user_params.def

    r1726 r1728  
    1111# e.g. NumberServers = 2, 4, 8   
    1212 
    13 NumberServers = 2, 4 
    14 UsingServer2 = 'false' 
     13NumberServers = 4, 2 
     14UsingServer2 = 'true', 'false' 
    1515ATMdomain = 'lmdz' 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_maximum/checkfile.def

    r1720 r1728  
    11 
    22atm_output.nc 
    3 atm_output_ensemble.nc 
     3#atm_output_ensemble.nc 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_maximum/context_atm.xml

    r1720 r1728  
    365365     
    366366 
    367     <file id="atm_output" output_freq="4ts" enabled="true" > 
     367     <file id="atm_output" output_freq="4ts" enabled="true" > 
    368368        
    369        <field field_ref="field2D" operation="maximum"/> 
    370        <field field_ref="field3D" operation="maximum"/> 
    371        <field field_ref="pressure" operation="maximum" /> 
    372        <field field_ref="field3D_recv" operation="maximum" /> 
    373        <field field_ref="field3D_resend" operation="maximum" /> 
     369       <field field_ref="field2D" operation="maximum" enabled="true"/> 
     370       <field field_ref="field3D" operation="maximum" enabled="false"/> 
     371       <field field_ref="pressure" operation="maximum" enabled="false"/> 
     372       <field field_ref="field3D_recv" operation="maximum" enabled="false"/> 
     373       <field field_ref="field3D_resend" operation="maximum" enabled="false"/> 
    374374        
    375        <field field_ref="field_X" operation="maximum" /> 
    376        <field field_ref="field_Y" operation="maximum" /> 
    377        <field field_ref="field_Z" operation="maximum" /> 
    378        <field field_ref="field_XY" operation="maximum" /> 
    379        <field field_ref="field_XYZ" operation="maximum" /> 
    380        <field field_ref="field_XZ" operation="maximum" /> 
    381        <field field_ref="field_YZ" operation="maximum" /> 
     375       <!-- <field field_ref="field_X" operation="maximum" enabled="true"/> 
     376       <field field_ref="field_Y" operation="maximum" enabled="true"/> 
     377       <field field_ref="field_Z" operation="maximum" enabled="true"/> 
     378       <field field_ref="field_XY" operation="maximum" enabled="true"/> 
     379       <field field_ref="field_XYZ" operation="maximum" enabled="true"/> 
     380       <field field_ref="field_XZ" operation="maximum" enabled="true"/> 
     381       <field field_ref="field_YZ" operation="maximum" enabled="true"/> 
    382382        
    383        <field field_ref="field_zoom_vert" operation="maximum" /> 
    384        <field field_ref="field_zoom_vert_sum" operation="maximum" /> 
     383       <field field_ref="field_zoom_vert" operation="maximum" enabled="true"/> 
     384       <field field_ref="field_zoom_vert_sum" operation="maximum" enabled="true"/> --> 
    385385        
    386386    </file> 
    387387 
    388388 
    389     <file id="atm_output_ensemble" output_freq="4ts" enabled="true"> 
     389    <file id="atm_output_ensemble" output_freq="4ts" enabled="false"> 
    390390       <field field_ref="field2D_W" operation="maximum" /> 
    391391       <field field_ref="field3D_W" operation="maximum" /> 
     
    415415       <field field_ref="other_field_YZ" enabled="false"/> 
    416416    </file> 
    417  
     417     
    418418 
    419419    <file id="atm_output_reorder" output_freq="1ts" enabled="false" > 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_maximum/iodef.xml

    r1715 r1728  
    77 
    88      <variable id="timestep"> 1h </variable> 
    9       <variable id="domain"> atm::domain </variable> 
     9      <variable id="domain"> lmdz </variable> 
    1010      <variable id="domain_mask"> true </variable> 
    1111      <variable id="axis_mask"> true </variable> 
     
    4646    <variable_definition> 
    4747      <variable_group id="buffer"> 
    48         <variable id="min_buffer_size" type="int">10000000</variable> 
    49         <variable id="optimal_buffer_size" type="string">performance</variable> 
    50         <variable id="buffer_factor_size" type="double">0.8</variable>  
     48  <variable id="min_buffer_size" type="int">10000000</variable> 
     49  <variable id="optimal_buffer_size" type="string">performance</variable> 
     50  <variable id="buffer_factor_size" type="double">0.8</variable>  
    5151      </variable_group> 
    5252 
    5353      <variable_group id="parameters" > 
    54         <variable id="using_server" type="bool">xios::usingSrv2</variable> 
     54        <variable id="using_server" type="bool">true</variable> 
    5555        <variable id="info_level" type="int">100</variable> 
    5656        <variable id="print_file" type="bool">true</variable> 
    5757        <variable id="using_server2" type="bool">false</variable> 
    58         <variable id="ratio_server2" type="int">xios::ratioSrv2</variable> 
    59         <variable id="number_pools_server2" type="int">xios::nbplSrv2</variable> 
     58        <variable id="ratio_server2" type="int">50</variable> 
     59        <variable id="number_pools_server2" type="int">1</variable> 
    6060        <variable id="pure_one_sided" type="bool">false</variable> 
    6161        <variable id="check_event_sync" type="bool">true</variable> 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_maximum/run_sub_test.sh

    r1726 r1728  
    88yes | cp ../../default_param.py default_param.py 
    99 
     10rm -f iodef.xml 
     11rm -f iodef.xml.bkp 
     12rm -f iodef.xml.tmp 
     13 
     14yes | cp ../../iodef.xml iodef.xml 
    1015 
    1116# Black        0;30     Dark Gray     1;30 
     
    5560if [[ ($machine_name == irene) ]] 
    5661then 
     62    echo "Testing on Irene" 
    5763    ccc_mprun -n $nb_proc ../../../build_prod/bin/generic_testcase.exe 
    5864elif [[($machine_name == ada)]] 
     
    6369then 
    6470    echo "Testing on Jean-Zay"  
    65     srun -n $nb_proc --mpi=pmi2 ../../../build_prod/bin/generic_testcase.exe 
     71    if [[($debug == true)]] 
     72    then  
     73      echo "in debug mode ..." 
     74      ddt --connect srun -n $nb_proc --mpi=pmi2 ../../../build_debug/bin/generic_testcase.exe 
     75    else 
     76      echo "in prod mode ..." 
     77      #srun -n $nb_proc --mpi=pmi2 ../../../build_trunk/bin/generic_testcase.exe 
     78      srun -n $nb_proc --mpi=pmi2 ../../../build_prod/bin/generic_testcase.exe 
     79      #srun --mpi=pmi2 -K1 --multi-prog -m cyclic ./srun.conf 
     80      if [ $? -ne 0 ] 
     81      then 
     82        echo "execution failed" 
     83            rm -f iodef.xml 
     84            mv iodef.xml.bkp iodef.xml 
     85            rm -f default_param.py 
     86            rm -f default_param.pyc 
     87            rm -f user_param.pyc 
     88            rm -f user_param.py.* 
     89            rm -f sub_*.py 
     90        exit 1234 
     91      fi 
     92    fi 
    6693else 
    6794    echo "other machine" 
     95    exit 1234 
    6896fi 
    6997 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_minimum/checkfile.def

    r1720 r1728  
    11 
    22atm_output.nc 
    3 atm_output_ensemble.nc 
     3#atm_output_ensemble.nc 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_minimum/context_atm.xml

    r1720 r1728  
    367367     <file id="atm_output" output_freq="4ts" enabled="true" > 
    368368        
    369        <field field_ref="field2D" operation="minimum"/> 
    370        <field field_ref="field3D" operation="minimum"/> 
    371        <field field_ref="pressure" operation="minimum" /> 
    372        <field field_ref="field3D_recv" operation="minimum" /> 
    373        <field field_ref="field3D_resend" operation="minimum" /> 
     369       <field field_ref="field2D" operation="minimum" enabled="true"/> 
     370       <field field_ref="field3D" operation="minimum" enabled="false"/> 
     371       <field field_ref="pressure" operation="minimum" enabled="false"/> 
     372       <field field_ref="field3D_recv" operation="minimum" enabled="false"/> 
     373       <field field_ref="field3D_resend" operation="minimum" enabled="false"/> 
    374374        
    375        <field field_ref="field_X" operation="minimum" /> 
    376        <field field_ref="field_Y" operation="minimum" /> 
    377        <field field_ref="field_Z" operation="minimum" /> 
    378        <field field_ref="field_XY" operation="minimum" /> 
    379        <field field_ref="field_XYZ" operation="minimum" /> 
    380        <field field_ref="field_XZ" operation="minimum" /> 
    381        <field field_ref="field_YZ" operation="minimum" /> 
     375       <!-- <field field_ref="field_X" operation="minimum" enabled="true"/> 
     376       <field field_ref="field_Y" operation="minimum" enabled="true"/> 
     377       <field field_ref="field_Z" operation="minimum" enabled="true"/> 
     378       <field field_ref="field_XY" operation="minimum" enabled="true"/> 
     379       <field field_ref="field_XYZ" operation="minimum" enabled="true"/> 
     380       <field field_ref="field_XZ" operation="minimum" enabled="true"/> 
     381       <field field_ref="field_YZ" operation="minimum" enabled="true"/> 
    382382        
    383        <field field_ref="field_zoom_vert" operation="minimum" /> 
    384        <field field_ref="field_zoom_vert_sum" operation="minimum" /> 
     383       <field field_ref="field_zoom_vert" operation="minimum" enabled="true"/> 
     384       <field field_ref="field_zoom_vert_sum" operation="minimum" enabled="true"/> --> 
    385385        
    386386    </file> 
    387387 
    388388 
    389     <file id="atm_output_ensemble" output_freq="4ts" enabled="true"> 
     389    <file id="atm_output_ensemble" output_freq="4ts" enabled="false"> 
    390390       <field field_ref="field2D_W" operation="minimum" /> 
    391391       <field field_ref="field3D_W" operation="minimum" /> 
     
    415415       <field field_ref="other_field_YZ" enabled="false"/> 
    416416    </file> 
    417  
    418417     
    419418 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_minimum/iodef.xml

    r1715 r1728  
    77 
    88      <variable id="timestep"> 1h </variable> 
    9       <variable id="domain"> atm::domain </variable> 
     9      <variable id="domain"> lmdz </variable> 
    1010      <variable id="domain_mask"> true </variable> 
    1111      <variable id="axis_mask"> true </variable> 
     
    4646    <variable_definition> 
    4747      <variable_group id="buffer"> 
    48         <variable id="min_buffer_size" type="int">10000000</variable> 
    49         <variable id="optimal_buffer_size" type="string">performance</variable> 
    50         <variable id="buffer_factor_size" type="double">0.8</variable>  
     48  <variable id="min_buffer_size" type="int">10000000</variable> 
     49  <variable id="optimal_buffer_size" type="string">performance</variable> 
     50  <variable id="buffer_factor_size" type="double">0.8</variable>  
    5151      </variable_group> 
    5252 
    5353      <variable_group id="parameters" > 
    54         <variable id="using_server" type="bool">xios::usingSrv2</variable> 
     54        <variable id="using_server" type="bool">true</variable> 
    5555        <variable id="info_level" type="int">100</variable> 
    5656        <variable id="print_file" type="bool">true</variable> 
    5757        <variable id="using_server2" type="bool">false</variable> 
    58         <variable id="ratio_server2" type="int">xios::ratioSrv2</variable> 
    59         <variable id="number_pools_server2" type="int">xios::nbplSrv2</variable> 
     58        <variable id="ratio_server2" type="int">50</variable> 
     59        <variable id="number_pools_server2" type="int">1</variable> 
    6060        <variable id="pure_one_sided" type="bool">false</variable> 
    6161        <variable id="check_event_sync" type="bool">true</variable> 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_minimum/run_sub_test.sh

    r1726 r1728  
    88yes | cp ../../default_param.py default_param.py 
    99 
     10rm -f iodef.xml 
     11rm -f iodef.xml.bkp 
     12rm -f iodef.xml.tmp 
     13 
     14yes | cp ../../iodef.xml iodef.xml 
    1015 
    1116# Black        0;30     Dark Gray     1;30 
     
    5560if [[ ($machine_name == irene) ]] 
    5661then 
     62    echo "Testing on Irene" 
    5763    ccc_mprun -n $nb_proc ../../../build_prod/bin/generic_testcase.exe 
    5864elif [[($machine_name == ada)]] 
     
    6369then 
    6470    echo "Testing on Jean-Zay"  
    65     srun -n $nb_proc --mpi=pmi2 ../../../build_prod/bin/generic_testcase.exe 
     71    if [[($debug == true)]] 
     72    then  
     73      echo "in debug mode ..." 
     74      ddt --connect srun -n $nb_proc --mpi=pmi2 ../../../build_debug/bin/generic_testcase.exe 
     75    else 
     76      echo "in prod mode ..." 
     77      #srun -n $nb_proc --mpi=pmi2 ../../../build_trunk/bin/generic_testcase.exe 
     78      srun -n $nb_proc --mpi=pmi2 ../../../build_prod/bin/generic_testcase.exe 
     79      #srun --mpi=pmi2 -K1 --multi-prog -m cyclic ./srun.conf 
     80      if [ $? -ne 0 ] 
     81      then 
     82        echo "execution failed" 
     83            rm -f iodef.xml 
     84            mv iodef.xml.bkp iodef.xml 
     85            rm -f default_param.py 
     86            rm -f default_param.pyc 
     87            rm -f user_param.pyc 
     88            rm -f user_param.py.* 
     89            rm -f sub_*.py 
     90        exit 1234 
     91      fi 
     92    fi 
    6693else 
    6794    echo "other machine" 
     95    exit 1234 
    6896fi 
    6997 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_sum/checkfile.def

    r1720 r1728  
    11 
    22atm_output.nc 
    3 atm_output_ensemble.nc 
     3#atm_output_ensemble.nc 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_sum/context_atm.xml

    r1720 r1728  
    365365     
    366366 
    367     <file id="atm_output" output_freq="4ts" enabled="true" > 
     367     <file id="atm_output" output_freq="4ts" enabled="true" > 
    368368        
    369        <field field_ref="field2D" operation="accumulate"/> 
    370        <field field_ref="field3D" operation="accumulate"/> 
    371        <field field_ref="pressure" operation="accumulate" /> 
    372        <field field_ref="field3D_recv" operation="accumulate" /> 
    373        <field field_ref="field3D_resend" operation="accumulate" /> 
     369       <field field_ref="field2D" operation="accumulate" enabled="true"/> 
     370       <field field_ref="field3D" operation="accumulate" enabled="false"/> 
     371       <field field_ref="pressure" operation="accumulate" enabled="false"/> 
     372       <field field_ref="field3D_recv" operation="accumulate" enabled="false"/> 
     373       <field field_ref="field3D_resend" operation="accumulate" enabled="false"/> 
    374374        
    375        <field field_ref="field_X" operation="accumulate" /> 
    376        <field field_ref="field_Y" operation="accumulate" /> 
    377        <field field_ref="field_Z" operation="accumulate" /> 
    378        <field field_ref="field_XY" operation="accumulate" /> 
    379        <field field_ref="field_XYZ" operation="accumulate" /> 
    380        <field field_ref="field_XZ" operation="accumulate" /> 
    381        <field field_ref="field_YZ" operation="accumulate" /> 
     375       <!-- <field field_ref="field_X" operation="accumulate" enabled="true"/> 
     376       <field field_ref="field_Y" operation="accumulate" enabled="true"/> 
     377       <field field_ref="field_Z" operation="accumulate" enabled="true"/> 
     378       <field field_ref="field_XY" operation="accumulate" enabled="true"/> 
     379       <field field_ref="field_XYZ" operation="accumulate" enabled="true"/> 
     380       <field field_ref="field_XZ" operation="accumulate" enabled="true"/> 
     381       <field field_ref="field_YZ" operation="accumulate" enabled="true"/> 
    382382        
    383        <field field_ref="field_zoom_vert" operation="accumulate" /> 
    384        <field field_ref="field_zoom_vert_sum" operation="accumulate" /> 
     383       <field field_ref="field_zoom_vert" operation="accumulate" enabled="true"/> 
     384       <field field_ref="field_zoom_vert_sum" operation="accumulate" enabled="true"/> --> 
    385385        
    386386    </file> 
    387387 
    388388 
    389     <file id="atm_output_ensemble" output_freq="4ts" enabled="true"> 
     389    <file id="atm_output_ensemble" output_freq="4ts" enabled="false"> 
    390390       <field field_ref="field2D_W" operation="accumulate" /> 
    391391       <field field_ref="field3D_W" operation="accumulate" /> 
     
    415415       <field field_ref="other_field_YZ" enabled="false"/> 
    416416    </file> 
    417  
    418417     
    419418 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_sum/iodef.xml

    r1715 r1728  
    77 
    88      <variable id="timestep"> 1h </variable> 
    9       <variable id="domain"> atm::domain </variable> 
     9      <variable id="domain"> lmdz </variable> 
    1010      <variable id="domain_mask"> true </variable> 
    1111      <variable id="axis_mask"> true </variable> 
     
    4646    <variable_definition> 
    4747      <variable_group id="buffer"> 
    48         <variable id="min_buffer_size" type="int">10000000</variable> 
    49         <variable id="optimal_buffer_size" type="string">performance</variable> 
    50         <variable id="buffer_factor_size" type="double">0.8</variable>  
     48  <variable id="min_buffer_size" type="int">10000000</variable> 
     49  <variable id="optimal_buffer_size" type="string">performance</variable> 
     50  <variable id="buffer_factor_size" type="double">0.8</variable>  
    5151      </variable_group> 
    5252 
    5353      <variable_group id="parameters" > 
    54         <variable id="using_server" type="bool">xios::usingSrv2</variable> 
     54        <variable id="using_server" type="bool">true</variable> 
    5555        <variable id="info_level" type="int">100</variable> 
    5656        <variable id="print_file" type="bool">true</variable> 
    5757        <variable id="using_server2" type="bool">false</variable> 
    58         <variable id="ratio_server2" type="int">xios::ratioSrv2</variable> 
    59         <variable id="number_pools_server2" type="int">xios::nbplSrv2</variable> 
     58        <variable id="ratio_server2" type="int">50</variable> 
     59        <variable id="number_pools_server2" type="int">1</variable> 
    6060        <variable id="pure_one_sided" type="bool">false</variable> 
    6161        <variable id="check_event_sync" type="bool">true</variable> 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_function/test_sum/run_sub_test.sh

    r1726 r1728  
    88yes | cp ../../default_param.py default_param.py 
    99 
     10rm -f iodef.xml 
     11rm -f iodef.xml.bkp 
     12rm -f iodef.xml.tmp 
     13 
     14yes | cp ../../iodef.xml iodef.xml 
    1015 
    1116# Black        0;30     Dark Gray     1;30 
     
    5560if [[ ($machine_name == irene) ]] 
    5661then 
     62    echo "Testing on Irene" 
    5763    ccc_mprun -n $nb_proc ../../../build_prod/bin/generic_testcase.exe 
    5864elif [[($machine_name == ada)]] 
     
    6369then 
    6470    echo "Testing on Jean-Zay"  
    65     srun -n $nb_proc --mpi=pmi2 ../../../build_prod/bin/generic_testcase.exe 
     71    if [[($debug == true)]] 
     72    then  
     73      echo "in debug mode ..." 
     74      ddt --connect srun -n $nb_proc --mpi=pmi2 ../../../build_debug/bin/generic_testcase.exe 
     75    else 
     76      echo "in prod mode ..." 
     77      #srun -n $nb_proc --mpi=pmi2 ../../../build_trunk/bin/generic_testcase.exe 
     78      srun -n $nb_proc --mpi=pmi2 ../../../build_prod/bin/generic_testcase.exe 
     79      #srun --mpi=pmi2 -K1 --multi-prog -m cyclic ./srun.conf 
     80      if [ $? -ne 0 ] 
     81      then 
     82        echo "execution failed" 
     83            rm -f iodef.xml 
     84            mv iodef.xml.bkp iodef.xml 
     85            rm -f default_param.py 
     86            rm -f default_param.pyc 
     87            rm -f user_param.pyc 
     88            rm -f user_param.py.* 
     89            rm -f sub_*.py 
     90        exit 1234 
     91      fi 
     92    fi 
    6693else 
    6794    echo "other machine" 
     95    exit 1234 
    6896fi 
    6997 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_grid_algo/iodef.xml

    r1694 r1728  
    11<?xml version="1.0"?> 
     2 
    23<simulation> 
    34 
     
    4546    <variable_definition> 
    4647      <variable_group id="buffer"> 
    47         <variable id="min_buffer_size" type="int">10000000</variable> 
    48         <variable id="optimal_buffer_size" type="string">performance</variable> 
    49         <variable id="buffer_factor_size" type="double">0.8</variable>  
     48  <variable id="min_buffer_size" type="int">10000000</variable> 
     49  <variable id="optimal_buffer_size" type="string">performance</variable> 
     50  <variable id="buffer_factor_size" type="double">0.8</variable>  
    5051      </variable_group> 
    5152 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_grid_algo/run_sub_test.sh

    r1727 r1728  
    88yes | cp ../default_param.py default_param.py 
    99 
     10yes | cp ../iodef.xml iodef.xml 
    1011 
    1112# Black        0;30     Dark Gray     1;30 
     
    5556if [[ ($machine_name == irene) ]] 
    5657then 
     58          echo "Testing on Irene" 
    5759    ccc_mprun -n $nb_proc ../../build_prod/bin/generic_testcase.exe 
    5860elif [[($machine_name == ada)]] 
     
    6466    echo "Testing on Jean-Zay"  
    6567    srun -n $nb_proc --mpi=pmi2 ../../build_prod/bin/generic_testcase.exe 
     68    if [ $? -ne 0 ] 
     69        then 
     70                echo "execution failed" 
     71            rm -f iodef.xml 
     72            mv iodef.xml.bkp iodef.xml 
     73            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 
     79    fi 
    6680else 
    6781    echo "other machine" 
     82    exit 1234 
    6883fi 
    6984 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_scalar_algo/iodef.xml

    r1697 r1728  
    11<?xml version="1.0"?> 
     2 
    23<simulation> 
    34 
     
    4546    <variable_definition> 
    4647      <variable_group id="buffer"> 
    47         <variable id="min_buffer_size" type="int">10000000</variable> 
    48         <variable id="optimal_buffer_size" type="string">performance</variable> 
    49         <variable id="buffer_factor_size" type="double">0.8</variable>  
     48  <variable id="min_buffer_size" type="int">10000000</variable> 
     49  <variable id="optimal_buffer_size" type="string">performance</variable> 
     50  <variable id="buffer_factor_size" type="double">0.8</variable>  
    5051      </variable_group> 
    5152 
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_scalar_algo/run_sub_test.sh

    r1727 r1728  
    88yes | cp ../default_param.py default_param.py 
    99 
     10yes | cp ../iodef.xml iodef.xml 
    1011 
    1112# Black        0;30     Dark Gray     1;30 
     
    5556if [[ ($machine_name == irene) ]] 
    5657then 
     58          echo "Testing on Irene" 
    5759    ccc_mprun -n $nb_proc ../../build_prod/bin/generic_testcase.exe 
    5860elif [[($machine_name == ada)]] 
     
    6466    echo "Testing on Jean-Zay"  
    6567    srun -n $nb_proc --mpi=pmi2 ../../build_prod/bin/generic_testcase.exe 
     68    if [ $? -ne 0 ] 
     69        then 
     70                echo "execution failed" 
     71            rm -f iodef.xml 
     72            mv iodef.xml.bkp iodef.xml 
     73            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 
     79    fi 
    6680else 
    6781    echo "other machine" 
     82    exit 1234 
    6883fi 
    6984 
Note: See TracChangeset for help on using the changeset viewer.