Changeset 1069 for XIOS/dev/branch_yushan/src/test
- Timestamp:
- 03/09/17 18:13:51 (7 years ago)
- Location:
- XIOS/dev/branch_yushan/src/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/src/test/test_client.f90
r1067 r1069 42 42 CALL xios_initialize(id,return_comm=comm) 43 43 44 print*, "test_client xios_initialize OK"45 46 44 CALL MPI_COMM_RANK(comm,rank,ierr) 47 print*, "test_client MPI_COMM_RANK OK", rank48 45 CALL MPI_COMM_SIZE(comm,size,ierr) 49 print*, "test_client MPI_COMM_SIZE OK", size50 46 51 47 … … 79 75 80 76 CALL xios_get_handle("test",ctx_hdl) 81 print*, "Client xios_get_handle OK"82 77 CALL xios_set_current_context(ctx_hdl) 83 print*, "Client xios_set_current_handle OK"84 85 86 78 87 79 88 80 CALL xios_get_calendar_type(calendar_type) 89 PRINT *, "calendar_type = ", calendar_type90 81 91 82 CALL xios_set_axis_attr("axis_A",n_glo=llm ,value=lval) ; … … 105 96 dtime%second = 3600 106 97 CALL xios_set_timestep(dtime) 107 print*, "Client xios_set_timestep OK"108 98 109 99 ! The calendar is created as soon as the calendar type is defined. This way … … 144 134 145 135 call MPI_Barrier(comm, ierr) 146 PRINT*,"MPI_Barrier OK "147 136 148 137 !DO ts=1,24*10 149 138 DO ts=1,6 150 139 CALL xios_update_calendar(ts) 151 print*, "xios_update_calendar OK, ts = ", ts152 140 CALL xios_send_field("field_A",field_A) 153 print*, "xios_send_field OK, ts = ", ts154 141 CALL wait_us(5000) 155 142 ENDDO … … 157 144 158 145 CALL xios_context_finalize() 159 print*, "xios_context_finalize OK"160 146 161 147 DEALLOCATE(lon, lat, field_A, lonvalue) … … 164 150 165 151 CALL xios_finalize() 152 print *, "Client : xios_finalize " 166 153 167 154 else 168 155 169 156 CALL xios_init_server 157 print *, "Server : xios_finalize " 170 158 171 159 endif -
XIOS/dev/branch_yushan/src/test/test_complete.f90
r1067 r1069 34 34 CALL MPI_INIT(ierr) 35 35 36 CALL MPI_COMM_RANK(MPI_COMM_WORLD,rank,ierr) 37 38 39 36 40 CALL init_wait 41 42 if (rank <2) then 37 43 38 44 !!! XIOS Initialization (get the local communicator) … … 80 86 81 87 CALL xios_context_initialize("atmosphere",comm) 82 print*, "init context atmosphere comm = ", comm88 ! print*, "init context atmosphere comm = ", comm 83 89 84 90 CALL xios_get_handle("atmosphere",ctx_hdl) … … 137 143 CALL xios_close_context_definition() 138 144 139 print *, "xios_close_context_definition(atmosphere)"145 ! print *, "xios_close_context_definition(atmosphere)" 140 146 141 147 !!! Test des valeurs des champs/fichiers … … 174 180 175 181 CALL xios_context_initialize("surface",comm) 176 print*, "init context surface comm = ", comm182 ! print*, "init context surface comm = ", comm 177 183 178 184 CALL xios_get_handle("surface",ctx_hdl) … … 221 227 CALL xios_close_context_definition() 222 228 223 print *, "xios_close_context_definition(surface)"229 ! print *, "xios_close_context_definition(surface)" 224 230 225 231 … … 260 266 ENDDO 261 267 262 print *, "end temporal loop"268 ! print *, "end temporal loop" 263 269 264 270 !#################################################################################### … … 276 282 CALL xios_context_finalize() 277 283 278 print *, "xios_context_finalize(surface)"284 ! print *, "xios_context_finalize(surface)" 279 285 280 286 CALL xios_get_handle("atmosphere",ctx_hdl) … … 284 290 CALL xios_context_finalize() 285 291 286 print *, "xios_context_finalize(atmosphere)"292 ! print *, "xios_context_finalize(atmosphere)" 287 293 288 294 DEALLOCATE(lon, lat, field_A_atm, lonvalue) … … 295 301 CALL xios_finalize() 296 302 297 print *, "xios_finalize" 303 print *, "Client : xios_finalize " 304 305 else 306 CALL xios_init_server 307 308 print *, "Server : xios_finalize " 309 endif 298 310 299 311 CALL MPI_FINALIZE(ierr)
Note: See TracChangeset
for help on using the changeset viewer.