Ignore:
Timestamp:
01/23/19 10:31:44 (5 years ago)
Author:
yushan
Message:

dev on ADA. add flag switch _usingEP/_usingMPI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/extern/src_ep_dev/ep_reduce_scatter.cpp

    r1539 r1642  
    6161 
    6262    int my_recvcount = recvcounts[ep_rank]; 
    63     MPI_Gather_local(&my_recvcount, 1, MPI_INT, local_recvcounts.data(), 0, comm); 
    64     MPI_Bcast_local(local_recvcounts.data(), num_ep, MPI_INT, 0, comm); 
     63    MPI_Gather_local(&my_recvcount, 1, EP_INT, local_recvcounts.data(), 0, comm); 
     64    MPI_Bcast_local(local_recvcounts.data(), num_ep, EP_INT, 0, comm); 
    6565 
    6666    int my_displs = std::accumulate(recvcounts, recvcounts+ep_rank, 0); 
    67     MPI_Gather_local(&my_displs, 1, MPI_INT, local_displs.data(), 0, comm); 
    68     MPI_Bcast_local(local_displs.data(), num_ep, MPI_INT, 0, comm); 
     67    MPI_Gather_local(&my_displs, 1, EP_INT, local_displs.data(), 0, comm); 
     68    MPI_Bcast_local(local_displs.data(), num_ep, EP_INT, 0, comm); 
    6969 
    7070     
Note: See TracChangeset for help on using the changeset viewer.