Version 22 (modified by ismael, 14 years ago)

--

ALOE Quick Start Guide

This page describes how to download, install and run an example waveform for ALOE for Linux OS.

Supported processors are:

  • x86_32
  • x86_64
  • ARM (tested in MARVELL processors from SheevaPlug)
  • PPC440 comming soon...

Downloading & Installing

Download source from http://flexnets.upc.edu/downloads/source/aloe-1.3.tar.gz or check last svn tag release at: http://flexnets.upc.edu/svn/phal/tags/

The latest unstable development trunk can be found at: http://flexnets.upc.edu/svn/phal/trunk/

Before installing, make sure you have the following libraries in your system:

For debian users, just type:

sudo apt-get install libreadline5-dev

Untar, compile and install:

tar xzvf aloe-1.3.tar.gz
cd aloe-1.3
./configure
make
sudo make install

Before running ALOE, we must tune some kernel parameters to enable large messages buffers. You can use sysctl to make changes permanently, add the following lines to /etc/sysctl.conf

kernel.msgmnb=1048576
kernel.msgmax=524288

And run sysctl with root permissions:

sudo sysctl -p

Running an example

From the same directory where the source is (aloe-1.3):

runph

To run ALOE in real-time you must launch it with root permissions:

sudo runph

And in the runph prompt:

runph$: phload example
runph$: phinit example
runph$: phrun example

And your waveform is running!

You can now view information about execution time:

runph$: execinfo example

You can list available statistics and view/modify them:

runph$: statlist example
runph$: statget example source numbits
runph$: statset example source numbits 512



[Back to ALOE]