mersenneforum.org  

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

Reply
 
Thread Tools
Old 2014-10-20, 18:11   #298
Karl M Johnson
 
Karl M Johnson's Avatar
 
Mar 2010

3×137 Posts
Default

Oh, this thread is certainly alive.
Is there a page with gmp-ecm CUDA binaries for Windows?
Karl M Johnson is offline   Reply With Quote
Old 2014-12-06, 21:06   #299
diep
 
diep's Avatar
 
Sep 2006
The Netherlands

13318 Posts
Default

Hi, would this work for 69 * 2 ^ n - 1 ?

I would want to give it a shot at n > 4 million if there is any hope it can work for it efficiently...

Thanks, Vincent
diep is offline   Reply With Quote
Old 2014-12-06, 22:18   #300
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

13·137 Posts
Default

GPU-ECM is limited to 2^1018-1 (~300 digits).
wombatman is offline   Reply With Quote
Old 2014-12-25, 16:54   #301
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

2×33×109 Posts
Default

Just got a new 750 Ti. I am trying to get ecm_gpu to work but it keeps on crashing for me. It seems to work with very small values of B1(2000 is around the peak). Is there something I am missing? mfaktc works.
I am using the binary in post 243.
Is it possible that the binary uses cpu instructions I don't have on my core2? I would guess it wouldn't work at all if that was the case.
henryzz is offline   Reply With Quote
Old 2014-12-25, 21:12   #302
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

250428 Posts
Default

Quote:
Originally Posted by henryzz View Post
Just got a new 750 Ti. I am trying to get ecm_gpu to work but it keeps on crashing for me. It seems to work with very small values of B1(2000 is around the peak). Is there something I am missing? mfaktc works.
I am using the binary in post 243.
Is it possible that the binary uses cpu instructions I don't have on my core2? I would guess it wouldn't work at all if that was the case.
Have you tried rebuilding from a completely clean distro? Sometimes it's too easy to screw up the config options.
xilman is offline   Reply With Quote
Old 2014-12-25, 21:54   #303
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

2×33×109 Posts
Default

Quote:
Originally Posted by xilman View Post
Have you tried rebuilding from a completely clean distro? Sometimes it's too easy to screw up the config options.
It wasn't me that compiled the binary.

mfaktc worked out of the box. Do I need to compile the gmp-ecm binary myself?

Just realized I never specified that I was working on windows apart from the binary I referenced.

If there are instructions somewhere on the forum for installing cuda for linux that would be useful for the occasion I am on there. Windows is what I am really bothered with though.

Last fiddled with by henryzz on 2014-12-25 at 21:54
henryzz is offline   Reply With Quote
Old 2014-12-25, 23:08   #304
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

13×137 Posts
Default

Henry, that binary I made probably is using instructions that the core2 doesn't have. It was compiled in VS2012 on an Ivy Bridge-E.
wombatman is offline   Reply With Quote
Old 2014-12-25, 23:55   #305
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

2×33×109 Posts
Default

Quote:
Originally Posted by wombatman View Post
Henry, that binary I made probably is using instructions that the core2 doesn't have. It was compiled in VS2012 on an Ivy Bridge-E.
I will attempt to set up VS2012 Express with CUDA tomorrow. I haven't had much success getting MPIR and GMP_ECM working well together under VS in the past. Hopefully it is easier now.
henryzz is offline   Reply With Quote
Old 2014-12-26, 00:31   #306
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

13·137 Posts
Default

I found the MPIR build to be very simple to run (this was version 2.7.0). That is, I was able to open the solution file and pretty much build straight away without any major changes. Setting up the GPU_ECM project is a little more involved in that you have to change a number of things (paths to MPIR, etc), but isn't too bad.
wombatman is offline   Reply With Quote
Old 2014-12-26, 23:51   #307
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

2×33×109 Posts
Default

Getting mpir and ecm to compile was easy. I still haven't managed to get the gpu version to compile without error.
Getting various errors among the standard headers for some reason.

Is anyone able to compile a gpu version of ecm and msieve that should work on my system? (750 Ti and Q6600)
It seems something is screwed up on my system.
henryzz is offline   Reply With Quote
Old 2015-04-24, 16:07   #308
chris2be8
 
chris2be8's Avatar
 
Sep 2009

24·131 Posts
Default

Has anyone tested if ecm-gpu works correctly if you reduce ECM_GPU_SIZE_DIGIT to 16 bits (the default's 32)? Or got any performance figures for it?

I've searched the ecm-discuss mailing list archives but couldn't find any mention of it.

Chris
chris2be8 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running CUDA on non-Nvidia GPUs Rodrigo GPU Computing 3 2016-05-17 05:43
Error in GMP-ECM 6.4.3 and latest svn ATH GMP-ECM 10 2012-07-29 17:15
latest SVN 1677 ATH GMP-ECM 7 2012-01-07 18:34
Has anyone seen my latest treatise? davieddy Lounge 0 2011-01-21 19:29
Latest version? [CZ]Pegas Software 3 2002-08-23 17:05

All times are UTC. The time now is 15:29.


Fri Aug 6 15:29:30 UTC 2021 up 14 days, 9:58, 1 user, load averages: 2.70, 2.93, 2.92

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.