source:
issm/oecreview/Archive/19101-20495/ISSM-20149-20150.diff@
20498
Last change on this file since 20498 was 20498, checked in by , 9 years ago | |
---|---|
File size: 957 bytes |
-
../trunk-jpl/src/c/toolkits/mpi/issmmpi.cpp
493 493 ensureContiguousLocations(aSize); 494 494 #endif 495 495 }/*}}}*/ 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 variants507 comm);508 # else509 rc=MPI_Send(buf,510 count,511 datatype,512 dest,513 tag,514 comm);515 # endif516 #else517 // nothing to be done here518 #endif519 return rc;520 }/*}}}*/521 496 int ISSM_MPI_Comm_split(ISSM_MPI_Comm comm, int color, int key, ISSM_MPI_Comm *newcomm){ /*{{{*/ 522 497 523 498 int rc=0;
Note:
See TracBrowser
for help on using the repository browser.