send_outgoing_walkers   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm

Implementation

(bind-func send_outgoing_walkers
  (lambda (outgoing_walkers:WalkerArray* world_rank:i32 world_size:i32)
    ;; Send the data as an array of MPI_BYTEs to the next process.
    ;; The last process sends to process zero.
    (MPI_Send (convert (tref outgoing_walkers 1) i8*)
              (* (tref outgoing_walkers 0) 8) ;; sizeof(Walker) = 8?? (if packed)
              MPI_BYTE (% (+ world_rank 1) world_size) 0 MPI_COMM_WORLD)
    ;; Clear the outgoing walkers list
    (clear_walker_array outgoing_walkers)))


Back to Index

Similar Entries

  • initialize_walkers    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • io:osc:send    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • my_osc_send    xtlang    /digego/extempore/tree/v0.8.9/examples/core/osc_101.xtm
  • nnsock_set_send_timeout    xtlang    /digego/extempore/tree/v0.8.9/libs/external/nanomsg.xtm
  • osc_send_one_double    xtlang    /digego/extempore/tree/v0.8.9/libs/core/topclock.xtm
  • osc_send_two_double    xtlang    /digego/extempore/tree/v0.8.9/libs/core/topclock.xtm
  • pm_send    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • receive_incoming_walkers    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • rtmidi_send    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/rtmidi.xtm
  • send-fluid-column-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-fluid-first-column-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-fluid-first-row-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-fluid-last-row-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-fluid-row-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-midi-cc    scheme    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • send-skel    scheme    /digego/extempore/tree/v0.8.9/examples/contrib/kinect_fire.xtm
  • send-skeleton-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/kinect.xtm
  • send_process_message    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • send_request    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg-request.xtm
  • send_response    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg-reply.xtm
  • send_response    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg-respondent.xtm
  • send_survey    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg-surveyor.xtm
  • sender    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm
  • sender    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm