Ignore:
Timestamp:
02/04/21 20:35:15 (3 years ago)
Author:
aclsce
Message:

Commented mpi_comm_free as it was done on branch 2.5 to avoid potential deadlocks.

File:
1 edited

Legend:

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

    r1639 r2029  
    407407 
    408408      for (std::list<MPI_Comm>::iterator it = contextInterComms.begin(); it != contextInterComms.end(); it++) 
    409         MPI_Comm_free(&(*it)); 
     409        /* MPI_Comm_free(&(*it)) */; // WARNING remove freeing communicator !! --> deadlock raised, to be checked 
    410410 
    411411      for (std::list<MPI_Comm>::iterator it = contextIntraComms.begin(); it != contextIntraComms.end(); it++) 
     
    419419 
    420420        for (std::list<MPI_Comm>::iterator it = interCommRight.begin(); it != interCommRight.end(); it++) 
    421           MPI_Comm_free(&(*it)); 
     421          /* MPI_Comm_free(&(*it)) */ ; // WARNING remove freeing communicator !! --> deadlock raised, to be checked 
    422422 
    423423      MPI_Comm_free(&intraComm); 
     
    484484                MPI_Send(&msg,1,MPI_INT,0,0,*itr) ; 
    485485              } 
    486               MPI_Comm_free(&(*it)); 
     486              /* MPI_Comm_free(&(*it)); */ // WARNING remove freeing communicator !! --> deadlock raised, to be checked 
    487487              interCommLeft.erase(it) ; 
    488488              break ; 
Note: See TracChangeset for help on using the changeset viewer.