This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!
Folding@home¶
Folding@home (FAH or F@H) is a distributed computing project for performing molecular dynamics simulations of protein dynamics. Its initial focus was on protein folding but has shifted to more biomedical problems, such as Alzheimer's disease, cancer, COVID-19, and Ebola. The project uses the idle processing resources of personal computers owned by volunteers who have installed the software on their systems.
Reference(s)
Warning
This cheat sheet might be still Gentoo + Portage + OpenRC oriented, since I just tested it with this setup...
Table of contents¶
Install¶
Config¶
Optionally, get a passkey:
Configure Folding at home:
$ sudo /opt/foldingathome/FAHClient --configure
# /opt/foldingathome/config.xml # e.g. it might result in:
> <config>
> <!-- User Information -->
> <passkey v='optional_passphrase'/>
> <team v='0'/>
> <user v='Anonymous'/>
>
> <!-- Folding Slots -->
> <slot id='0' type='CPU'/>
> </config>
TODO
Add the foldingathome
user to the video group!
Use¶
-
Monitor your
foldingathome
client: -
Get all commands details
-
Get send command details
-
Run
-
Gracefully stop, after completing current steps, on an already running client:
-
Immediately stop an already running client:
-
Run folding at home only at night (from 0 to 6):
- Start
- Stop
- Run Folding at home in the background at boot:
- Depending on your
runit
implementation, either run: or run: or run: - Start
- Stop TODO
- Start
- Stop
- Run Folding at home in the background at boot:
Troubleshooting¶
-
If getting this kind of error:
PRAGMA synchronous=NORMAL
,database is locked
, thenfoldingathome
run multiple instances, try to stop them: -
If getting this kind of error: http://www.gromacs.org/Documentation/Errors#There_is_no_domain_decomposition_for_n_nodes_that_is_compatible_with_the_given_box_and_a_minimum_cell_size_of_x_nm Then you can try to lower the number of used CPU (e.g. from 16 to 12):
If this cheat sheet has been useful to you, then please consider leaving a star here.