Go to the first, previous, next, last section, table of contents.


Running the test programs

Requirements

Under the `examples' directory, you will find example programs for the FM, MPI, GA, and SHMEM API's. These example programs are helpful to make a simple check that HPVM 1.9 is installed correctly and to show a working reference implementation of the different API's. If you have performed only Compute Node setup, then prebuilt binaries are in the `etc' directory. The prebuilts are provided so that the a cluster setup can be tested without requiring the user to build the example programs

To run any of the examples, the FM runtime must be installed correctly before you can run the example programs.

(Optional) Compiling the Examples

If you have installed the Development Environment, then the example programs have been installed.

In each example subdirectory under a command window use: nmake -f Makefile.NT to compile the examples.

Running the examples

For a given example, say `bw.exe', do the following to run the program without the HPVM front-end and LSF:

In each of two command windows, enter bw 2048 1000 mytest to run a two-process bandwidth test. The first argument is the size of the message to send, the second corresponds to the number of messages to send. Finally, `mytest' is the program key that is used by the programs to locate each other at initialization. You should try running the bandwidth test in two windows on a single machine first, and then do a node-to-node test.

If the programs appear to hang, you should verify that the

  1. The Global Manager is started ( Look at the Services Control Panel Applet,on the machine where this was set up).
  2. The Context Manager is running.
  3. The Network is powered-up and connected.

Expected output

In the first command window, you should see something similar to
D:\HPVM\etc> bw 2048 1000 mytest
FM: Initializing...done
FM: Started Fast Messages on node 0.
Message size  :       2048 bytes
No. messages  :       1000
Avg. bandwidth:      101.5 MB/s

In the second command window, you should see something similar to
D:\HPVM\etc> bw 2048 1000 mytest
FM: Initializing...done
FM: Started Fast Messages on node 1.
bw: Received 1005 messages.

Note that the bandwidth test sends 5 ``warmup'' messages to insure that
the host processors have scheduled the bw program for execution.


Go to the first, previous, next, last section, table of contents.