The PVMmake config file can be created with an ordinary text editor. Thus PVMmake can be used in parallel applications development by those users who do not have access to the X Window System. The syntax of commands in the PVMmake config file is quite simple and is best illustrated by an example. An example config file, mw.pvmmake , is contained in the nist_pade/examples subdirectory. This file was written by PADE and comes from the manager/worker example.
The config file contains three types of items: 1) comments, 2) file transfer command, and 3) commands to be issued to remote hosts.
Lines beginning with the # character are comments.
The syntax for the PVMmake file-transfer command consists of two elements. These elements are
Formally, the syntax is defined by:
file_name_on_local_host remote_host_1 filename_on_remote_host_1 remote_host_2 filename_on_remote_host_2 ... ... remote_host_N filename_on_remote_host_N <BLANK LINE>
Note that local-host refers to the computer on which the pvmmake binary was launched; remote-host refers to any node of the virtual machine.
The syntax for telling PVMmake to issue a command on a remote host has the following form:
@ remote_host command_1; command_2;...command_N [+errors]The first character on the line must be the @ symbol. This is followed by the name of the host on which the command(s) are to be issued which is, in turn, followed by one or more commands separated by semicolons. An optional argument +errors is used to tell PVMmake to send any output generated by the commands issued back to the host on which the pvmmake binary was launched.