Of course this requires that you have access to a NetSolve agent and server running somewhere. You can start your own or use the agent at netsolve.cs.utk.edu. In any case don't forget to set your NetSolve environment variables.
Additional examples are available in $NETSOLVE_ROOT/src/GridRPC. To build these example programs:
UNIX> make tests
Some of these tests rely on software that may not be enabled in your server, so if you encounter problems, check the file $NETSOLVE_ROOT/server_config to verify that the problem description file containing the required problem is enabled.