mersenneforum.org  

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

Reply
 
Thread Tools
Old 2005-02-28, 14:03   #1
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

46438 Posts
Default GMP-ECM 6 released

Hi,

we have just released version 6 of GMP-ECM. The announcement and download links are found at

http://www.loria.fr/~zimmerma/records/ecm-6.0.html

Enjoy!

This thread can be used for discussion of the new version, such as questions about compiling, new features, choosing good parameters etc.

Alex

Update (2005-03-13): The page has moved to http://www.komite.net/laurent/soft/ecm/ecm-6.0.html

Last fiddled with by akruppa on 2005-03-13 at 17:28 Reason: Link update
akruppa is offline   Reply With Quote
Old 2005-02-28, 14:46   #2
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

22×5×373 Posts
Default

Quote:
Originally Posted by akruppa
Hi,

we have just released version 6 of GMP-ECM. The announcement and download links are found at

http://www.loria.fr/~zimmerma/records/ecm-6.0.html

Enjoy!

This thread can be used for discussion of the new version, such as questions about compiling, new features, choosing good parameters etc.

Alex
Nice!

If anyone builds a cygwin executable, please let me know. I do not have the
tools to do so.
R.D. Silverman is offline   Reply With Quote
Old 2005-02-28, 14:53   #3
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

I've installed the MinGW compiler as a cross-compiler on my Linux home box, I can make Pentium-3 binaries for Windows with it as soon as I get home. But I'm certainly interested in hearing about success (or failure!) stories compiling GMP-ECM 6 for Windows using various environments such as Cygwin, SFU etc.

Alex
akruppa is offline   Reply With Quote
Old 2005-02-28, 17:37   #4
JHansen
 
JHansen's Avatar
 
Apr 2004
Copenhagen, Denmark

22·29 Posts
Thumbs up

Quote:
Originally Posted by akruppa
But I'm certainly interested in hearing about success (or failure!) stories compiling GMP-ECM 6 for Windows using various environments such as Cygwin, SFU etc.
I've just installed MinGW and MSYS, and here GMP-ECM 6 compiled without problems.

Q: Does the binaries made with MinGW/MSYS require a .dll file of some sort, or can I use the binaries on a Windows box that hasn't got MinGW/MSYS installed?

--
Cheers,
Jes
JHansen is offline   Reply With Quote
Old 2005-02-28, 20:24   #5
smh
 
smh's Avatar
 
"Sander"
Oct 2002
52.345322,5.52471

118910 Posts
Default

Just managed to get a cygwin version to run but don't know anything about different processor options, and haven't done any testing. I'll see tomorrow.
smh is offline   Reply With Quote
Old 2005-02-28, 21:55   #6
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

9A316 Posts
Default

As far as I know, binaries built with MinGW don't require a special dll to run under Windows.

I've previously built GMP under MinGW with --disable-static --enable-shared which apparantly makes a dll suitable for linking with VC, and the ecm binary linked against that of course wanted the dll around to run.

I've now built GMP again with no special parameters and apparantly have a static library. Building ecm against it seems to work and it runs in Wine without any extra dlls.

Unfortunately the ecm.exe in Wine is about twice as slow as the native Linux build - I hope that's merely because of Wine.

I'm putting the binary (optimized for Pentium 3) online at http://home.in.tum.de/~kruppa/ecm6_p3.zip

Timings of the native Linux version with B1=1M on Kevin Hare's c301 are
Step 1 took 387910ms
Step 2 took 130220ms
Maybe a Windows user with a Pentium-3 could compare these to check if this binary is about as fast as it ought to be?

Alex
akruppa is offline   Reply With Quote
Old 2005-02-28, 22:00   #7
Mystwalker
 
Mystwalker's Avatar
 
Jul 2004
Potsdam, Germany

14778 Posts
Default

If I don't forget it, I can test it tomorrow with a 1 GHz P3. What is the clock rate of your P3?

btw.:
I'd like to have windows versions for P4 and Pentium-M.
If someone can point me to a comprehensible manual for this, I can do it myself the next days...
Mystwalker is offline   Reply With Quote
Old 2005-02-28, 22:05   #8
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

My P3 is 500 MHz.

Maybe Jes can give step-by-step instructions how to install MinGW, MSYS and compile gmp-ecm? I can't try as I don't have Windows anywhere.

Alex
akruppa is offline   Reply With Quote
Old 2005-02-28, 22:20   #9
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×3×13×79 Posts
Default

I can compile ecm on a PowerPC G5, but tune does not link. I get the following error:

gcc -g -O2 -o tune mpmod.o tune.o mul_lo.o libecm.a -lgmp -lm
ld: Undefined symbols:
___ecm_stderr
___ecm_stdout
make: *** [tune] Error 1
rogue is offline   Reply With Quote
Old 2005-02-28, 22:31   #10
JHansen
 
JHansen's Avatar
 
Apr 2004
Copenhagen, Denmark

11101002 Posts
Thumbs up

Quote:
Originally Posted by akruppa
Maybe Jes can give step-by-step instructions how to install MinGW, MSYS and compile gmp-ecm?
Sure!

1) Download the current Mingw http://prdownloads.sf.net/mingw/MinG...1.exe?download
and MSYS http://prdownloads.sf.net/mingw/MSYS...0.exe?download

1.5) I also downloaded the MinGW Runtime thingy's. Don't know if they are nessesary, but they won't hurt.

2) I made a folder called GNU and installed MinGW in c:\GNU\MinGW

2.5) I extracted the new runtime stuff and just overwrote what has there

3) I installed MSYS in c:\GNU\msys

Now you get an icon on the desktop where you can start the MinSys. Do this, because is creates your home folder. Then exit it again.

4) Download gmp and place it in your newly created home folder. (For me is was called C:\GNU\msys\1.0\home\Jes )

5) Start the MinSys up again from the desktop and type

gunzip gmp-4.1.4.tar.gz
tar -xvf gmp-4.1.4.tar
cd gmp-4.1.4
./configure
make install

Then GMP installs (takes about two or three cups of cofee ).

6) Afterwards, download ECM-GMP 6 from http://home.in.tum.de/~kruppa/ecm-6.0.tar.gz and place the file in your home folder.

7) In the "home" directory (type cd ~ RETURN to get there) type
gunzip ecm-6.0.tar.gz
tar -xvf ecm-6.0.tar
cd ecm-6.0
./configure --with-gmp=/usr/local
make

8) Look and behold! 4 executables have appeared, and the one to look out for is ecm.exe

Have fun

--
Cheers,
Jes

Last fiddled with by smh on 2005-03-28 at 11:27
JHansen is offline   Reply With Quote
Old 2005-03-01, 00:13   #11
BotXXX
 
BotXXX's Avatar
 
Aug 2003
Europe

2·97 Posts
Default

If you want to use MinGW/MSYS to compile GMP-ECM for an other processor you will have to compile both GMP 4.1.4 and GMP-ECM 6.0 with the same command.

the compiler should have have extra arguments like
gcc ........ -mcpu=pentiumpro -march=pentiumpro
... == other arguments and such

GCC manual
http://gcc.gnu.org/onlinedocs/

more about processor type and such.
http://gcc.gnu.org/onlinedocs/gcc-3....002d64-Options
BotXXX 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 16:00.

Sat Jan 16 16:00:53 UTC 2021 up 44 days, 12:12, 0 users, load averages: 1.53, 1.54, 1.61

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.