DOL开发环境配置

来源:互联网 发布:服务器带宽测试软件 编辑:程序博客网 时间:2024/05/01 05:22

DOL开发环境配置

Description

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

安装必要的环境

sudo apt-get updatesudo apt-get install antsudo apt-get install openjdk-7-jdksudo apt-get install unzip

解压文件

新建dol文件夹

mkdir dol

将dolethz.zip解压到dol文件夹中

unzip dol_ethz.zip -d dol

解压systemc

tar -zxvf systemc-2.3-1.tgz

编译systemc

解压后进入systemc-2.3.1的目录下

cd systemc-2.3.1

新建一个临时文件夹objdir

mkdir objdir

进入该文件夹

cd objdir

运行configure

../configure CXX=g++ –disable-async -updates

运行结果

1
编译

sudo make install

文件目录为:

2

记录当前的工作路径

3

编译DOL

ant -f build_zip.xml all<br/>

4

运行第一个例子

进入build/bin/mian路径下

ant -f runexample.xml -Dnumber=1

5

Experimental experience

本次实验主要是需要耐心和足够的仔细,我一共配置了四遍才成功,总是在最后一步build不成功,从中犯过很多错误,包括拼写错误,已经Java环境变量的设置。最后也是实在不行重头来的一遍,删掉了所有东西才配置好的。

0 0
原创粉丝点击