Go backward to 3 Programming interface Go up to Top Go forward to References |
![]() |
When InitializeD[...] is called, the Mathematica kernel starts the Java scheduler dist.Scheduler and establishes a permanent connection to this process. The scheduler starts Java schedulers on the requested machines, each of them starting a Mathematica kernel. The information about how to do these on each machine is read by the scheduler from the file dist.systems which contains a list of entries of the following form, separated by empty lines:
key starter scheduler command speed minload maxload
The fields have the following interpretation:
java dist.Scheduler
with some -classpath option.
math -runfirst 'dist`isClient=True' -initfile "~/ipau/distsoftware/distmath/dist.m" -batchoutput
The configuration file must contain an entry whose key is localhost. In this entry only the fields scheduler and command are of relevance; they are used for the creation of additional kernels on the local host.
Below there are some sample entries of dist.systems:
localhost dummy dummy math -runfirst 'dist`isClient=True' -initfile "/home/ipau/ distsoftware/distmath/dist.m" -batchoutput 14 1 0 octane rsh java -native -classpath /usr/java/lib/dev.jar:/usr/java/lib/i18n.jar: /usr/java/lib/rt.jar:/home/ipau/distsoftware/distmath dist.Scheduler math -runfirst Set[dist`isClient,True] -initfile "/home/ipau/ distsoftware/distmath/dist.m" -batchoutput 14 1 0