Using AMVI


To use the AMVI code, you must have the vipl.h and vipl.lib files provided by your HW vender.

Step-By-Step Instructions

  1. Download and Unzip the Source Code (amsource.zip)
Assuming the source code is in directory AM_dir
  1. Set library path to include AM_dir/Debug/ and vipl.lib
  2. Set include path to include AM_dir and vipl.h
  3. Run nmake on:
    1. AM_dir/amlib.mak
    2. AM_dir/amtest/amtest.mak
    3. AM_dir/ns_server/ns_server.mak
  4. To start the name service, run AM_dir/ns_server/Debug/ns_server.exe
  5. To test the setup, run AM_dir/amtest/Debug/amtest.exe on both the server
    and the client. A description of amtest is given below.
  6. Press <RETURN> to kill any of these processes.
Description of AMTest
AMTest is a 5 test suite that verifies that AMVI is up and running. The 4 tests are given in the following table, along with a brief description of each.

AMVI Tests
Test Usage Description
round_trip standard* Sends messages without data.
round_trip_i standard* <buffer size> Sends messages with data.
Size of data determined by input parameter.
round_trip_xfer standard* <buffer size> Sends messages with data using xfers.
Size of data determined by input parameter.
vi_round_trip standard* <remote addr> <buffer size> Send messages using VI without AM.
standard* is amtest <testname> <name service node> <server|client> <number of iterations>

Back to Main Page
Website created by: Ted Bonkenburg ( tb@cs.cornell.edu ) and Vicky Weissman ( vickyw@cs.cornell.edu )