Ignore:
Timestamp:
09/01/15 17:15:42 (9 years ago)
Author:
rlacroix
Message:

Rephrase some error messages so that they are clearer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/server.cpp

    r655 r680  
    370370     } 
    371371 
    372  
    373  
    374372     void CServer::registerContext(void* buff, int count, int leaderRank) 
    375373     { 
     
    378376       buffer >> contextId; 
    379377 
    380        info(20)<<"CServer : Register new Context : "<<contextId<<endl; 
    381  
    382        if (contextList.find(contextId)!=contextList.end()) 
    383         ERROR("void CServer::registerContext(void* buff,int count, int leaderRank)", 
    384               << "Context has already been registred"); 
     378       info(20) << "CServer : Register new Context : " << contextId << endl; 
     379 
     380       if (contextList.find(contextId) != contextList.end()) 
     381         ERROR("void CServer::registerContext(void* buff, int count, int leaderRank)", 
     382               << "Context '" << contextId << "' has already been registred"); 
    385383 
    386384       MPI_Comm contextIntercomm; 
     
    398396       MPI_Comm_free(&inter); 
    399397     } 
    400  
    401398 
    402399     void CServer::contextEventLoop(void) 
Note: See TracChangeset for help on using the changeset viewer.