Legion 1.4
Basic User Manual


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 About Legion tty objects) to send output to a specific file or a specific window, so that they can view multiple outputs simultaneously.

Information about Legion's MPI and PVM libraries can be found in PVM and MPI. Information about Legion's Basic Fortran Support can be found in the Legion Developer Manual.


Back to Basic User Manual Table of Contents