「Folding@home」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(→‎ターミナル: 項目を削除)
(→‎作業ユニットの進捗を確認: 英語版に記事を差し替え)
37行目: 37行目:
 
== 作業ユニットの進捗を確認 ==
 
== 作業ユニットの進捗を確認 ==
   
  +
There are several ways of monitoring the progress of your FAH clients, both on the command line and by GUI.
FAH クライアントの進捗を監視する方法は複数存在します。
 
   
  +
Folding@home writes its log file to the data directory. By checking out a few last lines you can check its progress, e.g. {{ic|tail -10 /var/log/foldingathome/log.txt}}.
folding at home から配布されている FAHControl ソフトウェアはリモートホストを効率的に制御することができます。"Add" ボタンでクライアントを追加して名前と IP アドレス、ポート番号、パスワード(設定している場合)を入力して保存するだけです。リモートホストと接続を確立してクライアントタブに進捗を表示します。
 
   
  +
The {{AUR|fahcontrol}} software distributed by folding at home provides you with efficient means to control both local and remote hosts. Just add another client with the corresponding button "Add" and enter the name, IP address, port and password (if you set one) and hit save. The software should now try to establish a connection to the remote host and show you the progress in a separate client tab.
AUR には {{AUR|fahmon}}{{Broken package link|{{aur-mirror|fahmon}}}} があり、GUI で複数のクライアントを監視して作業ユニットの情報を確認できます。Fahmon のサイトは [http://www.fahmon.net/ http://www.fahmon.net/] にあります。
 
   
  +
For checking Nvidia GPU utilisation, core temperature and power usage, {{Pkg|nvtop}} can be used. For AMD GPUs, use {{Pkg|radeontop}}.
CLI では、シェルの設定ファイル ({{ic|.bashrc}} や {{ic|.zshrc}} など) に以下のコマンドを追加することができます。''fah_user'' は実際に使用しているユーザーに置き換えてください:
 
 
{{bc|
 
fahstat() {
 
echo
 
echo $(date)
 
echo
 
cat /opt/fah/''fah_user''/unitinfo.txt
 
}
 
}}
 
 
クライアントが複数ある場合:
 
 
{{bc|
 
fahstat() {
 
echo
 
echo $(date)
 
echo
 
echo "Core 1:";cat /opt/fah/''fah_user''/unitinfo.txt
 
echo
 
echo "Core 2:";cat /opt/fah2/''fah_user''/unitinfo.txt
 
}
 
}}
 
 
また、{{ic|cat}} を {{ic|tail -n1}} に置き換えると作業ユニットの完了率がパーセントで表示されます。
 
 
foldingathome-smp 6.43 では、''unitinfo.txt'' ファイルはユーザーフォルダの中にはありません。正しいディレクトリは {{ic|/opt/fah-smp/unitinfo.txt}} になります。
 
   
 
== トラブルシューティング ==
 
== トラブルシューティング ==

2022年3月13日 (日) 12:13時点における版

あなたのコンピュータでソフトウェアを実行するだけで、アルツハイマー病、ハンチントン病、パーキンソン病、SARS-CoV-2 などの研究者を支援することができます。あなたのコンピュータを世界中の何百万ものコンピュータのネットワークに加え、世界最大の分散型スーパーコンピュータを形成することができます。

インストール

foldingathomeAUR パッケージをインストールしてください。Folding で GPU を使用したい場合、使用する GPU に適した OpenCL パッケージが必要です。Nvidia ユーザーは CUDA を使うことも可能です。

設定

root で FAHClient --configure を実行すれば /etc/foldingathome/config.xml に設定ファイルが生成されます (Arch Linux のチーム番号は 45032 です)。また、/etc/foldingathome/config.xml を手動で書き換えることもできます。設定ファイルを作成したら、デーモンを起動することが可能です。

$ cd /etc/foldingathome
# FAHClient --configure

systemd ユニットの foldingathome.service起動・有効化してください。Nvidia ユーザーは、 foldingathome-nvidia.service有効化する必要があります。

グラフィカル

ウェブブラウザを起動して http://localhost:7396/ を開くことでデーモンを管理できます。もしくは、fahcontrolAUR をインストールして FAHControl プログラム (または Gtk3 フォークの fahcontrol-gtk3-gitAUR) を使うという方法もあります。

デーモンはリモートから制御することも可能です。リモートから操作する方法は /etc/foldingathome/config.xml に載っています。また、ファイアウォールのポートを必要に応じて開いてください。

ターミナル

foldingathome の挙動は /etc/foldingathome/config.xml を編集することでカスタマイズすることが可能です。以下のようなオプションが指定できます:

  • passkey: コンピュータを一意に識別する値です。必須ではありませんが、ある程度セキュリティが確保されます。詳しくは、[1] を参照。
<passkey v='passkey'/>
  • CPU や GPU のスロット:
<slot id='0' type='CPU'/>

f@h を限定された権限で動作させる

更新されたバージョンの foldingathomeAUR パッケージ (>7.6.9) はすでに制限付きユーザーとして実行されています。また、root アクセスのないユーザーが有効にできる systemd ユーザースクリプトをインストールします(GPU を使用するには、ビデオグループアクセスが必要です)。

作業ユニットの進捗を確認

There are several ways of monitoring the progress of your FAH clients, both on the command line and by GUI.

Folding@home writes its log file to the data directory. By checking out a few last lines you can check its progress, e.g. tail -10 /var/log/foldingathome/log.txt.

The fahcontrolAUR software distributed by folding at home provides you with efficient means to control both local and remote hosts. Just add another client with the corresponding button "Add" and enter the name, IP address, port and password (if you set one) and hit save. The software should now try to establish a connection to the remote host and show you the progress in a separate client tab.

For checking Nvidia GPU utilisation, core temperature and power usage, nvtop can be used. For AMD GPUs, use radeontop.

トラブルシューティング

GPU がサポートされていて、まだ使用されていない場合は、/opt/fah/config.xml ファイルを編集して GPU の自動構成を試みます。

<gpu v='true'/>

参照