There are also situations in which one wishes to add new slaves during a currently running session (for advanced users, only). This is made possible for homogeneous architectures by invoking the loader. This was written jointly by Gene Cooperman and Victor Grinberg.
The `.../top-c/loader/config.h' file should be modified with the network address of the running job: MASTERNAME and MASTERPORT (and currently change them in C files or use command line args) Other parameters can be left as default. One then recompiles:
(cd .../top-c/loader; make; cd .../top-c; make APPLICATION)
For an example APPLICATION type: make parfactor-loader
Finally, one runs the application:
./a.out -masterport PORTNUMBER
and on a remote processor of the same architecture, one can download the binary, `.../top-c/loader', and execute:
./loader -p PORTNUMBER
The loader application will continue to run until killed, so that the machine will continue to act as a CPU server for further jobs.
PORTNUMBER will default to MASTERPORT. The provision for adding PORTNUMBER to the command line is provided only in case the default port is in use.
Go to the first, previous, next, last section, table of contents.