- Timestamp:
- 03/09/17 18:13:51 (7 years ago)
- Location:
- XIOS/dev/branch_yushan
- Files:
-
- 3 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/extern/src_ep_dev/ep_create.cpp
r1060 r1069 103 103 } 104 104 105 printf("ep_lib::MPI_Comm_create_endpoints() OK from int\n");105 // printf("ep_lib::MPI_Comm_create_endpoints() OK from int\n"); 106 106 107 107 return 0; … … 273 273 } 274 274 275 printf("ep_lib::MPI_Comm_create_endpoints() OK from MPI_Comm\n");275 // printf("ep_lib::MPI_Comm_create_endpoints() OK from MPI_Comm\n"); 276 276 277 277 return 0; -
XIOS/dev/branch_yushan/extern/src_ep_dev/ep_fortran.cpp
r1068 r1069 25 25 { 26 26 fc_comm_map.insert(std::make_pair( std::make_pair( fint, omp_get_thread_num()) , comm)); 27 printf("EP_Comm_c2f : MAP insert: %d, %d, %p\n", fint, omp_get_thread_num(), &comm);27 // printf("EP_Comm_c2f : MAP insert: %d, %d, %p\n", fint, omp_get_thread_num(), &comm); 28 28 } 29 29 … … 45 45 MPI_Comm comm_ptr; 46 46 comm_ptr = it->second; 47 printf("EP_Comm_f2c : MAP find: %d, %d, %p\n", it->first.first, it->first.second, it->second);47 // printf("EP_Comm_f2c : MAP find: %d, %d, %p\n", it->first.first, it->first.second, it->second); 48 48 return comm_ptr; 49 49 } -
XIOS/dev/branch_yushan/src/cxios.cpp
r1068 r1069 87 87 globalComm = passage[omp_get_thread_num()]; 88 88 89 int tmp_size;90 MPI_Comm_size(globalComm, &tmp_size);91 if(isClient) printf("Client : globalcomm size = %d\n", tmp_size);92 if(isServer) printf("Server : globalcomm size = %d\n", tmp_size);89 // int tmp_size; 90 // MPI_Comm_size(globalComm, &tmp_size); 91 // if(isClient) printf("Client : globalcomm size = %d\n", tmp_size); 92 // if(isServer) printf("Server : globalcomm size = %d\n", tmp_size); 93 93 94 94 … … 199 199 CServer::eventLoop(); 200 200 201 printf("server start finalize \n");202 203 201 // Finalize 204 202 if (CServer::getRank()==0) … … 209 207 } 210 208 211 printf("server globalRegistry OK\n");212 209 213 210 CServer::finalize(); 214 215 printf("server finalize OK\n"); 216 211 217 212 CServer::closeInfoStream(); 218 213 } -
XIOS/dev/branch_yushan/src/interface/c/icdata.cpp
r1068 r1069 132 132 CTimer::get("XIOS context finalize").resume(); 133 133 134 135 136 134 CContext* context = CContext::getCurrent(); 137 135 context->finalize(); 138 139 printf("client context_finalize OK\n"); 140 136 141 137 CTimer::get("XIOS context finalize").suspend(); 142 138 CTimer::get("XIOS").suspend(); -
XIOS/dev/branch_yushan/src/interface/fortran/idata.F90
r1053 r1069 473 473 474 474 CALL cxios_init_client(client_id,LEN(client_id),f_local_comm,f_return_comm) 475 476 477 !print*, "in fortran, world_f = ", MPI_COMM_WORLD478 479 print*, "in fortran, f_return_comm = ", f_return_comm480 475 481 476 IF (PRESENT(return_comm)) return_comm=f_return_comm -
XIOS/dev/branch_yushan/src/io/onetcdf4.cpp
r1068 r1069 65 65 { 66 66 CNetCdfInterface::create(filename, mode, this->ncidp); 67 printf("creating file with create\n");67 // printf("creating file with create\n"); 68 68 } 69 69 … … 84 84 { 85 85 CNetCdfInterface::open(filename, mode, this->ncidp); 86 printf("opening file with open\n");86 // printf("opening file with open\n"); 87 87 } 88 88 -
XIOS/dev/branch_yushan/src/server.cpp
r1067 r1069 101 101 MPI_Intercomm_create(intraComm,0,CXios::globalComm,clientLeader,0,&newComm) ; 102 102 interComm.push_back(newComm) ; 103 printf("after inter create, interComm.size = %lu\n", interComm.size());104 103 } 105 104 } -
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) -
XIOS/dev/branch_yushan/src/transformation/axis_algorithm_inverse.cpp
r1053 r1069 211 211 212 212 status.resize(requests.size()); 213 //printf("(%d) src/transformation/axis_algorithm_inverse 1st waitall\n", clientRank);214 213 MPI_Waitall(requests.size(), &requests[0], &status[0]); 215 //printf("(%d) src/transformation/axis_algorithm_inverse 1st waitall OK\n", clientRank);216 214 217 215 std::vector<ep_lib::MPI_Request>().swap(requests); … … 246 244 } 247 245 status.resize(requests.size()); 248 //printf("(%d) src/transformation/axis_algorithm_inverse 2nd waitall\n", clientRank);249 250 246 MPI_Waitall(requests.size(), &requests[0], &status[0]); 251 //printf("(%d) src/transformation/axis_algorithm_inverse 2nd waitall OK\n", clientRank); 247 252 248 253 249 size_t nGloAxisDest = axisDest_->n_glo.getValue() - 1;
Note: See TracChangeset
for help on using the changeset viewer.