mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > FermatSearch

Reply
 
Thread Tools
Old 2016-09-27, 12:23   #1
houding
 
houding's Avatar
 
"Adolf"
Nov 2013
South Africa

6110 Posts
Default Prime95 and ECM

I have 2 set and forget computers that run ECM on Fermat Numbers.

P95 assigns the assignments.

Is there a way to let those computers work on for example F12, because the computers are assigned F21? Not that it matters is the long run, because F21 needs ECM as well.

Adolf
houding is offline   Reply With Quote
Old 2016-09-27, 14:08   #2
GP2
 
GP2's Avatar
 
Sep 2003

A1416 Posts
Default

1. If mprime/Prime95 is running now, stop it.

2. Edit your worktodo.txt file, adding this line (you can add it multiple times in a row if you want):

ECM2=1,2,4096,1,800000000,80000000000,10,"114689,26017793,63766529,190274191361,1256132134125569,568630647535356955169033410940867804839360742060818433"

The ,10, just before the double-quote represents the number of curves to run. Change this to whatever value you want. A 2.4 GHz Haswell machine should do one curve every few hours or so.

Your computer should have 535 MB of available memory (needed in stage 2).

If there is an existing line with 2097152 (F21) or 8388608 (F23) or whatever, then you could delete it from worktodo.txt if you wish. You can let it expire, or you can clean it up by logging in to mersenne.org and going to your account assignment details page (you must be logged in to see anything) and using the checkboxes to de-assign it.

3. Restart mprime/Prime95


If you want F13 instead, the corresponding line is:
ECM2=1,2,8192,1,260000000,26000000000,10,"2710954639361,2663848877152141313,3603109844542291969,319546020820551643220672513"

Again, you can add this line multiple times if you want.

The ,10, just before the double-quote represents the number of curves to run. Change this to whatever value you want. A 2.4 GHz Haswell machine should do one curve every couple of hours or so.

Your computer should have 579 MB of available memory (needed in stage 2).

Last fiddled with by GP2 on 2016-09-27 at 14:11
GP2 is offline   Reply With Quote
Old 2016-09-27, 14:34   #3
GP2
 
GP2's Avatar
 
Sep 2003

22·3·5·43 Posts
Default

PS, once you have created the initial setup above, you can sustain it over the long term by monitoring how many lines are left in worktodo.txt

When the number of lines in worktodo.txt starts getting low, create a file called worktodo.add or worktodo.add.txt in the same directory as worktodo.txt

The worktodo.add (or worktodo.add.txt) file should have the same structure as worktodo.txt, and in particular it should have the same "[Worker #1]" line and optionally "[Worker #2]" and others, and beneath each of those it should have ECM2= lines.

Every half hour or so, the mprime program will merge the worktodo.add lines into worktodo.txt, adding them at the end and then deleting the worktodo.add file.

So just keep a worktodo.add file handy that you can copy into the mprime working directory from time to time. If you are doing it long-term, you can set the number of curves in each line to a few hundred or more.

Last fiddled with by GP2 on 2016-09-27 at 15:29
GP2 is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 09:41.

Thu Sep 24 09:41:50 UTC 2020 up 14 days, 6:52, 0 users, load averages: 1.24, 1.47, 1.45

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.