Changeset 2504 for XIOS3/dev/XIOS_ATTACHED/src
- Timestamp:
- 05/23/23 12:11:20 (14 months ago)
- Location:
- XIOS3/dev/XIOS_ATTACHED/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/dev/XIOS_ATTACHED/src/manager/pool_ressource.cpp
r2458 r2504 26 26 } 27 27 28 notifyType_=NOTIFY_NOTHING; 28 29 winNotify_->lockWindow(commRank,0) ; 29 30 winNotify_->updateToWindow(commRank, this, &CPoolRessource::notificationsDumpOut) ; -
XIOS3/dev/XIOS_ATTACHED/src/manager/token_manager.hpp
r2458 r2504 19 19 MPI_Aint size = 0 ; 20 20 if (leader_== commRank) size = sizeof(size_t) ; 21 MPI_Win_create(¤tToken_, size, sizeof(size_t), MPI_INFO_NULL, comm, &winCurrentToken_) ; 22 MPI_Win_create(&retrievedToken_, size, sizeof(size_t), MPI_INFO_NULL, comm, &winRetrievedToken_) ; 21 const MPI_Aint windowSize=sizeof(size_t); 22 MPI_Win_allocate(windowSize, 1, MPI_INFO_NULL, comm, &winBufferCurrent_, &winCurrentToken_) ; 23 MPI_Win_allocate(windowSize, 1, MPI_INFO_NULL, comm, &winBufferRetrieved_, &winRetrievedToken_) ; 23 24 } 24 25 … … 59 60 MPI_Win winCurrentToken_ ; 60 61 MPI_Win winRetrievedToken_ ; 61 62 void* winBufferCurrent_ ; 63 void* winBufferRetrieved_ ; 64 62 65 int leader_ ; 63 66 -
XIOS3/dev/XIOS_ATTACHED/src/node/context.hpp
r2482 r2504 15 15 #include "server_context.hpp" 16 16 #include "event_scheduler.hpp" 17 #include "file.hpp" 17 18 18 19 … … 299 300 void registerFileToWrite(CFile* file) { filesToWrite_.insert(file); } // Add a file that need to be write for example to create headers 300 301 private: 301 std::set<CFile* > filesToWrite_ ;302 std::set<CFile*,FilePtrCompare> filesToWrite_ ; 302 303 303 304 private: -
XIOS3/dev/XIOS_ATTACHED/src/node/file.hpp
r2482 r2504 228 228 ///-------------------------------------------------------------- 229 229 230 struct FilePtrCompare { 231 bool operator() (CFile const *l, CFile const *r) const { 232 return l->getFileOutputName() < r->getFileOutputName(); 233 } 234 }; 230 235 } // namespace xios 231 236
Note: See TracChangeset
for help on using the changeset viewer.