* Description
Distributed Operation Layer :
The distributed operation layer (DOL) is a software development framework to program parallel applications. The DOL allows to specify applications based on the Kahn process network model of computation and features a simulation engine based on SystemC. Moreover, the DOL provides an XML-based specification format to describe the implementation of a parallel application on a multi-processor systems, including binding and mapping.
* How to install
安裝一些必要的環(huán)境(ubuntu為例):
$ sudo apt-get update
$ sudo apt-get install ant
$ sudo apt-get install openjdk-7-jdk
$ sudo apt-get install unzip
1.下載文件
sudo wget http://www.accellera.org/images/downloads/standards/systemc/systemc-2.3.1.tgz
sudo wget http://www.tik.ee.ethz.ch/~shapes/downloads/dol_ethz.zip
2.解壓文件
新建dol的文件夾
$ mkdir dol
將dolethz.zip解壓到 dol文件夾中
$ unzip dol_ethz.zip -d dol
解壓systemc
$ tar -zxvf systemc-2.3.1.tgz
3.編譯systemc
解壓后進(jìn)入systemc-2.3.1的目錄下
$ cd systemc-2.3.1
新建一個臨時文件夾objdir
$ mkdir objdir
進(jìn)入該文件夾objdir
$ cd objdir
運(yùn)行configure(能根據(jù)系統(tǒng)的環(huán)境設(shè)置一下參數(shù)炮障,用于編譯)
$ ../configure CXX=g++ --disable-async-updates
編譯
$ sudo make install
編譯完后文件目錄如下($ cd .. $ ls
記錄當(dāng)前的工作路徑
$ pwd
4.編譯dol(續(xù)上頁
然后是編譯
$ ant -f build_zip.xml all
若成功會顯示build successful
接著可以試試運(yùn)行第一個例子
進(jìn)入build/bin/mian路徑下
$ cd build/bin/main
然后運(yùn)行第一個例子
$ ant -f runexample.xml -Dnumber=1
成功結(jié)果如圖
Run example1:
$ cd build/bin/main
$ ant -f runexample.xml -Dnumber=1
*Experimental experience
實(shí)驗(yàn)一開始沒安裝好必要的環(huán)境企蹭,就進(jìn)行了后面的步驟智末,導(dǎo)致出錯。將虛擬機(jī)重啟之后安裝了必要的環(huán)境吹害,再進(jìn)行后面的步驟安裝DOL就很順利了虚青。