Building

For other installation options (including multi-node and GPU
configurations), see the
README.

Running

Regent includes a frontend interpreter which can be run with:

./regent.py <script>

For example:

./regent.py examples/circuit.rg

(Note: The Regent frontend can also be run without arguments to obtain
a Terra/LuaJIT
shell. However, this mode is not very useful because of the way that
Terra language extensions works. Also, the Legion runtime is not
currently reentrant, making interactive use difficult.)

Docker

This will start a bash shell from which you can run Regent. Regent is
installed under /usr/local/legion. So for example, to run the
circuit example:

regent /usr/local/legion/language/examples/circuit.rg

Because Docker containers have no access to the host file system, some
additional options are required if you want to run Docker on your own
Regent files. The command below mounts the current directory in the
host as /examples in the container and then runs Regent on it.