Ignore:
Timestamp:
05/15/19 17:19:08 (5 years ago)
Author:
yushan
Message:

MARK: branch merged with trunk @1660. Test (test_complete, test_remap) on ADA with IntelMPI and _usingEP/_usingMPI as switch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/extern/remap/src/mpi_routing.cpp

    r1646 r1661  
    153153        for (int i = 0; i < nbSource; i++) 
    154154        { 
     155                #ifdef _usingEP 
    155156                MPI_Irecv(&sourceRank[i], 1, MPI_INT, -2, 0, communicator, &request[indexRequest++]); 
     157                #endif 
     158                 
     159                #ifdef _usingMPI 
     160                MPI_Irecv(&sourceRank[i], 1, MPI_INT, MPI_ANY_SOURCE, 0, communicator, &request[indexRequest++]); 
     161                #endif 
    156162        } 
    157163        MPI_Barrier(communicator); 
     
    171177        for (int i = 0; i < nbSource; i++) 
    172178        { 
     179#ifdef _usingEP 
    173180                MPI_Irecv(&sourceRank[i], 1, MPI_INT, -2, 0, communicator, &request[indexRequest]); 
     181#endif 
     182#ifdef _usingMPI 
     183                MPI_Irecv(&sourceRank[i], 1, MPI_INT, MPI_ANY_SOURCE, 0, communicator, &request[indexRequest]); 
     184#endif 
    174185                indexRequest++; 
    175186        } 
Note: See TracChangeset for help on using the changeset viewer.