文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 计算机硬件及网络 > Gem5 Multi-core User Manual
侵权投诉

Gem5 Multi-core User Manual

该文档详细介绍了GEM5的搭建步骤,以及如何实现搭建多核系统来运行多线程程序

User Manual

version 1.0

2014-11-27

Author: Junhui Wang

Step 1 Set up environment

1. Download and install ubuntu 14.04 LTS

2. Download and install Gem5 development version

hg clone

3. External tools and required versions

To build gem5, you will need the following software:

g++ version 4.6 or newer or clang version 3.0 or newer.

Python, version 2.5 - 2.7 (we don't support Python 3.X). gem5 links in the Python interpreter, so you need the Python header files and shared library (e.g., /usr/lib/libpython2.5.so) in addition to the interpreter executable. These may or may not be installed by default. For example, on

Debian/Ubuntu, you need the "python-dev" package in addition to the "python" package. If you need a newer or different Python installation but can't or don't want to upgrade the default Python on your system, see our page on using a non-default Python installation.

Remember to do this : sudo apt-get install python-dev

SCons, version 0.98.1 or newer. SCons is a powerful replacement for make. See here to download SCons. If you don't have administrator privileges on your machine, you can use the

"scons-local" package to install scons in your m5 directory, or install SCons in your home directory using the '--prefix=' option.

SWIG, version 2.0.4 or newer.

zlib, any recent version. For Debian/Ubuntu, you will need the "zlib-dev" or "zlib1g-dev" package to get the zlib.h header file as well as the library itself.

m4, the macro processor.

protobuf, version 2.1 or newer for trace capture and playback support.

首先得到 protobuf 相应的包文件 ,在终端上输入如下 wget

doc.guandang.net

下载完毕后进行解压 tar zxvf protobuf-2.5.0.tar.gz

进入到解压目录 cd protobuf-2.5.0

进行执行 ./configure

中间可能会出错,估计是G++没装好,因为安装的时候要进行编译

安装G++ 另外最好把Vim、make 也装了,不然的后面的就很容易出问题apt-get install vim make

./configure 成功之后,接下来 就如下几步

make

make check

make install

安装完成后在终端下执行

vim ~/.profile

第1页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email