mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   mfaktc: a CUDA program for Mersenne prefactoring (https://www.mersenneforum.org/showthread.php?t=12827)

SethTro 2021-08-06 21:07

Math is hard


[CODE]
$ cat worktodo.txt
Factor=N/A,960477823,66,67
Factor=N/A,960477823,67,68


$ ./mfaktc.exe
mfaktc v0.21 (64bit built)

...

got assignment: exp=960477823 bit_min=66 bit_max=67 (0.02 GHz-days)
Starting trial factoring M960477823 from 2^66 to 2^67 (0.02 GHz-days)
k_min = 38411594760
k_max = 76823196254
Using GPU kernel "barrett76_mul32_gs"
M960477823 has a factor: 147602823780943516039
found 1 factor for M960477823 from 2^66 to 2^67 [mfaktc 0.21 barrett76_mul32_gs]

WARNING: ignoring line 1 in "worktodo.txt"! Reason: doesn't begin with Factor=
WARNING: ignoring line 2 in "worktodo.txt"! Reason: doesn't begin with Factor=
got assignment: exp=960477823 bit_min=67 bit_max=68 (0.03 GHz-days)
Starting trial factoring M960477823 from 2^67 to 2^68 (0.03 GHz-days)
k_min = 76823194140
k_max = 153646392509
M960477823 has a factor: 147602823780943516039
found 1 factor for M960477823 from 2^67 to 2^68 [mfaktc 0.21 barrett76_mul32_gs]

$ python -c 'import math; print(math.log2(147602823780943516039))'
67.00028221952357
[/CODE]


All times are UTC. The time now is 22:30.

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