Main Page | Modules | Directories | File List | Globals | Related Pages

gm_simple_example_recv.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include "gm.h"
#include "gm_simple_example.h"

Detailed Description

Simple Send/Recv for GM Author: Max Stern (Myricom) Based on a program by Cam Macdonell - University of Alberta

Syntax: gm_simple_example_recv <sender_nodename> [<local_board_num>]

<sender_nodename> is required. Include the board_num suffix if the sender is using a board_num other than 0; e.g., hosta:1 for board 1 on host "hosta".

The default for <local_board_num> is 0.

Description:

This program, together with gm_simple_example_send, serves as a super- simple example of sending and receiving in GM, using both the basic send (gm_send type) and the directed send (gm_directed_send type) paradigms.

This program, the "receiver" or slave process, takes the following main actions (see commentary in the code below for the "how" details):

See also the Description and the Usage Note in gm_simple_example_send.c.


Generated on Sat May 20 19:20:42 2006 for GM by  doxygen 1.4.4