mersenneforum.org Looking for ECPP software
 Register FAQ Search Today's Posts Mark Forums Read

 2008-09-19, 20:29 #12 ixfd64 Bemusing Prompter     "Danny" Dec 2002 California 2,351 Posts *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.
2008-09-20, 08:27   #13
xilman
Bamboozled!

"𒉺𒌌𒇷𒆷𒀭"
May 2003
Down not across

290716 Posts

Quote:
 Originally Posted by ixfd64 *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

 2010-03-04, 18:32 #14 ixfd64 Bemusing Prompter     "Danny" Dec 2002 California 2,351 Posts 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.
2010-03-07, 17:09   #15
rekcahx

Oct 2009
Oulu, Finland

2×3×5 Posts

Quote:
 Originally Posted by ixfd64 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.

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

 Similar Threads Thread Thread Starter Forum Replies Last Post danaj Computer Science & Computational Number Theory 59 2020-10-10 04:57 mjm Computer Science & Computational Number Theory 33 2020-02-13 14:50 trhabib Miscellaneous Math 6 2011-08-19 16:34 T.Rex Math 6 2007-06-25 16:42 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