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_gatherv.cpp

    r1539 r1642  
    8787    } 
    8888 
    89     MPI_Bcast(recvcounts, ep_size, MPI_INT, root, comm); 
    90     MPI_Bcast(displs, ep_size, MPI_INT, root, comm); 
     89    MPI_Bcast(recvcounts, ep_size, EP_INT, root, comm); 
     90    MPI_Bcast(displs, ep_size, EP_INT, root, comm); 
    9191 
    92     if(mpi_rank == root_mpi_rank) MPI_Gather_local(&sendcount, 1, MPI_INT, local_recvcounts.data(), root_ep_loc, comm); 
    93     else                          MPI_Gather_local(&sendcount, 1, MPI_INT, local_recvcounts.data(), 0, comm); 
     92    if(mpi_rank == root_mpi_rank) MPI_Gather_local(&sendcount, 1, EP_INT, local_recvcounts.data(), root_ep_loc, comm); 
     93    else                          MPI_Gather_local(&sendcount, 1, EP_INT, local_recvcounts.data(), 0, comm); 
    9494 
    9595 
Note: See TracChangeset for help on using the changeset viewer.