Download LYDIAN: User's Guide

Transcript
1
Introduction
Lydian [1] is a simulation and visualization environment for distributed algorithms that provides to the students an experimental environment to test and visualize the behaviour of distributed algorithms .
Figure 1. Lydian user interface
Lydian offers the students an easy, visual way to describe their own networks, including traffic parameters, or select
one from a database included with Lydian. Subsequently, students can use these network-descriptions in order to see the
behaviour of the protocol or algorithm running on top of them.
Further, it offers a database of basic distributed algorithms and protocols that the student can select from. Students can
insert a new distributed algorithm in Lydian by using a high-level description language.
The simulator of Lydian takes as an input the network description file and the distributed algorithm and creates an execution
(run). This execution describes the behaviour of the algorithm for the specific execution parameters.
For each protocol in the database Lydian provides a continuous animation. The animation is based on the basic ideas behind the design of the algorithm and which are used in the classroom to describe the corresponding algorithm, its correctness
and its analysis. The users can easily design their own animation programs.
The animation library is object oriented and animation objects for various key concepts of distributed algorithms have
already been implemented and can be used in any animation produced by the user.
2
2.1
Installation
In general
If in your system LYDIAN has not been installed yet, you need to install the complete package of LYDIAN. For updated
instructions, see file INSTALL.txt in the LYDIAN package.
2.2
An example: In the Chalmers computer system
If in your system LYDIAN was already installed at a directory and you have the right to access the directory, there is a
script to help you install LYDIAN in your own directory quickly.
For example, in the Chalmers computer system LYDIAN was installed at directory
/users/mdstud/dsys/LYDIAN/ and shared for all users. In order to start LYDIAN the new user needs some information locally,
so the following steps must be executed before LYDIAN is started for the first time: