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
  • io:osc:send    scheme
  • my_osc_send    xtlang
  • nnsock_set_send_timeout    xtlang
  • osc_send_one_double    xtlang
  • osc_send_two_double    xtlang
  • pm_send    xtlang
  • receive_incoming_walkers    xtlang
  • rtmidi_send    xtlang
  • send-fluid-column-osc    xtlang
  • send-fluid-first-column-osc    xtlang
  • send-fluid-first-row-osc    xtlang
  • send-fluid-last-row-osc    xtlang
  • send-fluid-row-osc    xtlang
  • send-midi-cc    scheme
  • send-skel    scheme
  • send-skeleton-osc    xtlang
  • send_process_message    xtlang
  • send_request    xtlang
  • send_response    xtlang
  • send_response    xtlang
  • send_survey    xtlang
  • sender    xtlang
  • sender    xtlang