Cypress CSC-1200T Guia do Utilizador Página 65

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 124
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 64
Chapter 7. Interprocess communication 65
Fortran syntax Meaning
MPI_INIT(rc) Initialize the MPI session.
This should be the very first call.
MPI_FINALIZE(rc) Terminate the MPI session.
This should be the very last call.
MPI_COMM_SIZE(comm, Get the number of processes in comm.
nproc, rc)
MPI_COMM_RANK(comm, Get my task id in comm.
myproc, rc)
MPI_SEND(buf, buflen, Sends data buf to process dest.
datatype, dest,
tag, comm, rc)
MPI_SSEND(buf, buflen, Sends data buf to process dest
datatype, dest, (synchronous send).
tag, comm, rc)
MPI_RECV(buf, buflen, Receives data to buf from src.
datatype, src, tag,
comm, status, rc)
MPI_BCAST(buf, buflen, Broadcast data from root to other
datatype, root, processes in comm.
comm, rc)
MPI_REDUCE(sbuf, rbuf, Performs global operation
buflen, datatype, (sum, max, ...) from sbuf to rbuf.
oper, root, comm, rc)
MPI_ISEND(buf, buflen, Sends data buf to process dest,
datatype, dest, tag, but does not wait for completion
comm, request, rc) (non-blocking send).
MPI_IRECV(buf, buflen, Receives data to buf from src,
datatype, src, tag, but does not wait for completion
comm, request, rc) (non-blocking receive).
MPI_WAIT(request, Checks whether a request has been
status, rc) completed.
Table 7.1: A list of important MPI routines.
Vista de página 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 123 124

Comentários a estes Manuais

Sem comentários