legion_cp -localsrc test1_in ./test2_in
- Copy local Unix file “test1_in” to basic file “test2_in” in current Legion context
legion_run -v legion_test2 10
- Note that no input/output flags should be used because files are in Legion space.
- legion_test2 specifies name of Legion class to run.
- 10 specifies an argument to the test2 program — the # of seconds to sleep before exiting.
- Outcome: Basic file test2_in copied to new basic file test2_out — use legion_cat test2_out to view it.