Changeset 1164 for XIOS/dev/branch_yushan_merged/src
- Timestamp:
- 06/08/17 17:31:50 (7 years ago)
- Location:
- XIOS/dev/branch_yushan_merged/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan_merged/src/client.cpp
r1160 r1164 28 28 StdOFStream CClient::m_errorStream; 29 29 30 StdOFStream CClient::array_infoStream[1 0];30 StdOFStream CClient::array_infoStream[16]; 31 31 32 32 void CClient::initialize(const string& codeId, MPI_Comm& localComm, MPI_Comm& returnComm) -
XIOS/dev/branch_yushan_merged/src/client.hpp
r1160 r1164 58 58 #pragma omp threadprivate(m_errorStream) 59 59 60 static StdOFStream array_infoStream[1 0];60 static StdOFStream array_infoStream[16]; 61 61 62 62 static void openStream(const StdString& fileName, const StdString& ext, std::filebuf* fb); -
XIOS/dev/branch_yushan_merged/src/client_client_dht_template_impl.hpp
r1134 r1164 710 710 std::vector<ep_lib::MPI_Status> requestStatus(sendBuffSize+recvBuffSize); 711 711 712 int my_rank; 713 MPI_Comm_rank(this->internalComm_, &my_rank); 714 712 715 int nRequest = 0; 713 716 for (int idx = 0; idx < recvBuffSize; ++idx) … … 715 718 MPI_Irecv(&recvBuff[0]+2*idx, 2, MPI_INT, 716 719 recvRank[idx], MPI_DHT_INDEX_0, this->internalComm_, &request[nRequest]); 720 printf("proc %d recv from proc %d with tag %d\n", my_rank, recvRank[idx], MPI_DHT_INDEX_0); 717 721 ++nRequest; 718 722 } … … 724 728 sendBuff[idx*2+1] = sendNbElements[offSet]; 725 729 } 730 731 726 732 727 733 for (int idx = 0; idx < sendBuffSize; ++idx) … … 729 735 MPI_Isend(&sendBuff[idx*2], 2, MPI_INT, 730 736 sendRank[idx], MPI_DHT_INDEX_0, this->internalComm_, &request[nRequest]); 737 printf("proc %d send to proc %d with tag %d\n", my_rank, sendRank[idx], MPI_DHT_INDEX_0); 731 738 ++nRequest; 732 739 } -
XIOS/dev/branch_yushan_merged/src/log.cpp
r1160 r1164 7 7 { 8 8 9 std::filebuf* info_FB[1 0];9 std::filebuf* info_FB[16]; 10 10 11 11 -
XIOS/dev/branch_yushan_merged/src/log.hpp
r1160 r1164 19 19 { 20 20 omp_init_lock( &mutex ); 21 for(int i=0; i<1 0; i++)21 for(int i=0; i<16; i++) 22 22 strBuf_array[i] = sBuff; 23 23 } … … 61 61 string name ; 62 62 std::streambuf* strBuf_; 63 std::streambuf* strBuf_array[1 0];63 std::streambuf* strBuf_array[16]; 64 64 omp_lock_t mutex; 65 65 }; … … 70 70 71 71 72 extern std::filebuf* info_FB[1 0];72 extern std::filebuf* info_FB[16]; 73 73 74 74 -
XIOS/dev/branch_yushan_merged/src/node/field.cpp
r1160 r1164 715 715 if (context->hasClient) 716 716 { 717 //MPI_Barrier(context->client->intraComm);718 //printf("Proc %d enters function\n", myRank);719 717 solveTransformedGrid(); 720 //MPI_Barrier(context->client->intraComm);721 //printf("Proc %d exits function\n", myRank);722 718 } 723 719
Note: See TracChangeset
for help on using the changeset viewer.