8.0 Running a Legion application

The mechanics of running a Legion application will, of course, vary widely from one application to another. Generally, however, you will want to compile, register, and run individual applications with commands written specifically for that purpose. For example, MPI applications use the legion_mpi_register and legion_mpi_run commands, and PVM applications use the legion_pvm_register command. Some commands may require you to select a group of hosts that the application should use before running the application, others may just ask how many hosts should be used.

You can arrange parts of your context space around the needs of specific applications or to organize certain resources (a sub-context of names of hosts that can be used for a specific MPI application, for instance).

You can view the output of a program with tty objects (special Legion objects that monitor and direct output from a shell's processes: see See About Legion tty objects ). These objects send output to a specific file or a specific window.

Information about Legion's MPI and PVM libraries start on See PVM and See MPI , respectively. See the Legion Developer Manual for information about Legion's Basic Fortran Support ( See Fortran ).