forked from teknohog/primetools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mfloop.txt
46 lines (30 loc) · 1.46 KB
/
mfloop.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
mfloop.py
---------
Automatic work assignment and submission script for mfakto and
possibly other similar applications.
Mfakto does trial division of Mersenne numbers with OpenCL, so it can
speed up this stage greatly with GPUs. It relies on manual work
assignment and submission from/to http://www.mersenne.org/. mfloop.py
automates this, so mfakto can keep working indefinitely.
This script is intended to run in parallel with mfakto. It uses
lockfiles to avoid conflicts when accessing files. A typical command
line would be
mfloop.py -u teknohog -p salasana -n 10 -t 7200 -e 70
This would attempt updates every 2 hours, aiming to keep 10
assignments in worktodo.txt. The upper limit of exponent range is
increased to 70 (if lower than that). Also,
* Use -t 0 for a single update without looping.
* Use -n 0 to finish work and not get any new assignments.
Optionally, it can also use gpu72.com for work assignments. The
results are still submitted to mersenne.org, so you need login
credentials for both sites, for example:
mfloop.py -u teknohog -p merspass -U teknohog -P gpupass
In this case, there is a hardcoded minimum of 72 for the upper limit
of the exponent range. If a fetch from gpu72.com fails, it will try
primenet instead.
Run mfloop.py -h for more details on options.
Some of the ideas are adapted from http://www.gpu72.com/spider/.
More on mfakto:
http://mersenneforum.org/showthread.php?t=15646
http://mersenneforum.org/mfakto/
https://github.com/Bdot42/mfakto