mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2014-08-20, 08:20   #1
GodyDeeps
 
Aug 2014

1 Posts
Default Failed to Load GPU Sorting Engine (sort_engine_sm20.dll)

Hello Everyone,

I've followed the Beginners Guide to NFS.. things work with my i7, but I really want to use cuda. I have msieve152_svn942_win64_cuda.zip setup; however, when I run msieve w/ CUDA (either alone or from factmsieve.py) I receive the following:

.\msieve.exe -np1 -nps -t 8
cannot load library 'sort_engine_sm20.dll', error 126
error: failed to load GPU sorting engine


I have a GTX 660, i7, CUDA 6.0 ToolKit installed...

I also tried msieve150_win64_cuda.zip and ran with msieve.gpu.exe and it looks like it uses my GPU and runs through poly selection fast, but also states "crap" after each number, and the dat.p file doesnt grow.

I'm also interested in getting my VC10 environment setup to properly build any of the msieve branches from SVN as well... I'm running into dependency hell (ecmlib/libecm? maybe gmp?).. any great guides that anyone knows would be appreciated.

Thanks!
GodyDeeps is offline   Reply With Quote
Old 2014-08-20, 13:04   #2
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

23×223 Posts
Default

Here's a compilation of the latest MSieve SVN using CUDA 5.5. It won't currently build using CUDA 6.0. This latest version also has some bug fixes that JasonP made to address issues that were found with larger datasets.
Attached Files
File Type: zip MSieve153_SVN967_64bit.zip (626.6 KB, 364 views)
wombatman is offline   Reply With Quote
Old 2014-08-20, 22:17   #3
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

72·11 Posts
Default

Quote:
Originally Posted by wombatman View Post
Here's a compilation of the latest MSieve SVN using CUDA 5.5. It won't currently build using CUDA 6.0. This latest version also has some bug fixes that JasonP made to address issues that were found with larger datasets.
It builds for me with CUDA 6.5 and I don't recall problems with CUDA 6.0. Do you remember what wouldn't build?

Brian

Last fiddled with by Brian Gladman on 2014-08-20 at 22:17
Brian Gladman is offline   Reply With Quote
Old 2014-08-20, 23:02   #4
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

110111110002 Posts
Default

It built with 6.0, but when I actually ran it, I got the following:

Code:
[c:\dorkdom\svn_checkout\msieve-code\trunk\b40c\b40c\radix_sort\../radix_sort/tex_ref.cuh, 71] cudaBindTexture failed (CUDA error 20: invalid channel descriptor)
[C:/Dorkdom/SVN_Checkout/msieve-code/trunk/b40c/sort_engine.cu, 95] sort engine: (CUDA error 20: invalid channel descriptor)
Edit: And now I see that wrote "wouldn't build" above. So, yeah, it'll build absolutely fine, but won't run at all using CUDA 6.0. I'll try with CUDA 6.5 and see if that's still the case for me.


Yeah, same issue with CUDA 6.5. Builds successfully (including the sort engine dll) but gives this error when actually running it:

Code:
[c:\dorkdom\svn_checkout\msieve-code\trunk\b40c\b40c\radix_sort\../radix_sort/tex_ref.cuh, 71] cudaBindTexture failed (CUDA error 20: invalid channel descriptor)
[C:/Dorkdom/SVN_Checkout/msieve-code/trunk/b40c/sort_engine.cu, 95] sort engine: (CUDA error 20: invalid channel descriptor)

Last fiddled with by wombatman on 2014-08-20 at 23:20
wombatman is offline   Reply With Quote
Old 2015-01-03, 15:27   #5
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

10111001000012 Posts
Default

Could I bug someone to compile a version of msieve with cuda 5.5 and mpir compiled for core 2. I get the above bug when compiling myself with a later cuda version. My version of VS2012 is completely messed up with header files missing etc so I can't use an earlier version of cuda than 6.5 myself.

It looks like msieve needs to move to http://nvlabs.github.io/cub/ which replaces b40c.
henryzz is offline   Reply With Quote
Old 2015-01-03, 17:23   #6
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3×1,181 Posts
Default

CUB is really nice and has support for more modern GPUs. Maybe someday...
jasonp is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting on chinese remainder theorem alpertron Math 23 2017-12-15 16:46
PC freezes under load (usually) KadenBiggs Hardware 23 2017-01-26 08:03
Boat Load of 2##### +/- primes pdazzl FactorDB 7 2014-06-20 14:45
Card Sorting Probability Mini-Geek Math 13 2007-01-13 15:31
Sorting Files into 'chunks' of size X antiroach Programming 17 2004-03-01 01:15

All times are UTC. The time now is 11:04.


Mon Oct 25 11:04:10 UTC 2021 up 94 days, 5:33, 0 users, load averages: 1.14, 1.16, 1.15

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.