This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
docpublic:divers:fah [2020/04/25 11:19] procacci@tem-tsp.eu created |
docpublic:divers:fah [2020/04/28 11:47] (current) procacci@tem-tsp.eu [reference] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== FAH linux centos ===== | ===== FAH linux centos ===== | ||
| + | here's how I managed to run Folding At Home on a Centos 8 ( and 7) system where few tricks needs to be done | ||
| + | |||
| + | For supported OS : Windows, Mac, supported Linux distribution, | ||
| ===== about ===== | ===== about ===== | ||
| Line 13: | Line 16: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||
| + | |||
| + | ===== Centos 8 particularities ===== | ||
| + | |||
| + | ==== get RPMs ==== | ||
| + | |||
| + | from https:// | ||
| + | |||
| + | < | ||
| + | |||
| + | # wget https:// | ||
| + | # wget https:// | ||
| + | # wget https:// | ||
| + | |||
| + | </ | ||
| + | |||
| + | As those packages need python2 and python gtk libs and others (freeglut) , we need to install with --nodeps, ref https:// | ||
| + | |||
| + | |||
| + | < | ||
| + | #rpm -i --nodeps fahclient-7.6.9-1.x86_64.rpm | ||
| + | #rpm -i --nodeps fahcontrol-7.6.9-1.noarch.rpm | ||
| + | #rpm -i --nodeps fahviewer-7.6.9-1.x86_64.rpm | ||
| + | </ | ||
| + | |||
| + | after installation | ||
| + | |||
| + | < | ||
| + | # / | ||
| + | fahclient is running with PID 25624 | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== dependencies ===== | ||
| + | |||
| + | ==== pygtk2 ==== | ||
| + | |||
| + | initially FAHControl script fail to start because gtk python module is missing | ||
| + | |||
| + | < | ||
| + | $ / | ||
| + | Traceback (most recent call last): | ||
| + | File "/ | ||
| + | from fah import FAHControl, load_fahcontrol_db | ||
| + | File "/ | ||
| + | import util | ||
| + | File "/ | ||
| + | import gtk | ||
| + | ImportError: | ||
| + | </ | ||
| + | |||
| + | add gtk python module for FAHControl to work | ||
| + | |||
| + | < | ||
| + | # yum install pygtk2 | ||
| + | </ | ||
| + | |||
| + | then FAHControl python script might complain about missing python | ||
| + | |||
| + | < | ||
| + | $ / | ||
| + | bash: / | ||
| + | </ | ||
| + | |||
| + | |||
| + | you can force it to your installed version by editing the 1st line of the script , here / | ||
| + | |||
| + | < | ||
| + | # head -1 / | ||
| + | # | ||
| + | </ | ||
| + | |||
| + | {{: | ||
| + | |||
| + | config is stored in / | ||
| + | ==== FAHViewer and freeglut ==== | ||
| + | |||
| + | because we installed it with --nodeps ! | ||
| + | |||
| + | < | ||
| + | $ FAHViewer | ||
| + | FAHViewer: error while loading shared libraries: libglut.so.3: | ||
| + | </ | ||
| + | |||
| + | the add freeglut for FAHviewer | ||
| + | |||
| + | < | ||
| + | # yum install freeglut | ||
| + | </ | ||
| + | |||
| + | {{: | ||
| + | ==== processes ==== | ||
| + | |||
| + | when everything Runs | ||
| + | |||
| + | < | ||
| + | [root@localhost ~]# ps auwx | grep FAH | ||
| + | root | ||
| + | fahclie+ 25626 0.3 0.2 778184 44640 ? Sl | ||
| + | fahclie+ 25635 0.0 0.0 86720 1636 ? SNl 13:03 0:00 / | ||
| + | jproc 25655 1.3 0.3 899548 57408 pts/ | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== log and files ==== | ||
| + | |||
| + | a lot is stored here | ||
| + | |||
| + | < | ||
| + | # ls -ltr / | ||
| + | total 100 | ||
| + | drwxrwxrwx 3 fahclient root 37 24 avril 18:57 cores | ||
| + | -rw-rw-r-- 1 fahclient root 92126 24 avril 18:59 GPUs.txt | ||
| + | drwxrwxrwx 2 fahclient root 74 25 avril 13:01 configs | ||
| + | drwxrwxrwx 2 fahclient root 130 25 avril 13:03 logs | ||
| + | drwxrwxrwx 3 fahclient root 58 25 avril 13:03 work | ||
| + | -rw-r--r-- 1 fahclient root 7786 25 avril 13:30 log.txt | ||
| + | </ | ||
| + | |||
| + | ===log === | ||
| + | |||
| + | < | ||
| + | # tail -f / | ||
| + | 11: | ||
| + | 11: | ||
| + | 11: | ||
| + | 11: | ||
| + | 11: | ||
| + | </ | ||
| + | |||