source: issm/oecreview/Archive/19101-20495/ISSM-20149-20150.diff@ 20498

Last change on this file since 20498 was 20498, checked in by Mathieu Morlighem, 9 years ago

CHG: done with Archive/19101-20495

File size: 957 bytes
  • ../trunk-jpl/src/c/toolkits/mpi/issmmpi.cpp

     
    493493  ensureContiguousLocations(aSize);
    494494#endif
    495495}/*}}}*/
    496 int ISSM_MPI_Send(void *buf, int count, ISSM_MPI_Datatype datatype, int dest, int tag, ISSM_MPI_Comm comm){ /*{{{*/
    497 
    498   int rc=0;
    499 #ifdef _HAVE_MPI_
    500 # ifdef _HAVE_AMPI_
    501   rc=AMPI_Send(buf,
    502                count,
    503                datatype,
    504                dest,
    505                tag,
    506                AMPI_TO_RECV, // as long as there are no other variants
    507                comm);
    508 # else
    509   rc=MPI_Send(buf,
    510               count,
    511               datatype,
    512               dest,
    513               tag,
    514               comm);
    515 # endif
    516 #else
    517 // nothing to be done here
    518 #endif
    519   return rc;
    520 }/*}}}*/
    521496int ISSM_MPI_Comm_split(ISSM_MPI_Comm comm, int color, int key, ISSM_MPI_Comm *newcomm){ /*{{{*/
    522497
    523498int rc=0;
Note: See TracBrowser for help on using the repository browser.