Ignore:
Timestamp:
10/17/19 17:22:04 (5 years ago)
Author:
yushan
Message:

Generic_testcase: remove _openmpi _intelmpi flags. EP library is no longer sensitive to the underlying MPI library. Tested on Irene with generic_testcase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/extern/src_ep_dev/ep_probe.cpp

    r1646 r1746  
    2424    ::MPI_Message mpi_message; 
    2525 
    26     #ifdef _openmpi 
    27     #pragma omp critical (_mpi_call) 
     26    //#ifdef _openmpi 
     27    ::MPI_Improbe(src<0? MPI_ANY_SOURCE : src, tag<0? MPI_ANY_TAG: tag, to_mpi_comm(comm->mpi_comm), flag, &mpi_message, &mpi_status); 
     28    /*#pragma omp critical (_mpi_call) 
    2829    { 
    2930      ::MPI_Iprobe(src<0? MPI_ANY_SOURCE : src, tag<0? MPI_ANY_TAG: tag, to_mpi_comm(comm->mpi_comm), flag, &mpi_status); 
     
    3233        ::MPI_Mprobe(src<0? MPI_ANY_SOURCE : src, tag<0? MPI_ANY_TAG: tag, to_mpi_comm(comm->mpi_comm), &mpi_message, &mpi_status); 
    3334      } 
    34     } 
    35     #elif _intelmpi 
    36     ::MPI_Improbe(src<0? MPI_ANY_SOURCE : src, tag<0? MPI_ANY_TAG: tag, to_mpi_comm(comm->mpi_comm), flag, &mpi_message, &mpi_status); 
    37     #endif 
     35    }*/ 
     36    //#elif _intelmpi 
     37    //::MPI_Improbe(src<0? MPI_ANY_SOURCE : src, tag<0? MPI_ANY_TAG: tag, to_mpi_comm(comm->mpi_comm), flag, &mpi_message, &mpi_status); 
     38    //#endif 
    3839       
    3940    status->mpi_status = new ::MPI_Status(mpi_status); 
Note: See TracChangeset for help on using the changeset viewer.