Changeset 1677 for XIOS/dev/dev_trunk_omp/src/test/test_complete_omp.f90
- Timestamp:
- 06/25/19 16:14:54 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/src/test/test_complete_omp.f90
r1665 r1677 29 29 INTEGER, ALLOCATABLE :: kindex(:) 30 30 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 32 32 33 33 integer :: num_args, ix, nb_servers … … 48 48 49 49 READ(args(1),*) nb_servers 50 READ(args(2),*) ts_max 50 51 51 52 !!! MPI Initialization … … 123 124 CALL xios_define_calendar(type="Gregorian", & 124 125 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)) 126 128 127 129 CALL xios_set_axis_attr("axis_atm",n_glo=llm ,value=lval) ; … … 216 218 CALL xios_define_calendar(type="Gregorian", & 217 219 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)) 219 222 220 223 CALL xios_set_axis_attr("axis_srf",n_glo=llm ,value=lval) … … 236 239 237 240 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") 240 243 241 244 !!! Definition du timestep … … 248 251 ni=0 ; lonvalue(:,:)=0 249 252 CALL xios_get_domain_attr("domain_srf",ni=ni,lonvalue_2D=lonvalue) 250 253 251 254 !PRINT *,"ni",ni 252 255 !PRINT *,"lonvalue",lonvalue ; … … 267 270 !#################################################################################### 268 271 269 DO ts=1, 24*10270 !DO ts=1,24 272 DO ts=1,ts_max 273 !DO ts=1,24*10 271 274 272 275 CALL xios_get_handle("atmosphere",ctx_hdl) … … 334 337 DEALLOCATE(kindex, field_A_srf) 335 338 336 print *, "Client : xios_finalize "339 print *, "Client : xios_finalize ts_max=", ts_max 337 340 338 341 !$omp barrier
Note: See TracChangeset
for help on using the changeset viewer.