Tutorial:
Starting a remote program with legion_run_multi in Legion

Table of Contents
About this command
Other on-line tutorials & documentation
Click on the to move to the selected text. At some points you will see this symbol: . If you click on it, you will go to the FAQ section relevant to that issue.


Depending on how your system is set up, you may need to set up your access to your system before you can run Legion commands. This will probably involve running a command such as this:
$ . ~legion/setup.sh
     or
$ source ~legion/setup.csh
The exact syntax will depend on what kind of shell you are using and where your Legion files are installed (i.e., the value of ~legion will depend on your individual Legion net). Consult your system administrator for more information.

The following style conventions are used in these tutorials:


About this command legion_run_multi FAQ
Starting a remote program in Legion
The legion_run_multi command starts multiple instances of a program on one or more Legion hosts. It is essentially a script that starts multiple copies of a command on a set of hosts. By default it starts multiple copies of legion_run, and that is its expected purpose, but you can start copies of other Legion commands with with the -e flag.

There is a detailed FAQ about this command, as well as documentation on-line and in the Reference Manual. Rather than repeating information provided elsewhere, this tutorial will go through the steps of starting a fictional program.


Other relevant on-line documents:
Click on the to go to the page.
Logging in to a running Legion system
Introduction to Legion context space
Context-related commands
Legion tty objects
Running a PVM code in Legion
Running a Legion MPI code
Running native MPI code
Quick list of all 1.7 Legion commands
Usage of all 1.7 Legion commands
FAQs for running programs in Legion
Starting a new Legion system
Legion security
Legion host and vault objects
Adding host and vault objects
Brief descriptions of all on-line tutorials

Last modified: Fri Aug 18 12:30:01 2000

 

[Home] [General] [Documentation] [Software]
[Testbeds] [Et Cetera] [Map/Search]

legion@Virginia.edu
http://legion.virginia.edu/