mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > GMP-ECM

Reply
 
Thread Tools
Old 2005-07-31, 13:21   #151
wblipp
 
wblipp's Avatar
 
"William"
May 2003
New Haven

2·7·132 Posts
Default

Quote:
Originally Posted by xilman
A PPro running what OS?
Runnning Windows 2K on this box. It's mainly the Printer Server and internet connect machine on the home network, but makes regular ECM contributions for small numbers. An executable would be greatly appreciated.

William
wblipp is offline   Reply With Quote
Old 2005-08-04, 08:56   #152
OmbooHankvald
 
OmbooHankvald's Avatar
 
May 2005
Copenhagen, Denmark

172 Posts
Default

I'm not a genius to this kind of stuff but I tried and I tried to compile GMP-ECM, but it kept saying that it couldn't find gmp.h every time I wanted to ./configure --with-gmp=/usr/local. Then I went into the GMP folder and ran that ./configure stuff and it did a lot of things so I continued following Jes's guide and typed make. Then it worked for some time.
But when it finished I still couldn't find any ecm.exe, so I went back to the GMP-ECM directory and tried both ./configure and make commands but it still couldn't find gmp.h

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!
OmbooHankvald is offline   Reply With Quote
Old 2005-08-04, 09:49   #153
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

It's hard to tell what exactly went wrong from an error report this vague... what system are you on, and which steps exactly did you take, in which order?

Odds are that the installation of GMP and/or GMP-ECM is somewhat borked now. You might try deleting the gmp and ecm-gmp directories and start over, following Jes' instructions step-by-step, in the correct order (it matters).

Alex
akruppa is offline   Reply With Quote
Old 2005-08-04, 10:37   #154
OmbooHankvald
 
OmbooHankvald's Avatar
 
May 2005
Copenhagen, Denmark

12116 Posts
Default

Okay. Now I'm writing this post while I do the stuff...

1) Download http://prdownloads.sf.net/mingw/MinG...1.exe?download

2) Download http://prdownloads.sf.net/mingw/MSYS...0.exe?download

3) Install both (to C:\DC\MinGW and C:\DC\1.0)
3.1) Said y, y and c:\DC\MinGW to the DOS-box at the MSYS installation

4) Started MSYS from desktop and shut it down again

5) Download http://ftp.sunet.se/pub/gnu/gmp/gmp-4.1.4.tar.gz and moved the zip to C:\DC\1.0\home\joh04y18

6) Ran MSYS again

7) Typed "gunzip gmp-4.1.4.tar.gz"

8) Typed "tar -xvf gmp-4.1.4.tar" (and it started unpacking a whole bunch of stuff)

9) Typed "cd gmp-4.1.4" (changed directory)

10) Typed "./configure" (and it started checking and creating a bunch of stuff)

11) Typed "make install" (and it came up with a whole bunch of weird stuff)

12) Download http://home.in.tum.de/~kruppa/ecm-6.0.tar.gz and moved the zip to C:\DC\1.0\home\joh04y18

13) Back in the ~ directory I typed "gunzip ecm-6.0.tar.gz"

14) Typed "tar -xvf ecm-6.0.tar" (and it unpacked)

15) Went into the ecm-6.0 directory and typed "./configure --with-gmp=/usr/local" (and it checked stuff)

16) Typed "make"

17) Sat puzzled, suddenly realizing that now it was able to make ecm.exe

18) Hit myself with a hammer


As you can see, I apparently screwed up somewhere before.
Thanks guys!
OmbooHankvald is offline   Reply With Quote
Old 2005-08-04, 10:47   #155
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

>Thanks guys!

A pleasure, and congrats!

One thing though, the latest version of GMP-ECM is 6.0.1 which incorporates several bug fixes. It is at http://home.in.tum.de/~kruppa/ecm-6.0.1.tar.gz
I recommend using that one. It means you'll have to compile GMP-ECM again (sorry about that) but not GMP, i.e. restart at step 12), like so:

12) Download http://home.in.tum.de/~kruppa/ecm-6.0.1.tar.gz and move the zip to C:\DC\1.0\home\joh04y18

13) Back in the ~ directory type "gunzip ecm-6.0.1.tar.gz"

14) Type "tar -xvf ecm-6.0.1.tar" (and it will unpack)

15) Go into the ecm-6.0.1 directory and type "./configure --with-gmp=/usr/local" (and it'll check stuff)

16) Type "make"


Alex
akruppa is offline   Reply With Quote
Old 2005-08-04, 10:54   #156
OmbooHankvald
 
OmbooHankvald's Avatar
 
May 2005
Copenhagen, Denmark

172 Posts
Default

Quote:
Originally Posted by akruppa
It means you'll have to compile GMP-ECM again (sorry about that)

Alex
Nooooooooo!

Just kidding, actually. That was easy as pie. Thanks again, 6.0.1 ecm.exe created
OmbooHankvald is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
GMP 6.1.0 released jwaltos Software 0 2015-11-10 03:36
GTX 960 Released Mark Rose GPU Computing 12 2015-06-12 09:51
GCC 4.8 released Dubslow Programming 0 2013-03-24 07:37
PRPNet 4.0.1 Released Joe O Sierpinski/Riesel Base 5 1 2010-10-22 20:11
PFGW 3.2.3 has been Released rogue Software 10 2009-10-28 07:07

All times are UTC. The time now is 13:48.


Mon Aug 2 13:48:53 UTC 2021 up 10 days, 8:17, 1 user, load averages: 1.88, 2.02, 1.98

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.