美文网首页
DOL环境配置

DOL环境配置

作者: miyano_Rin | 来源:发表于2016-10-08 19:18 被阅读0次

ES2016_14353285 涂佳灵
一、Description——DOL 框架描述
The distributed operation layer (DOL) is a framework that enables the (semi-) automatic mapping of applications onto the multiprocessor SHAPES architecture platform. The DOL consists of basically three parts:
DOL Application Programming Interface
DOL Functional Simulation
DOL Mapping Optimization
二、How to install——DOL 安装笔记
1.安装一些必要的环境
$ sudo apt-get update
$ sudo apt-get install ant
$ sudo apt-get install openjdk-7-jdk
$ sudo apt-get install unzip
2.把下载文件从主机拷贝到虚拟机中去
3.解压文件
(1)新建dol的文件夹:
$ mkdir dol
(2)将dolethz.zip解压到dol文件夹中:
$ unzip dol_ethz.zip -d dol
(3)解压systemc:
$ tar -zxvf systemc-2.3.1.tgz
4.编译systemc
(1)解压后进入systemc-2.3.1的目录下
$ cdsystemc-2.3.1
(2)新建一个临时文件夹objdir
$ mkdir objdir
(3)进入该文件夹objdir
$ cdobjdir
(4)运行configure
$ ../configure CXX=g++--disable-async-updates
运行结果:

4.jpg

(5)编译
$ sudo make install

2.jpg

(6)输出当前所在路径,需记录当前的工作路径
$ pwd

3.jpg

5.编译dol
进入刚刚dol的文件夹
$cd../dol
修改build_zip.xml文件
然后是编译
$ant-f build_zip.xml all
若成功会显示build successful
结果如下:

5.jpg

6.运行第一个例子
进入build/bin/mian路径下
$cd build/bin/main
然后运行第一个例子
$ant -f runexample.xml -Dnumber=1
结果如下:

6.jpg

三、Experimental experience——实验感想、实验心得
在配置过程中,遇到了两个麻烦。一个是安装必要环境太慢,后面师兄建议用阿里云,会快一些,果然。另一个是在解压的时候总是报错,反复试了很多次都没成功,后面才发现原来是文件损坏了。
创建仓库也比较容易,比较难的地方还是在于理解markdown,本来下载了markdownpad2软件来写的,但是添加图片太麻烦了,就改在简书上写了。

相关文章

  • DOL环境配置

    ES2016_14353285 涂佳灵一、Description——DOL 框架描述The distributed...

  • #Readme

    Install DOL in Ubuntu 14.04 in lab1 Description(DOL 框架描述)...

  • DOL实例分析&编程

    嵌入式导论实验报告 DOL实例分析&编程 Make工具简介 在Linux和Ubuntu环境中,make工具主要被用...

  • DOL——readme

    README.md Description The distributed operation layer (DO...

  • SQL指令操作篇

    SQL: Structured Query Language DOL: create / drop /alter ...

  • 每日英语(一)

    原句: Even if they are willing to make the sacrifice in dol...

  • Aussie dollar knocked lower on r

    A big miss on the trade surplus caused the Australian dol...

  • D2翻译

    ImagineSaudi Arabia sells US Treasuries, and uses the dol...

  • spring boot 配置sqlserver数据库

    1、pom文件配置 2、配置文件2.1基础配置文件 2.2 开发环境配置环境 2.3 运行环境配置 2.4 测试环境配置

  • 001.基础环境变量配置

    1.JDK环境配置 2.Ant环境配置 3.CXF环境配置 4.Axis2环境配置 5.Tomcat环境配置 6....

网友评论

      本文标题:DOL环境配置

      本文链接:https://www.haomeiwen.com/subject/jzauyttx.html