AP_bsend

buffered send

Synopsis

#include "autopack.h"

void AP_bsend(void *buf, int size, int dest, int tag)

SUBROUTINE AP_BSEND(buf, size, dest, tag)
<anytype> buf
INTEGER size, dest, tag

Parameters

buf
the data to send
size
size (in bytes) of data to send
dest
destination rank
tag
message tag

Description

Allocates a send buffer, copies the data to this buffer, and sends it.

Try to avoid using this function because it introduces a potentially unnecessary memory-memory copy.

This function provided mainly for backwards compatibility, and for use within the Fortran interface.