gpgpusim runtime的dockerfile

栏目: 服务器 · 发布时间: 7年前

内容简介:之前写过一篇在docker里跑gpgpusim(下称参考文献1),今天花了一点时间,写了个完整的dockerfile,并上传到了docker hub上去。现在简化一下运行的步骤。在docker hub的地址:

Introduction

之前写过一篇在 docker 里跑gpgpusim(下称参考文献1),今天花了一点时间,写了个完整的dockerfile,并上传到了docker hub上去。现在简化一下运行的步骤。

gpgpusim-runtime

在docker hub的地址:

https://hub.docker.com/r/findhao/gpgpusim_runtime/

运行

执行参考文献1的第4节 拷贝必须的文件到自己的目录,比如 /home/find/e/gpgpusim/

执行:

# 可从docker官网直接拉取我建立的gpgpusim的镜像。
docker pull findhao/gpgpusim_runtime
# 从镜像建立容器
docker run --name gpgpusim -it -v /home/find/e/gpgpusim:/root/sim/ gpgpusim_runtime /bin/bash

即可进入已经配置好环境变量且安装了运行依赖的docker容器。将你的代码拷贝到 /home/find/e/gpgpusim/ ,在容器里编译运行即可。

dockerfile

dockerfile项目地址:

https://github.com/FindHao/gpgpusim_runtime_dockerfile

Reference

在docker里跑gpgpusim


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Distributed Systems

Distributed Systems

Sukumar Ghosh / Chapman and Hall/CRC / 2014-7-14 / USD 119.95

Distributed Systems: An Algorithmic Approach, Second Edition provides a balanced and straightforward treatment of the underlying theory and practical applications of distributed computing. As in the p......一起来看看 《Distributed Systems》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换