mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Msieve (https://www.mersenneforum.org/forumdisplay.php?f=83)
-   -   Can anyone help me about msieve 1.53 with CUDA? (https://www.mersenneforum.org/showthread.php?t=21595)

Seto 2016-09-22 19:50

Can anyone help me about msieve 1.53 with CUDA?
 
I tried the precompiled version from network.
[QUOTE]cannot load library 'sort_engine_sm20.dll', error 126
error: failed to load GPU sorting engine[/QUOTE]
This error is reported when I try large number.

I tried to compile it with cuda myself.
But I don't know how to compile ecm. It miss the gmp.h.
Or can anyone please share a precompiled version with me? Thank you so much.

VBCurtis 2016-09-22 20:25

it's not the compilation, it's the dll (helper file) you need from CUDA files. Some copies of msieve are zipped with those dll's, others aren't. A google search for that specific dll file (and perhaps a repeat if a later error message asks for a new one) should do the job for you.

Seto 2016-09-23 03:12

[QUOTE=VBCurtis;443245]it's not the compilation, it's the dll (helper file) you need from CUDA files. Some copies of msieve are zipped with those dll's, others aren't. A google search for that specific dll file (and perhaps a repeat if a later error message asks for a new one) should do the job for you.[/QUOTE]

[url]http://www.mersenneforum.org/showthread.php?t=19615[/url]

I download the compiled version from here. But it is with no success.
There's sort_engine_sm20.dll and stage1_core_sm20.ptx.
And I place a cudart64_55.dll in it.
It doesn't report that error now. But it crashes.
Could you please give me a working one? Thank you so much.

pinhodecarlos 2016-09-23 05:55

Maybe check this thread, last messages.

[url]http://www.mersenneforum.org/showthread.php?t=20796&page=5[/url]

Seto 2016-09-23 20:26

[QUOTE=pinhodecarlos;443284]Maybe check this thread, last messages.

[url]http://www.mersenneforum.org/showthread.php?t=20796&page=5[/url][/QUOTE]

msieve-svn991-cuda75-haswell.zip from this thread is finally working for me.

But when I try to refactoring the number below . It is changed. 309 digits become 308 digits. But another 309 digits is ok.
[B]original[/B]
263209838529653741309366162078767955401650210060093940479440536241110980313794956537153327107041219371342779419863684554849202277263853757273750327567871802106538309185809561001712198328099404198770096988081455939118836298393133358550417396551205893870871649995935725104508543665608276612812277299875371100701
[B]changed [/B]
Sat Sep 24 04:22:53 2016 factoring 83440525043422150536435642999865482039852512165863283206010455083378304508293993404444849784633683350222665539992291197190412508449437134780902896928397677728770415760944075725409978726853310079317014035996450170280685616050670477076504286010378656707521139311349426864561297727128560307976920970251146963485 (308 digits)
[B]another 309 digits OK[/B]
118393457429966445423507908491531402270337754158882484675748105934148846524056619706311661917410487644299844878332906894614644688640160609665064262216677430298946939779894734468229486527102847923162321052481696280953569396894564473594046393586443528941960719601633381910534441944880914440596803530540949102921

EdH 2016-09-23 20:50

[QUOTE=Seto;443315]msieve-svn991-cuda75-haswell.zip from this thread is finally working for me.

But when I try to refactoring the number below . It is changed. 309 digits become 308 digits. But another 309 digits is ok.
[B]original[/B]
263209838529653741309366162078767955401650210060093940479440536241110980313794956537153327107041219371342779419863684554849202277263853757273750327567871802106538309185809561001712198328099404198770096988081455939118836298393133358550417396551205893870871649995935725104508543665608276612812277299875371100701
[B]changed [/B]
Sat Sep 24 04:22:53 2016 factoring 83440525043422150536435642999865482039852512165863283206010455083378304508293993404444849784633683350222665539992291197190412508449437134780902896928397677728770415760944075725409978726853310079317014035996450170280685616050670477076504286010378656707521139311349426864561297727128560307976920970251146963485 (308 digits)
[B]...[/B][/QUOTE]
It took out the small factor of 3...

Seto 2016-09-24 03:01

[QUOTE=EdH;443317]It took out the small factor of 3...[/QUOTE]

If 3 is the factor of it, I think the number should begin with 877. But instead, it doesn't.

Seto 2016-09-24 10:03

Maybe because of the number is too large? It's a 1025 bit number?

jasonp 2016-09-24 12:54

Current versions have a 1024-bit limit on the input size. The limit is easy to increase, but I don't do that because then people will think Msieve can factor 1024-bit RSA keys. An intelligence agency probably can, but we definitely cannot.


All times are UTC. The time now is 17:26.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.