![]() |
|
|
#2586 |
|
Bemusing Prompter
"Danny"
Dec 2002
California
1001011000012 Posts |
I was factoring an exponent from 73 to 74 bits when the computer completely froze, requiring a hard reboot. After starting up mfaktc again, I noticed that the factoring had started over, suggesting that the save file had been corrupted. I thought about uploading a copy of it here in case someone wanted to investigate the issue, but the file had already been overwritten. Just putting this out there.
On the subject of which, maybe it would be a good idea to give mfaktc the ability to create backup save files like Prime95 does? Last fiddled with by ixfd64 on 2016-04-09 at 02:33 |
|
|
|
|
|
#2587 | |
|
"Oliver"
Mar 2005
Germany
21278 Posts |
Hi,
Quote:
Longer answer: No! The checkpoints are most likely a atomic write to the filesystem (actually fopen(), a single fprintf() (less than 512 bytes) and a fclose()). Because the fprintf() is atomic it is very unlikely that this will yield a corrupted checkpoint. It could be an empty checkpoint file but that isn't very likely, too. If such things happens I would fix the computer before doing anything useful. Maybe there was just no checkpoint because prior the system lockup there wasn't much work done on that step? Oliver |
|
|
|
|
|
|
#2588 | |
|
Jun 2003
13DF16 Posts |
Quote:
|
|
|
|
|
|
|
#2589 | |
|
"James Heinrich"
May 2004
ex-Northern Ontario
23·149 Posts |
Quote:
|
|
|
|
|
|
|
#2590 |
|
"Oliver"
Mar 2005
Germany
21278 Posts |
This is not rocket science, lets keep it simple. One could argue that if you can't write a simple checkpoint reliable on your machine you won't trust the main calculation, too.
Oliver |
|
|
|
|
|
#2591 | |
|
Bemusing Prompter
"Danny"
Dec 2002
California
74 Posts |
Quote:
On the subject of which, is there any way to tell mfaktc to start at a certain class other than by hacking the save file? Last fiddled with by ixfd64 on 2016-04-11 at 17:13 |
|
|
|
|
|
|
#2592 |
|
"Oliver"
Mar 2005
Germany
111110 Posts |
|
|
|
|
|
|
#2593 |
|
Feb 2012
6258 Posts |
Windows 7 had a nice feature, called “Previous Versions” (Windows 8 and later have it replaced with something called “File History” which is not as good).
You just right click on a file and you can see or restore a previous version. This functionality is also usually available with NAS configured to make automatic snapshots. Or, at the very least, checkpoint files can be restored from daily backups, manually. Last time I checked, mfaktc was open source. The encryption routine is just a few lines long. Modifying checkpoint files is useful when one wants to split a bit level among several GPUs. |
|
|
|
|
|
#2594 | |
|
"Oliver"
Mar 2005
Germany
11×101 Posts |
Hi,
Quote:
Is there any good reason why you would split a single assignment through multiple GPUs on a regular basis? I'm afraid this discussion leads to a "howto forge false results" even if not intended by you. Oliver |
|
|
|
|
|
|
#2595 |
|
Romulan Interpreter
Jun 2011
Thailand
25C016 Posts |
We are with Oliver here.
We used mfaktc for years and never had problems with checkpoint files. [edit: we do checkpoint every 30 minutes, or so] Also, if really needed, for assignment that would take ages, splitting one expo over many cards is no problem, one simple pari or perl script can create the checkpoint file to start with some predetermined class. [edit: you still have to watch them to know when to stop each of them, except the last who stops by itself after the last class] Last fiddled with by LaurV on 2016-04-12 at 13:44 |
|
|
|
|
|
#2596 |
|
"Tony Gott"
Aug 2002
Yell, Shetland, UK
22·83 Posts |
Has anyone compiled mfaktc 0.21 for a Mac?
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mfakto: an OpenCL program for Mersenne prefactoring | Bdot | GPU Computing | 1676 | 2021-06-30 21:23 |
| The P-1 factoring CUDA program | firejuggler | GPU Computing | 753 | 2020-12-12 18:07 |
| gr-mfaktc: a CUDA program for generalized repunits prefactoring | MrRepunit | GPU Computing | 32 | 2020-11-11 19:56 |
| mfaktc 0.21 - CUDA runtime wrong | keisentraut | Software | 2 | 2020-08-18 07:03 |
| World's second-dumbest CUDA program | fivemack | Programming | 112 | 2015-02-12 22:51 |