mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2013-06-13, 18:30   #1
VoltsNCodes
 
Jun 2013

910 Posts
Default Problem detecting GPU

Hello All,

I am attempting to set up Msieve to utilize my Nvidia Quadro 600's CUDA cores. Below are my machine's specs.

OS: Windows 7 Professional 64 bit
CPU: Intel Xeon E3 3.10 GHz
RAM: 8G
GPU: Nvidia Quatro 600

I have set up and downladed the precompiled binaries listed in this tutorial

http://gilchrist.ca/jeff/factoring/n...ers_guide.html

First I downloaded the GGNFS Binaries for the core2 64 bit listed here
http://gilchrist.ca/jeff/factoring/index.html

I already had Python installed on my machine, and found the necessary script, etc.

Next I downloded the precompiled MSIEVE binaries from the URL listed above, I downloaded the version: 1.52dev SVN 883 (with MPIR 2.6.0/GMP-ECM 6.4.4

Following the tutorial I edited the python sctipt to attempt to utilize my CUDA cores on my Quadro 600, but every time I attempt to run the program I recieve the following message:

Msieve Error: return value 4294967295. Is CUDA enabled? Terminating...

When I disable CUDA in the python script, the program runs perfectly fine, allowing Msieve to run. I have reinstalled my drivers for my Quadro, and CUDA cores are enabled in the NVidia control panel. Does anyone have any idea what I might be missing?

Thanks!
VoltsNCodes is offline   Reply With Quote
Old 2013-06-13, 19:27   #2
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

DD516 Posts
Default

Is there an msieve.log anywhere that can tell us more?
jasonp is offline   Reply With Quote
Old 2013-06-13, 19:35   #3
VoltsNCodes
 
Jun 2013

32 Posts
Default

My current method of executing involves using the python script, when I try to generate a log, I am entering the following at the command line

..\factMsieve.py -l msieve example

Is this correct?

I am sorry for all of the quesions
VoltsNCodes is offline   Reply With Quote
Old 2013-06-13, 19:52   #4
VoltsNCodes
 
Jun 2013

32 Posts
Default

Here is the log file

Again, I apologize for my ignorance
Attached Files
File Type: txt log.txt (22.6 KB, 144 views)
VoltsNCodes is offline   Reply With Quote
Old 2013-06-13, 20:06   #5
VoltsNCodes
 
Jun 2013

32 Posts
Default

Here is what I am seeing at the CMD window. The log file i posted previously is from when the program successfully ran without attempting to use CUDA cores. When I try to use the CUDA cores, the log file is not generated and this is what I see at the CMD window.
Attached Files
File Type: txt cmdError.txt (4.8 KB, 171 views)

Last fiddled with by VoltsNCodes on 2013-06-13 at 20:16
VoltsNCodes is offline   Reply With Quote
Old 2013-06-13, 23:36   #6
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

67258 Posts
Default

When the binary sees a command-line arg it doesn't understand, it prints the complete list. The -g option is not in the list as a valid option, making me think you are using an Msieve binary that is not compiled to use a GPU. Even if that's not correct, '-g 4' implies you have 5 GPUs present, which is unlikely.
jasonp is offline   Reply With Quote
Old 2013-06-14, 01:57   #7
VoltsNCodes
 
Jun 2013

118 Posts
Default

Ah ok, well I've tried multiple Msieve binaries from the link that I posted originally. I've tried the most recent, 1.52 and the one that was labeled CUDA, both gave me the same result. What would you reccomend?

Here are the exact versions from the website http://gilchrist.ca/jeff/factoring/index.html

1.52dev SVN 883 (with MPIR 2.6.0/GMP-ECM 6.4.4)
and
1.50 (compiled by Brian Gladman)

Last fiddled with by VoltsNCodes on 2013-06-14 at 02:01
VoltsNCodes is offline   Reply With Quote
Old 2013-06-14, 11:43   #8
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

DD516 Posts
Default

Does the 32-bit CUDA binary from sourceforge at least run?
jasonp is offline   Reply With Quote
Old 2013-06-14, 13:06   #9
VoltsNCodes
 
Jun 2013

916 Posts
Default

I'll try it and let you know, thanks again for all of the help!

Last fiddled with by VoltsNCodes on 2013-06-14 at 13:12
VoltsNCodes is offline   Reply With Quote
Old 2013-06-14, 13:19   #10
VoltsNCodes
 
Jun 2013

32 Posts
Default

It's running, I will post the log file when it finishes!

Last fiddled with by VoltsNCodes on 2013-06-14 at 13:35
VoltsNCodes is offline   Reply With Quote
Old 2013-06-14, 14:34   #11
VoltsNCodes
 
Jun 2013

916 Posts
Default

Alright, so I tested the msieve151_gpu bin and attached are my results in regards to CUDA. It worked perfectly fine, and completed when I wasn't attempting to use CUDA.

Note that in the attached text file, the first example I have GPU_NUM set to 1 in the python script and the GPU is not detected as CUDA enabled.

In the second example, I have GPU_NUM set to 0 and the GPU is detected as CUDA enabled.

Is there something that I am not changing correctly in order to use the CUDA Cores on my GPU?

It looks as though it is finding the GPU, but now I guess I'm trying to figure out how to utilize the cores
Attached Files
File Type: txt Errors.txt (3.5 KB, 254 views)

Last fiddled with by VoltsNCodes on 2013-06-14 at 14:54
VoltsNCodes is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting bigInt roots mathPuzzles Computer Science & Computational Number Theory 9 2017-07-01 03:35
problem with my PC science_man_88 Software 1 2011-01-31 21:40
Msieve not detecting L3 cache 10metreh Msieve 8 2010-10-26 01:42
Detecting arithmetic progressions grandpascorpion Math 18 2007-03-28 15:08
51 problem Neves Miscellaneous Math 5 2004-02-10 22:59

All times are UTC. The time now is 00:52.


Sat Jul 17 00:52:23 UTC 2021 up 49 days, 22:39, 1 user, load averages: 1.38, 1.48, 1.41

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.