mersenneforum.org  

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

Reply
 
Thread Tools
Old 2008-09-19, 20:29   #12
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

2,351 Posts
Default

*bump*

There is also the LiDIA library. The source code is available, but it is not open source because commercial use requires a license fee. I've also heard that LiDIA's ECPP isn't as fast as Morain's implementation.

By the way, some people say that Morain released the source code to his ECPP program, but I checked his website and couldn't find anything that looks like it. Maybe you'll have to ask him for it or something.
ixfd64 is online now   Reply With Quote
Old 2008-09-20, 08:27   #13
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

290716 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
*bump*

There is also the LiDIA library. The source code is available, but it is not open source because commercial use requires a license fee. I've also heard that LiDIA's ECPP isn't as fast as Morain's implementation.

By the way, some people say that Morain released the source code to his ECPP program, but I checked his website and couldn't find anything that looks like it. Maybe you'll have to ask him for it or something.
He did a very long time ago. I have a copy but it's not much use unless you have a DEC / Compaq / HP Alpha box to run it on.


Paul
xilman is offline   Reply With Quote
Old 2010-03-04, 18:32   #14
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

2,351 Posts
Default



I know this is a really old thread, but a free implementation of ECPP called GMP-ECPP was released last year. It is currently in alpha stage, though.

Also, the LiDIA library is actually available under the GNU General Public License, but the way the license was worded caused many people (including me) to believe that it was not free software. However, the project is no longer active.
ixfd64 is online now   Reply With Quote
Old 2010-03-07, 17:09   #15
rekcahx
 
Oct 2009
Oulu, Finland

2×3×5 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
I know this is a really old thread, but a free implementation of ECPP called GMP-ECPP was released last year. It is currently in alpha stage, though.
I downloaded this implementation and I made some changes for compiling.

Code:
diff -Naur atkin49-orig.cpp atkin49.cpp
--- atkin49-orig.cpp    2010-03-07 19:04:03.000000000 +0200
+++ atkin49.cpp 2010-03-07 18:50:57.000000000 +0200
@@ -27,10 +27,11 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <iostream.h>
+#include <iostream>
 #include <gmpxx.h>
 #include <gmp.h>
 
+using namespace std;
 
 int discriminant_array[] = {
 // class number 1
After these modifications, it compiled without warnings with g++ -o ecpp atkin49.cpp -lgmp -lgmpxx

Optimization with -O3 flag produced segmentation faults.

Last fiddled with by rekcahx on 2010-03-07 at 17:13
rekcahx is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
ECPP-DJ danaj Computer Science & Computational Number Theory 59 2020-10-10 04:57
New ECPP record mjm Computer Science & Computational Number Theory 33 2020-02-13 14:50
Can I just leave this here? (ECPP) trhabib Miscellaneous Math 6 2011-08-19 16:34
Fast ECPP T.Rex Math 6 2007-06-25 16:42
Where ECPP is needed? nuggetprime Information & Answers 9 2007-04-06 16:22

All times are UTC. The time now is 00:08.

Wed Jan 20 00:08:56 UTC 2021 up 47 days, 20:20, 0 users, load averages: 2.35, 2.73, 2.74

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.