BOINC:为科学而计算

项目简介:

伯克利开放式网络计算平台英语:Berkeley Open Infrastructure for Network Computing,简称BOINC)是目前主流的分布式计算平台之一,由加州大学伯克利分校电脑学系发展出的分布式计算系统。原本专为SETI@home项目而设计,目前纳入的领域包括数学医学天文学气象学等。BOINC汇集全球各地志愿者的电脑或移动设备,提供运算能力给研究者。截至2017年3月,BOINC在全世界有约815,912台活跃的主机,提供约18.971PetaFLOPS的运算能力.

Folding@home(简称FAHF@h)是一个研究蛋白质折叠、误折、聚合及由此引起的相关疾病的分布式计算工程。由斯坦福大学化学系的潘德实验室(Pande Lab)主持,于2000年10月1日正式引导。Folding@home现时是世界上最大的分布式计算计划,于2007年为吉尼斯世界纪录所承认[2]

Folding@home 注于精确地模拟蛋白质折叠和错误折叠的过程,以便能更好地了解多种疾病的起因和发展,包括阿兹海默症(脑退化症)、牛海绵状脑病(疯牛症)、多种癌症和癌症相关综合症、囊胞性纤维症。到目前为止,Folding@home 可成功模拟长达5秒时段的折叠过程,超出先前估计可模拟的时段数百万倍。

正如大家所知,Folding@home项目目前是世界上最大的分布式计算项目,于2007年为吉尼斯世界记录所承认,截止目前有超过百万人参与项目并提交成果,它的计算能力总和也能达到全球超级计算机TOP10水平。同时该项目也是AMD和NVIDIA等GPU厂商最早参与推进的分布式计算项目,这让项目进程大大加快,用户参与更加方便。

安装方法:

Folding@home

关于Folding@home的安装方法,官方已经介绍得非常清楚,这里我就把贴一点过来.

Terminal installation for Debian / Mint / Ubuntu

Download the installation package files; 64-bit versions shown. If using an i386/i686 32-bit OS version, download those files as appropriate from the client download page.

wget
--no-check-certificate https://fah.stanford.edu/file-releases/public/release/fahclient/debian-testing-64bit/v7.4/fahclient_7.4.4_amd64.deb

wget
--no-check-certificate https://fah.stanford.edu/file-releases/public/release/fahcontrol/debian-testing-64bit/v7.4/fahcontrol_7.4.4-1_all.deb

wget
--no-check-certificate https://fah.stanford.edu/file-releases/public/release/fahviewer/debian-testing-64bit/v7.4/fahviewer_7.4.4_amd64.deb

Install the FAHClient.

sudo dpkg -i --force-depends fahclient_7.4.4_amd64.deb

The package will prompt for initial setup information, user name, etc. Enter information or change as needed, and click OK.

Install the FAHControl application.  Root privileges are required.  FAHControl will show “offline” or “connecting” status until the FAHClient is running, either started automatically (strongly recommended) or started manually.

sudo dpkg -i --force-depends fahcontrol_7.4.4-1_all.deb

Optionally, install the FAHViewer.

sudo dpkg -i --force-depends fahviewer_7.4.4_amd64.deb

Done. The FAHClient is installed and running as a service. Manage, monitor and update settings using the FAHControl.

There are two options for running the FAHClient in Linux:

  1. Run as a system service. This is the recommended and default option. The FAHClient service is installed automatically via the installer package, and will start at boot. Then control and configure the FAHClient with FAHControl. Note that FAHControl will not start or stop the FAHClient process. This setup uses /etc/fahclient/config.xml and runs in /var/lib/fahclient/. Do not run FAHClient directly when the service is running.
  2. Run from command line. Alternately, with the service disabled, it is possible to run the FAHClient manually from the command line in a directory of your choice. FAHClient will run in the current directory and use a config.xml from the same directory.

Both of these options can be headless if choosing not to use FAHControl. The FAHClient can be configured for remote access by editing /etc/fahclient/config.xml, but please be very careful in doing so. The FAHClient is started and stopped via the service script in /etc/init.d/FAHClient.

sudo /etc/init.d/FAHClient start

sudo /etc/init.d/FAHClient stop

Services are started and stopped by root but the client will automatically drop root privileges when run this way. It runs in the restricted fahclient account for added security. Starting and stopping the service is however, not at all necessary if when using FAHControl. Instead pause/unpause the FAHClient. When paused the FAHClient should idle in the background using negligible resources.

The plain command line only FAHClient tarball is available for download here.

Note: There is no install guide or support in the forum for this type of expert only installation. The only support for command-line only installs is this:

Documentation:

./FAHClient --help

Configuration using config.xml:

./FAHClient --configure

Configuration with no config file (minimum flags):

./FAHClient --user=Anonymous --team=0 --passkey=1385yourpasskeyhere5924 --gpu=false --smp=true

BOINC

sudo apt install boinc-client boinc

cd /var/lib/boinc-client

vim gui_rpc_auth.cfg //密码

vim remote_hosts.cfg//允许访问的ip

boinc –allow_remote_gui_rpc –daemon

最后,在本地的Boincmgr连接过去设置项目,提醒一点,cpu占用率长期为100%,有可能会被VPS提供商判断为滥用,请仔细阅读TOS.

推荐一下我自己喜欢的项目:

World Community Grid

Rosetta@home

发表评论

This site uses Akismet to reduce spam. Learn how your comment data is processed.