Testing the Software

Testing the software consists of starting an agent and a server and running a client test (the Section called Agent-Server-Client Test). Alternatively, the default agent and servers running at the University of Tennessee can be used to test the client only (see the Section called Testing the Unix installation in Chapter 3). We describe here the step-by-step procedure that involves manipulations that will be detailed and explained in the following chapters.

Agent-Server-Client Test

  1. Choose a machine to run the agent, server and client (say my.machine.net),

  2. Edit the file ./server_config to replace netsolve.cs.utk.edu by my.machine.net, and save the file.

  3. Then enter the following commands.

UNIX> setenv NETSOLVE_AGENT my.machine.net
uNIX> $NETSOLVE_ROOT/bin/$NETSOLVE_ARCH/NS_agent
UNIX> $NETSOLVE_ROOT/bin/$NETSOLVE_ARCH/NS_server
UNIX> cd $NETSOLVE_ROOT/bin/$NETSOLVE_ARCH
UNIX>Test

While the test suite is running, it prints messages about its execution. This test tests the C, Fortran interfaces, as well as farming and sequencing. See Chapter 6 for details on how to test the Matlab interface. Successful completion of these tests assures you that you have properly installed the NetSolve agent and server.

If an error is encountered during testing, try the following to help resolve the error.