|1. ||What does this command do?||[go]|
|2. ||How can I get the compiled binaries back?||[go]|
|3. ||Can I choose the remote host?||[go]|
|4. ||Can I specify the remote hosts' architecture?||[go]|
|5. ||Some hints to make life easier||[go]|
What does this command do?
Can I get the compiled binaries back?
- This command compiles your program on one or more remote hosts. To be specific, it tars your current directory, copies it to the remote host(s), untars each copy, and executes a make command (if you don't want to run make, you can use the -e flag to specify a different executable command). The command is fully documented here.
Can I choose the remote hosts?
- No. If you need to get the binaries back, you probably would be better off using legion_make.
Can I specify the remote hostss architecture?
- No, not yet. You can choose the remote hosts' architecture, however.
Can I pass arguments to the remote make?
- You can use the -a flag to choose the architecture. If you use the flag multiple times, Legion will run concurrent builds on multiple platforms. If you do not specify an architecture, Legion will look for platforms that match your current architecture (e.g., whatever the $LEGION_ARCH in your current environment is).
I want to register the program with Legion, once it has compiled
- Any arguments should be included in the [<arg1> <arg2> ... <argn>] parameter on the command line.
Some hints to make life easier
- You can do this by editing the directory's makefile.
- This command will tar everything in and below your current directory, so check that you are in the correct directory before you start.