![]() |
|
|
#1 |
|
Mar 2019
36010 Posts |
Are there other libraries that implement P-1 besides mprime that are reasonably fast (if not quite as fast) and also fairly easy to read/follow the code? Maybe even a library that can be called into.
|
|
|
|
|
|
#2 |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
3·7·17·31 Posts |
gpuOwl and mlucas both do P-1
|
|
|
|
|
|
#3 |
|
Bemusing Prompter
"Danny"
Dec 2002
California
23·313 Posts |
GMP-ECM does too, but only for small numbers.
|
|
|
|
|
|
#4 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
7,823 Posts |
Quote:
Corresponding to the mprime / prime95 applications, there is the gwnum library of routines. Others have mentioned gpuowl and Mlucas and gmp_ecm applications, & there's CUDAPm1 & GMP. There are also some python or perl extended-precision implementations around, and CUDA and OpenCL fft library implementations from which P-1 applications can be developed, and tools like Pari/GP or Mathematica etc. There are a few examples of implementations known to exist, such as LaurV's: https://mersenneforum.org/showpost.p...3&postcount=11 https://www.mersenneforum.org/showpo...&postcount=277 IIRC they were developed more for learning than production. |
|
|
|
|
|
|
#5 |
|
"Tucker Kao"
Jan 2020
Head Base M168202123
37016 Posts |
Will they consume 99% of the GPU resource and only 1% of the CPU resource like mfaktc? Or will they slow down the Prime95 assignments by a considerable ratio?
I still don't know how to run P-1 on GpuOwl with the Nvidia GPU. What line should I type in to worktodo.txt? Last fiddled with by tuckerkao on 2022-04-24 at 09:47 |
|
|
|
|
|
#6 | |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
3·7·17·31 Posts |
Quote:
|
|
|
|
|
|
|
#7 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
7,823 Posts |
Yes, please use the existing provided resources. And
Quote:
https://mersenneforum.org/showthread.php?t=24607 is its table of contents (or two) with links to use. For those too impatient to read or skim a table of contents, there is a handy feature in most if not all modern browsers, to search for a keyword or phrase in the currently viewed web page. (In Firefox, as easy and fast as Ctrl-F) |
|
|
|
|
|
|
#8 |
|
"Tucker Kao"
Jan 2020
Head Base M168202123
24×5×11 Posts |
The post I eventually found was https://www.mersenneforum.org/showpo...8&postcount=22. It showed Pfactor instead of Pminus1, maybe this has been the reason why I always not be able to reserve the P-1 assignments of Prime95 from the server.
Last fiddled with by tuckerkao on 2022-04-24 at 17:40 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| APRCL implementations comparison | ldesnogu | Computer Science & Computational Number Theory | 11 | 2015-10-28 12:54 |
| Any CIDE Primality Test Implementations? | Stargate38 | Computer Science & Computational Number Theory | 4 | 2014-11-02 19:25 |