Changeset 1167
- Timestamp:
- 06/12/17 18:01:26 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/server.cpp
r1158 r1167 219 219 // Create server intraComm 220 220 if (!CXios::usingServer2) 221 { 221 222 MPI_Comm_dup(localComm, &intraComm); 223 MPI_Comm_rank(localComm,&rank_) ; 224 } 222 225 else 223 226 { … … 659 662 int CServer::getRank() 660 663 { 661 return rank_; 664 int rank; 665 MPI_Comm_rank(intraComm,&rank); 666 return rank; 662 667 } 663 668 … … 682 687 ++numDigit; 683 688 } 684 id = getRank();689 id = rank_; //getRank(); 685 690 686 691 fileNameClient << fileName << "_" << std::setfill('0') << std::setw(numDigit) << id << ext;
Note: See TracChangeset
for help on using the changeset viewer.