mersenneforum.org  

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

Reply
 
Thread Tools
Old 2016-07-30, 17:07   #397
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

Quote:
Originally Posted by wombatman View Post
Edit: It helps if I actually send my response to the listserv instead of just Cyril. Sorry about that.
Every time I try and drive by a mailing list, I do the exact same thing. It's happened at least 3 times and I never seem to learn from it (possibly because I only do it ~once a year).
Dubslow is offline   Reply With Quote
Old 2016-08-04, 06:52   #398
cgy606
 
Feb 2012

778 Posts
Default

Quote:
Originally Posted by wombatman View Post
Honestly, I have no idea about 7 to 10 compatibility, but I don't think it should. I compile with VS2012 since I got a free copy of the full edition somewhere along the line.
Can you give me an idea on how to install gpu-ecm on a windows machine. I downloaded all the files, but the readme, readme.gpu install, and install ecm show up in a messed up format in notepad. I have downloaded visual studio 2015, so I believe I have the tool to compile gmp-ecm and build it, but not sure how to proceed.
cgy606 is offline   Reply With Quote
Old 2016-08-04, 15:01   #399
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

3·1,579 Posts
Default

Try wordpad; notepad sometimes pukes on linux-formatted-cr files.
(sorry, I have no compilation advice)
VBCurtis is offline   Reply With Quote
Old 2016-08-04, 15:39   #400
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

133428 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
Try wordpad; notepad sometimes pukes on linux-formatted-cr files.
(sorry, I have no compilation advice)
Better still for this sort of thing Notepad++
henryzz is offline   Reply With Quote
Old 2016-08-04, 17:37   #401
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

246308 Posts
Default

Quote:
Originally Posted by henryzz View Post
Better still for this sort of thing Notepad++
Even better, IMAO, is Emacs.

Let the religious wars commence.
xilman is offline   Reply With Quote
Old 2016-08-05, 06:04   #402
cgy606
 
Feb 2012

32·7 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
Try wordpad; notepad sometimes pukes on linux-formatted-cr files.
(sorry, I have no compilation advice)
Wordpad works fine, thanks.

Unfortunately, I have absolutely no idea how to build anything in visual studio. I am trying to build gpu-ecm, so I am following the instructions. You first have to build gmp-ecm. In order to build that on Windows, you need yasm. I got that and put it into vs2012, but I don't know how to change the environmental PATH YASMPATH; so I don't know if that is working. Next, I need to get mpir built. I am reading that readme, and it say to go to mpir.sln in the build_vc2012 folder and run the script and build, but I am getting all kinds of error (again don 't know if I am even building it correctly). I have no idea how to build using vs cause I have never done it. I know some of you have build gpu-ecm on windows machine. Any tips would be appreciated...

Last fiddled with by cgy606 on 2016-08-05 at 06:06
cgy606 is offline   Reply With Quote
Old 2016-08-05, 14:42   #403
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

1,741 Posts
Default

I truthfully don't remember all the steps I went through to get everything compiled successfully with VS2012 (I have no experience with VS2015). I'm attaching the gpu_ecm exe I have built. Try it out and see what dlls you need for it.
Attached Files
File Type: zip ecm_gpu.zip (372.0 KB, 134 views)
wombatman is offline   Reply With Quote
Old 2016-08-05, 17:55   #404
cgy606
 
Feb 2012

32·7 Posts
Default

I extracted the ecm_gpu.exe file and running with:

echo "144!+5" | ecm_gpu.exe -gpu -savea gpu.save -c 256 50000 0 >> gpu.out

And I got an error of "missing cudart64_70.dll". So I went to GeForce driver page and downloaded the latest nvidia package launcher and installed it. It installed however, when I went to rerun ecm_gpu.exe, I got the same error. What nvidia drivers did you install?
cgy606 is offline   Reply With Quote
Old 2016-08-05, 21:20   #405
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

33158 Posts
Default

You would need to install CUDA 7.0. Alternatively, you should be able to use the dll attached.

I'm also attaching mpir.dll, which I think you'll need too.
Attached Files
File Type: zip GPU_ECM_dlls.zip (327.0 KB, 137 views)
wombatman is offline   Reply With Quote
Old 2016-08-05, 22:32   #406
cgy606
 
Feb 2012

6310 Posts
Default

Quote:
Originally Posted by wombatman View Post
You would need to install CUDA 7.0. Alternatively, you should be able to use the dll attached.

I'm also attaching mpir.dll, which I think you'll need too.
Thanks, I think it is working now. Is there a way to multi-thread stage 2 when running the resume command?
cgy606 is offline   Reply With Quote
Old 2016-08-05, 22:49   #407
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

1,741 Posts
Default

You'll want to find ecm.py, written by WraithX on these forums. He recently added the ability to resume a file in a multithread fashion using that script.
wombatman 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 04:01.

Tue Apr 20 04:01:15 UTC 2021 up 11 days, 22:42, 0 users, load averages: 2.40, 2.35, 2.19

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.