This document describes how to compile/run the HUDisplay example with the new DnC implementation.
Installing
- Make sure you have the latest DnC code by running
cvs up
-
Get the latest cidl compiler (if you did not compile from source) from:
http://www.dre.vanderbilt.edu/~boris/cidlc/binary/
Copy the file into the
$CIAO_ROOT/bin
directory.
- Generate the make/project files for the DnC directory by using
$ACE_ROOT/bin/mwc.pl
script:
- linux:
[in $CIAO_ROOT/DnC] mwc.pl
- windows:
[in %CIAO_ROOT%/DnC] mwc.pl
- Compile the DnC code with the generated solution/make files.
-
Edit the mpc files in the
$CIAO_ROOT/examples/OEP/BasicSP/
manually and replace the base project names ciao_*
with
ciao_*_dnc
. The list of these files are listed below:
- BasicSP.mpc
- BMClosedED/BMClosedED.mpc
- BMDevice/BMDevice.mpc
- BMDisplay/BMDisplay.mpc
- EC/EC.mpc
- Generate the project/make files for the HUDisplay example directory:
- linux:
[in $CIAO_ROOT/examples/OEP/HUDisplay] mwc.pl
- windows:
[in %CIAO_ROOT%/examples/OEP/HUDisplay] mwc.pl
- Compile the generated solution/make files
Running the test
- Create a new directory
$CIAO_ROOT/DnC/tests/integration_test
(or any other name you want) and change the working directory to that.
- Download the files into the newly created directory:
- Start daemons by running
NodeDaemon.pl
- Start the execution manager:
../../ExecutionManager/Execution_Manager -o EM.ior -i deployment.dat
- Start the executor:
../../RepositoryManager/executor -p http://www.dre.vanderbilt.edu/~jai/test/package.tpd -d http://www.dre.vanderbilt.edu/~jai/test/HUDisplay.cdp -k file://EM.ior
You can download the files and change the parameters of the executor accordingly.