Ignore:
Timestamp:
06/25/19 16:14:54 (5 years ago)
Author:
yushan
Message:

MARK: Dynamic workflow graph developement. Branch up to date with trunk @1663.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/src/test/test_complete_omp.f90

    r1665 r1677  
    2929  INTEGER, ALLOCATABLE :: kindex(:) 
    3030  INTEGER :: ni,ibegin,iend,nj,jbegin,jend 
    31   INTEGER :: i,j,l,ts,n, nb_pt, provided 
     31  INTEGER :: i,j,l,ts,n, nb_pt, provided, ts_max 
    3232 
    3333  integer :: num_args, ix, nb_servers 
     
    4848 
    4949  READ(args(1),*) nb_servers 
     50  READ(args(2),*) ts_max 
    5051 
    5152!!! MPI Initialization 
     
    123124  CALL xios_define_calendar(type="Gregorian", & 
    124125                            start_date=xios_date(2000, 01, 01, 00, 00, 00), & 
    125                             time_origin=xios_date(1999, 01, 01, 15, 00, 00)) 
     126                            time_origin=xios_date(2000, 01, 01, 00, 00, 00)) 
     127                            !time_origin=xios_date(1999, 01, 01, 15, 00, 00)) 
    126128 
    127129  CALL xios_set_axis_attr("axis_atm",n_glo=llm ,value=lval) ; 
     
    216218  CALL xios_define_calendar(type="Gregorian", & 
    217219                            start_date=xios_date(2000, 01, 01, 00, 00, 00), & 
    218                             time_origin=xios_date(1999, 01, 01, 15, 00, 00)) 
     220                            time_origin=xios_date(2000, 01, 01, 00, 00, 00)) 
     221                            !time_origin=xios_date(1999, 01, 01, 15, 00, 00)) 
    219222 
    220223  CALL xios_set_axis_attr("axis_srf",n_glo=llm ,value=lval) 
     
    236239 
    237240  CALL xios_get_handle("output_surface",file_hdl) 
    238   CALL xios_add_child(file_hdl,field_hdl) 
    239   CALL xios_set_attr(field_hdl,field_ref="field_B_srf",name="field_C_srf") 
     241  ! CALL xios_add_child(file_hdl,field_hdl) 
     242  ! CALL xios_set_attr(field_hdl,field_ref="field_B_srf",name="field_C_srf") 
    240243 
    241244!!! Definition du timestep 
     
    248251  ni=0 ; lonvalue(:,:)=0 
    249252  CALL xios_get_domain_attr("domain_srf",ni=ni,lonvalue_2D=lonvalue) 
    250  
     253   
    251254  !PRINT *,"ni",ni 
    252255  !PRINT *,"lonvalue",lonvalue ; 
     
    267270!#################################################################################### 
    268271 
    269     DO ts=1,24*10 
    270     !DO ts=1,24 
     272    DO ts=1,ts_max 
     273    !DO ts=1,24*10 
    271274 
    272275      CALL xios_get_handle("atmosphere",ctx_hdl) 
     
    334337    DEALLOCATE(kindex, field_A_srf) 
    335338 
    336     print *, "Client : xios_finalize " 
     339    print *, "Client : xios_finalize ts_max=", ts_max 
    337340 
    338341    !$omp barrier 
Note: See TracChangeset for help on using the changeset viewer.