Changeset 1354 for XIOS/dev/branch_openmp/extern/src_ep_dev/ep_bcast.cpp
- Timestamp:
- 12/04/17 17:12:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/extern/src_ep_dev/ep_bcast.cpp
r1295 r1354 31 31 } 32 32 33 // #pragma omp flush34 33 MPI_Barrier_local(comm); 35 // #pragma omp flush36 34 37 35 if(ep_rank_loc != local_root) … … 50 48 { 51 49 #pragma omp single nowait 52 ::MPI_Bcast(buffer, count, static_cast< ::MPI_Datatype>(datatype), root, static_cast< ::MPI_Comm>(comm.mpi_comm));50 ::MPI_Bcast(buffer, count, to_mpi_type(datatype), root, to_mpi_comm(comm.mpi_comm)); 53 51 return 0; 54 52 } … … 62 60 int root_ep_rank_loc = comm.rank_map->at(root).first; 63 61 64 // printf("root_mpi_rank = %d\n", root_mpi_rank);65 62 66 63 if((ep_rank_loc==0 && mpi_rank != root_mpi_rank ) || ep_rank == root)
Note: See TracChangeset
for help on using the changeset viewer.