next up previous contents
Next: Types Up: Basics Previous: Initializing and closing   Contents


dicerc file

Once started, the program parses arguments, and then tries to read a file named dicerc. This file is searched in the following directories, in this order:

This file should contain a list of the computers that should run a copy of the program. The format of each entry is the following:

[machine name or IP] [path of program] [special function name]
Where:

Fields are separated by any number of spaces or tabs. Each line must contain only one entry. Blank lines or lines starting with # are ignored. You may ignore either the two last or just the last field. The same computer may appear many times in the list, and the same number of processes will be spawned there. Spawning is covered in section 5.1.

A sample dicerc:

machine1 % function1

machine2 /usr/bin/programname function2

machine3 /usr/local/bin/programname

machine1

The hierarchy of the clients is set by their order in dicerc: machines closer to the top of the file have a higher priority. The first node on the file is called original, and has higher priority than any other node.


next up previous contents
Next: Types Up: Basics Previous: Initializing and closing   Contents
2001-12-09