Changeset 510 for XIOS/trunk/src/test


Ignore:
Timestamp:
11/13/14 15:09:23 (9 years ago)
Author:
mhnguyen
Message:

Implementing buffer-size automatic detection in mode connected server-client (client is also server)

+) Rearrange some functions to make sure they work in both cases: connected and seperated
+) Make some cleans of code

Test
+) On Curie
+) Both modes, all tests pass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/test/test_xios_interface.f90

    r501 r510  
    1414  TYPE(xios_time)      :: dtime 
    1515  TYPE(xios_context) :: ctx_hdl 
    16   INTEGER,PARAMETER :: ni_glo=100 
    17   INTEGER,PARAMETER :: nj_glo=100 
     16  INTEGER,PARAMETER :: ni_glo=10 
     17  INTEGER,PARAMETER :: nj_glo=10 
    1818  INTEGER,PARAMETER :: llm=5 
    1919  DOUBLE PRECISION  :: lval(llm)=1 
     
    219219 
    220220!!! Fin de la definition du contexte SRF 
    221  
    222   CALL xios_close_context_definition() 
    223  
    224  
    225221!------------------------------------------------------------------------------- 
    226222! 
     
    228224! 
    229225!------------------------------------------------------------------------------- 
    230  
    231  !! Be sure in the correct context 
    232   CALL xios_get_handle("surface",ctx_hdl) 
    233   CALL xios_set_current_context(ctx_hdl) 
    234226 
    235227  !! Try getting some variable values 
     
    299291    print*, "New value of ", var_id, " is : ", var_val_bool 
    300292  end if 
     293! 
     294!!!! Fin de la definition du contexte SRF 
     295  CALL xios_close_context_definition() 
    301296 
    302297!#################################################################################### 
Note: See TracChangeset for help on using the changeset viewer.