Changeset 2591
- Timestamp:
- 10/10/23 11:19:32 (15 months ago)
- Location:
- XIOS3/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/client.cpp
r2589 r2591 167 167 CXios::setXiosComm(xiosGlobalComm) ; 168 168 } 169 170 xios::MPI_Comm_free( &interComm ); 171 xios::MPI_Comm_free( &splitComm ); 169 172 } 170 173 else … … 510 513 void CClient::finalize(void) 511 514 { 512 513 515 MPI_Barrier(clientsComm_) ; 514 516 int commRank ; -
XIOS3/trunk/src/server.cpp
r2589 r2591 152 152 xios::MPI_Intercomm_merge(interComm,false,&xiosGlobalComm) ; 153 153 CXios::setXiosComm(xiosGlobalComm) ; 154 155 xios::MPI_Comm_free( &interComm ); 156 xios::MPI_Comm_free( &splitComm ); 154 157 } 155 158 else -
XIOS3/trunk/src/test/generic_testcase.f90
r2541 r2591 780 780 CALL wait_us(int(10*1.e6)) ! micro-secondes 781 781 CALL xios_context_finalize() 782 CALL MPI_COMM_FREE(comm, ierr) 782 ! comm is allocated by XIOS, it will be released by XIOS (garbage collector) 783 !CALL MPI_COMM_FREE(comm, ierr) 783 784 784 785 END SUBROUTINE model
Note: See TracChangeset
for help on using the changeset viewer.