PRM startup scripts and manager programs use two environment variables: PRM_TOP and ARCH. These must be set before starting up PRM programs. PRM_TOP is the top level of the directory hierarchy containing the PRM software and ARCH is the architecture of your host machine. Set PRM_TOP to the name of the top of the PRM directory hierarchy. Set ARCH to the value returned by the arch command. If this command is not available on your system, set ARCH to sun3, sun4 or hp700 on a Sun3, Sparc or HP-7xx host respectively. You may want to initialize PRM_TOP in your .cshrc, .login or .profile files. It is also useful to create an alias for the arch command. For example, C shell users on a Sparcstation can create this alias:
setenv ARCH sun4 alias arch 'printenv ARCH'
To install the software, see Section 4 below. Before running application programs, PRM's manager programs must be started up. A shell script, PRM_startup, is provided for this purpose. PRM_startup need execute only once to initialize the manager programs, that run as servers, executing in an infinite loop. If one of the managers dies due to a machine crash or other reasons, kill PRM using the script PRM_kill and restart it.
Two demo programs are provided in the directory $PRM_TOP/demo, with instructions for running them. See the file demo.doc for instructions on running the demo.
To run your own applications, you need to prepare:
To run an application, invoke the job manager with the name of the job configuration file
jobmngr -j jcfile
The job manager's acquires nodes and initiates tasks on them transparent to the user, to whom the job appears to be executing on his local workstation.