next up previous index
Next: Parallel Programming Constructs Up: Parallel Execution Previous: Parallel Execution   Index

Using the Parallel System

A parallel ECLiPSe session consists of a number of processes that jointly execute your program in parallel. They are called workers. On a multi-processor machine, the number of workers should match the number of physical processors available on the machine. When there are more workers than processors, then several workers must share a processor which is slower than having just one worker per processor. When there are more processors than workers the power of the machine cannot be fully exploited since some processors may be left idle. Note that ECLiPSe allows you to add and remove workers during program execution.

A parallel session is started as follows:

% peclipse
ECRC Common Logic Programming System [sepia opium megalog parallel]
Version 3.5.0, Copyright ECRC GmbH, Wed Nov 31 10:13 1994
[eclipse 1]:
Parallel ECLiPSe takes the following additional command line options:
-w <number of workers>
The initial number of workers. The default is 1. The space between w and the number is optional.
-wmi
This option pops up an interactive worker manager window which allows you to dynamically control worker configuration during the session.
-wv
Be verbose while starting up the workers.
-wx <worker executable>
Use the specified sequential eclipse for the workers rather than the default one.
Apart from that, parallel ECLiPSe behaves much like the sequential version, in particular, all sequential command line options apply.


next up previous index
Next: Parallel Programming Constructs Up: Parallel Execution Previous: Parallel Execution   Index

1999-08-06