Dockerized folding@home client, with Nvidia GPU support

栏目: IT技术 · 发布时间: 4年前

内容简介:You can also visit the web dashboard by visiting
Dockerized folding@home client, with Nvidia GPU support

Dockerized FAHClient

Folding@home (FAH or F@h) is a distributed computing project for simulating protein dynamics, including the process of protein folding and the movements of proteins implicated in a variety of diseases. It brings together citizen scientists who volunteer to run simulations of protein dynamics on their personal computers. Insights from this data are helping scientists to better understand biology, and providing new opportunities for developing therapeutics.

Usage

  • CPU only
docker run -it --rm -d \
  --name fahclient \
  -p 7396:7396 \
  codingcoffee/fahclient \
  --allow 0/0  \
  --web-allow 0/0
  • CPU and GPU
docker run -it --rm -d \
  --name fahclient \
  --gpus all \
  -p 7396:7396 \
  -e ENABLE_GPU=true \
  codingcoffee/fahclient \
  --allow 0/0  \
  --web-allow 0/0

You can also visit the web dashboard by visiting http://localhost:7396 in your browser.

Dockerized folding@home client, with Nvidia GPU support

GPU Support

Since this image uses nvidia/cuda as it's base image, to use the GPU support, you'll need to have an NVIDIA GPU, and NVIDIA Container Toolkit installed on your system.

List of usable environment variables

Environment Varible Value Default
USER your username Anonumous
TEAM your team name 0
PASSKEY your passkey
ENABLE_GPU true / false false
ENABLE_SMP true / false true
POWER full / medium / light full

FAQ

Q: How can I use this with Docker Compose?

A: Well, you can use it with docker compose if you don't want the GPU support. This is because docker compose still doesn't have the a way to specify the --gpu flag, or atleast I wasn't able to figure it out. If you did, open a issue / send a PR with the docker-compose.yml file.

Logs

To get the logs of the running container

d ocker logs -f fahclient

Build

To build the image locally

docker build -t codingcoffee/fahclient .

Contribution

Have better suggestions to optimize the image? Found some typos? Go ahead and send in a Pull Request! Contributions of any kind welcome!

LICENSE

The code in this repository has been released under the GNU General Public License v3


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

查看所有标签

猜你喜欢:

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

注意力经济: 如何把大众的注意力变成生意

注意力经济: 如何把大众的注意力变成生意

吴修铭 / 中信出版集团股份有限公司 / 2018-4-1 / 69

编辑推荐 这本书由万维钢作序,并在《得到》日课中多次推荐!中文版未上市之前,中文前沿媒体就在力推这本书!关于注意力争夺战的历史和现在,作者给了权威的梳理和定位! 百年来,在争夺注意力的战场上,媒体、广告、商人、企业和大众成为博弈的主角。商人是如何在注意力争夺战中获利的?媒体是如何在改变报道形式的?广告是如何进化的?以及,营销是如何变得随处可见、无孔不入的呢?这本书讲述了令商人或企业从吸......一起来看看 《注意力经济: 如何把大众的注意力变成生意》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

URL 编码/解码
URL 编码/解码

URL 编码/解码