Changeset 2613 for XIOS3/trunk/src/manager/contexts_manager.cpp
- Timestamp:
- 03/08/24 17:05:40 (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/manager/contexts_manager.cpp
r2580 r2613 237 237 if (comm!=MPI_COMM_NULL) 238 238 { 239 MPI_Bcast(&ret,1,MPI_INT,0,comm) ; 239 int cast_ret = 0; 240 if (commRank==0) cast_ret = ret; 241 MPI_Bcast(&cast_ret,1,MPI_INT,0,comm) ; 242 ret = cast_ret; 240 243 if (ret) 241 244 {
Note: See TracChangeset
for help on using the changeset viewer.