Changeset 1077 for XIOS/dev/dev_olga/src/node/context.cpp
- Timestamp:
- 03/17/17 15:05:36 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/node/context.cpp
r1071 r1077 460 460 if (server->intraCommRank==0) CXios::globalRegistry->mergeRegistry(*registryOut) ; 461 461 } 462 463 // for (std::list<MPI_Comm>::iterator it = comms.begin(); it != comms.end(); ++it)464 // MPI_Comm_free(&(*it));465 // comms.clear();466 467 462 } 468 463 } 464 469 465 //! Free internally allocated communicators 470 466 void CContext::freeComms(void) … … 562 558 void CContext::closeDefinition(void) 563 559 { 564 // There is nothing client need to send to server565 // if (hasClient)566 // if (hasClient && !hasServer)567 // if (hasClient)568 // {569 // // After xml is parsed, there are some more works with post processing570 // postProcessing();571 // }572 573 // setClientServerBuffer();574 575 // // if (hasClient && !hasServer)576 // if (hasClient)577 // {578 // // Send all attributes of current context to server579 // this->sendAllAttributesToServer();580 581 // // Send all attributes of current calendar582 // CCalendarWrapper::get(CCalendarWrapper::GetDefName())->sendAllAttributesToServer();583 584 // // We have enough information to send to server585 // // First of all, send all enabled files586 // sendEnabledFiles();587 588 // // Then, send all enabled fields589 // sendEnabledFields();590 591 // // At last, we have all info of domain and axis, then send them592 // sendRefDomainsAxis();593 594 // // After that, send all grid (if any)595 // sendRefGrid();596 597 // // // We have a xml tree on the server side and now, it should be also processed598 // sendPostProcessing();599 // }600 601 602 // Now tell server that it can process all messages from client603 // if (hasClient) this->sendCloseDefinition();604 560 postProcessingGlobalAttributes(); 605 561 … … 611 567 if (hasClient && !hasServer) 612 568 { 613 // this->buildFilterGraphOfEnabledFields(); // references are resolved here (access xml file)614 569 buildFilterGraphOfFieldsWithReadAccess(); 615 // this->solveAllRefOfEnabledFields(true);616 570 } 617 571 … … 619 573 this->processGridEnabledFields(); 620 574 if (hasClient) this->sendProcessingGridOfEnabledFields(); 621 // if (hasClient) // We have a xml tree on the server side and now, it should be also processed 622 // sendPostProcessing(); 623 // // Now tell server that it can process all messages from client 624 //// if (hasClient && !hasServer) this->sendCloseDefinition(); 625 if (hasClient) this->sendCloseDefinition(); 575 if (hasClient) this->sendCloseDefinition(); 626 576 627 577 // Nettoyage de l'arborescence 628 // if (hasClient && !hasServer) CleanTree(); // Only on client side??629 578 if (hasClient) CleanTree(); // Only on client side?? 630 579
Note: See TracChangeset
for help on using the changeset viewer.