Ignore:
Timestamp:
03/09/17 18:13:51 (7 years ago)
Author:
yushan
Message:

Clean Up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan/src/test/test_client.f90

    r1067 r1069  
    4242  CALL xios_initialize(id,return_comm=comm) 
    4343   
    44   print*, "test_client xios_initialize OK" 
    45  
    4644  CALL MPI_COMM_RANK(comm,rank,ierr) 
    47   print*, "test_client MPI_COMM_RANK OK", rank 
    4845  CALL MPI_COMM_SIZE(comm,size,ierr) 
    49   print*, "test_client MPI_COMM_SIZE OK", size 
    5046   
    5147 
     
    7975 
    8076  CALL xios_get_handle("test",ctx_hdl) 
    81   print*, "Client xios_get_handle OK" 
    8277  CALL xios_set_current_context(ctx_hdl) 
    83   print*, "Client xios_set_current_handle OK"   
    84    
    85    
    8678   
    8779   
    8880  CALL xios_get_calendar_type(calendar_type) 
    89   PRINT *, "calendar_type = ", calendar_type 
    9081 
    9182  CALL xios_set_axis_attr("axis_A",n_glo=llm ,value=lval) ; 
     
    10596  dtime%second = 3600 
    10697  CALL xios_set_timestep(dtime) 
    107   print*, "Client xios_set_timestep OK"   
    10898 
    10999  ! The calendar is created as soon as the calendar type is defined. This way 
     
    144134 
    145135  call MPI_Barrier(comm, ierr) 
    146   PRINT*,"MPI_Barrier OK " 
    147136 
    148137  !DO ts=1,24*10 
    149138  DO ts=1,6 
    150139    CALL xios_update_calendar(ts) 
    151     print*, "xios_update_calendar OK, ts = ", ts 
    152140    CALL xios_send_field("field_A",field_A) 
    153     print*, "xios_send_field OK, ts = ", ts 
    154141    CALL wait_us(5000) 
    155142  ENDDO 
     
    157144 
    158145  CALL xios_context_finalize() 
    159   print*, "xios_context_finalize OK"   
    160146 
    161147  DEALLOCATE(lon, lat, field_A, lonvalue) 
     
    164150 
    165151  CALL xios_finalize() 
     152  print *, "Client : xios_finalize " 
    166153 
    167154   else 
    168155 
    169156   CALL xios_init_server 
     157   print *, "Server : xios_finalize " 
    170158   
    171159   endif 
Note: See TracChangeset for help on using the changeset viewer.