mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2010-10-19, 12:35   #56
WraithX
 
WraithX's Avatar
 
Mar 2006

479 Posts
Default

Quote:
Originally Posted by Jeff Gilchrist View Post
Nice. Are you also working on an ECPP prover in C and GMP?

Even just the verifier will be useful for people who don't want to run it on Windows. Any plans on publishing your source code?
Hmmm... I hadn't planned on making an ECPP prover. Do you think there is a need for one? There are some algorithms in Crandall and Pomerance, I might be able to implement them if there's interest.

I can definitely publish the source code for the verifier. I'd like to try and clean up some of the code (maybe making it faster in the process?) before I release it though. Right now my program takes about 1.4 times longer than Primo to verify a certificate.
WraithX is offline   Reply With Quote
Old 2010-10-19, 13:23   #57
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

622410 Posts
Default

Quote:
Originally Posted by WraithX View Post
Right now my program takes about 1.4 times longer than Primo to verify a certificate.
This is not a problem. Considering the number of verifications that are done you would likely spend more time improving it than you save in waiting for verification runs.
retina is offline   Reply With Quote
Old 2010-10-19, 15:53   #58
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3·17·23 Posts
Default

Quote:
Originally Posted by WraithX View Post
Hmmm... I hadn't planned on making an ECPP prover. Do you think there is a need for one? There are some algorithms in Crandall and Pomerance, I might be able to implement them if there's interest.
Right now the only easily findable and usable tools AFAIK is Primo which only works under Windows and you have to do lots of manual work to get it to use multiple cores to prove.

So I think it would be very useful if someone wrote a portable one that could be compiled and run on UNIX or Windows that could use multiple cores or even cluster nodes (via MPI or something). That would make proving easier if using multiple cores was automatic and some bigger numbers could be proven if someone throws it at a system with lots of cores or a big cluster.
Jeff Gilchrist is offline   Reply With Quote
Old 2010-10-23, 03:34   #59
WraithX
 
WraithX's Avatar
 
Mar 2006

479 Posts
Default

Quote:
Originally Posted by Jeff Gilchrist View Post
Right now the only easily findable and usable tools AFAIK is Primo which only works under Windows and you have to do lots of manual work to get it to use multiple cores to prove.

So I think it would be very useful if someone wrote a portable one that could be compiled and run on UNIX or Windows that could use multiple cores or even cluster nodes (via MPI or something). That would make proving easier if using multiple cores was automatic and some bigger numbers could be proven if someone throws it at a system with lots of cores or a big cluster.
Yeah, I've read a little about what some people have done to run Primo in parallel. Looking at the algorithms in C&P, I'd have to find a good way to run them in parallel. Then, I'd have to learn a multi-threaded api. It'll be a while before I can get around to that. I have another program that I want to make multi-threaded that can easily take advantage of being such. So I'll start there and see how it goes. I'll try to clean up my verifier code this weekend and try to release it soon (maybe in the Software forum?). I'll put a link here to it once I've posted it.
WraithX is offline   Reply With Quote
Old 2010-10-23, 15:57   #60
WraithX
 
WraithX's Avatar
 
Mar 2006

479 Posts
Default

Okay, I've posted my Primo Verifier C code in the following thread:
http://www.mersenneforum.org/showthread.php?t=14086
WraithX is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Twin Prime Conjecture Proof Steve One Miscellaneous Math 53 2019-03-18 00:34
Proof of Legendre's conjecture, that there is always a prime between n^2 and (n+1)^2 MarcinLesniak Miscellaneous Math 41 2018-03-29 16:30
A proof for the worlds largest prime ModeEric Information & Answers 21 2017-11-29 14:46
Proof Claimed for Deep Connection between Prime Numbers Jeff Gilchrist Math 1 2012-09-11 14:42
A proof for the Twin Prime Conjecture Carl Fischbach Miscellaneous Math 7 2009-06-24 05:52

All times are UTC. The time now is 17:06.


Mon Aug 2 17:06:54 UTC 2021 up 10 days, 11:35, 0 users, load averages: 2.34, 2.29, 2.23

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.