Folding@Home

Aus /bin - basisgruppe informatik - wiki

Wechseln zu: Navigation, Suche

Folding@home (oft auch kurz F@H oder FAH) ist ein Projekt der Stanford University zur Simulation der Faltung von Proteinen. Weitere Infos zum Projekt gibts bei der Wikipedia oder direkt auf der Projektseite

Inhaltsverzeichnis

Die /bin macht mit!

Da wir in unseren Räumlichkeiten auch einiges an Rechenpower haben, haben wir uns ein eigenes Team eingerichtet und die Clients auf den verschiedenen Rechnern installiert. Jeder, der sich dem /bin-Team anschließen möchte, muss einfach die Teamnummer bei seinem Client eintragen.

Setup Details

Das FAH-Executable wird beim Start von Gnome mittels gnome-session-properties ausgeführt (Eintrag Folding@Home). Es befindet sich auf den verschiedenen Rechnern an verschiedenen Orten:

  • Auf malkah: /home/riva/Desktop/Software/FAH6.02-Linux/fah6
  • Auf shira: ~/Desktop/Downloads/FAH/fah6
  • Auf den /bin/cloud-Rechnern: /home/rivo/folding/fah (wird als Systemdienst gestartet).
  • Auf nili und yod: ~/.folding/

//TODO: Andere Rechner eintragen.

FAH läuft im Hintergrund. Um den Fortschritt bei der aktuellen Work Unit einzusehen, cdt man in das Executable-Verzeichnis. Hier kann man sich nun mittels cat unitinfo.txt den aktuellen Fortschritt auf der Kommandozeile ausgeben lassen. Alternativ dazu kann man sich auch [fah-Verzeichnis]/MyFolding.html im Browser anzeigen lassen. Für mehr Details: cat FAHlog.txt (ebenfalls im entsprechenden Verzeichnis).

Die Ausgabe sieht dann z.B. so aus:

Name: 1CFC_B_14 in water
Tag: P6507R13C136F58
Download time: November 18 00:06:17
Due time: December 15 00:06:17
Progress: 84%  [||||||||__]

install-script (setUpFah.sh)

#!/bin/bash

# setUpFah.sh is a script to set up the folding@home client (currently
# version 6.34) on a multicore ubuntu machine, adding it to the /bin-team.
# Commands taken from http://folding.stanford.edu/English/LinSMPGuide
#    Copyright (C) 2011  Moritz Reinhardt
#
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.


if test $# -ne 1
	then echo -e "USAGE: $0 fah-username\n"
	exit 1
fi

sudo apt-get update
sudo apt-get install ia32-libs
sudo apt-get install curl 

# http://foldingforum.org/viewtopic.php?f=58&t=14782#p145834
# http://folding.stanford.edu/English/LinSMPGuide
# more info: https://help.ubuntu.com/community/FoldingAtHome/fah_install
mkdir -p ~/folding
cd ~/folding
curl -O http://www.stanford.edu/group/pandegroup/folding/release/FAH6.34-Linux64.tgz
tar xzf FAH6.34-Linux64.tgz
chmod +x fah6

#pipe answers into configuration script
echo -e "$1\n197010\n\n\n\nbig\nyes\n\n\n\n\nyes\n\n\n\n\n\n" | ./fah6 -configonly -smp 

#create a script to start the client
echo "./fah6 -smp -verbosity 9 &" > fah
chmod +x fah

Daten zum Team