#include <stdlib.h>#include <stdio.h>#include "gm.h"#include "gm_simple_example.h"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.
1.4.4