Changeset 569 for XIOS/trunk/src/test


Ignore:
Timestamp:
03/10/15 10:49:13 (9 years ago)
Author:
mhnguyen
Message:

Correct some bugs on discovering server index and do some code cleanings

+) Add some checking functions to make sure mpi_isend and mpi_irecv work correctly
+) Add comments to code
+) Remove some redundant code and comments

Test
+) On Curie
+) The new functions are tested in test_new_features.f90. Test_client and test_complete work like before
+) Test cases:

  • 3 dimension grid with: 1 domain, 1 axis
  • 3 dimension grid with: 3 axis
  • Attached and connected

+) All pass and results are correct

TODO:
+) Fix zoom bug with grid composed of only one axis

File:
1 edited

Legend:

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

    r567 r569  
    1717  INTEGER,PARAMETER :: ni_glo=100 
    1818  INTEGER,PARAMETER :: nj_glo=100 
    19   INTEGER,PARAMETER :: llm=5 
     19  INTEGER,PARAMETER :: llm=10 
    2020  DOUBLE PRECISION  :: lval(llm)=1 
    2121  TYPE(xios_field) :: field_hdl 
     
    135135  CALL xios_get_domain_attr("domain_A",ni=ni,lonvalue=lonvalue) 
    136136 
    137   print *,"ni",ni 
    138   print *,"lonvalue",lonvalue ; 
     137!  print *,"ni",ni 
     138!  print *,"lonvalue",lonvalue ; 
    139139 
    140140  CALL xios_is_defined_field_attr("field_A",enabled=ok) 
     
    146146    CALL xios_update_calendar(ts) 
    147147    CALL xios_send_field("field_A",field_A) 
    148     CALL xios_send_field("field_Axis",field_Axis) 
     148!    CALL xios_send_field("field_Axis",field_Axis) 
    149149    CALL xios_send_field("field_All_Axis",field_All_Axis) 
    150150    CALL wait_us(5000) ; 
Note: See TracChangeset for help on using the changeset viewer.