next up previous
Next: Installation Up: Prospero Resource Manager Previous: Version 1.0

Getting Started

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:

  1. executable files for the tasks (Section 6).
  2. a job-configuration file (Section 7).

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.

next up previous
Next: Installation Up: Prospero Resource Manager Previous: Version 1.0

Santosh Rao
Tue Feb 13 13:59:23 PST 1996