Pages:
Author

Topic: Pollard's kangaroo ECDLP solver - page 56. (Read 60698 times)

a.a
member
Activity: 126
Merit: 36
May 21, 2021, 08:22:48 PM
Expected RAM is 135431276999271530496 MB

The Executable is running into OOM (out of memory) and silently fails?
member
Activity: 406
Merit: 47
May 21, 2021, 08:19:47 PM
Anybody else see this:


What is problem detail?

try test compare with binary windows .exe release and you compile version Did both have problem?
full member
Activity: 706
Merit: 111
May 21, 2021, 07:21:32 PM
Anybody else see this:

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
May 21, 2021, 01:09:48 PM
if I remark this line , I can compile a EXE ~~
Code:
Int.cpp

void Int::Div(Int *a,Int *mod)

           qhat = _udiv128 (nh , nm , _dh , &qrem);


1>..\SECPK1\Int.cpp(1097): error C3861: '_udiv128':  identifier not found

Don't do that, if you comment that out you will break division and Kangaroo won't work properly.

Windows has a problem with 128-bits multiplication and division intrinsics, they have to be emulated as macros by Kangaroo because they don't natively exist in the compiler (at least not until 2019 apparently).
a.a
member
Activity: 126
Merit: 36
May 21, 2021, 12:47:38 PM
What are you suggesting? That I compiled something else?

Well I used Visual Studio 2019 (Professional) on Windows 10 with CUDA 10.2 and Windows 10 SDK using the Visual Studio 2019 compiler (v142)

And if you google for _udiv128 you will find https://docs.microsoft.com/en-us/cpp/intrinsics/udiv128?view=msvc-160

Quote
The _udiv128 intrinsic is available starting in Visual Studio 2019 RTM.
jr. member
Activity: 82
Merit: 8
May 21, 2021, 12:21:12 PM

https://github.com/ZenulAbidin/Kangaroo-256

I can compile this project  in Visual Studio 2015  +  Windows 7  + CUDA 8 ,  only  1 errors ...
if I remark this line , I can compile a EXE ~~
Code:
Int.cpp

void Int::Div(Int *a,Int *mod)

           qhat = _udiv128 (nh , nm , _dh , &qrem);


1>..\SECPK1\Int.cpp(1097): error C3861: '_udiv128':  identifier not found


newbie
Activity: 33
Merit: 0
May 21, 2021, 08:44:28 AM
There are various compile versions.

Cuda 10
CUDA 10.2
CUDA 8

and CUDA 10.2 has targets for x32, x64 and x64 for SM 30 (which is actually targetting SM61)

So I will compile once for x64 with CUDA 10.2

EDIT:

here

https://github.com/ZenulAbidin/Kangaroo-256/issues/6

Thank you! I will test it on a V100 and let you know of any issues.
a.a
member
Activity: 126
Merit: 36
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
May 20, 2021, 06:34:13 AM
Which project do you actually need to be compiled? I could compile all variations, but would like to just compile the specific one you want...

I just need Release-x64, and whatever CUDA version that works for you.

Last time I checked, there was only one project inside the solution (though my memory might be failing me), which is the main Kangaroo program, though there might be a second project for kangaroo tests. I just need the project for main Kangaroo.

EDIT: Yeah I saw your issue, now it's ready https://github.com/ZenulAbidin/Kangaroo-256/releases/tag/v2.3
a.a
member
Activity: 126
Merit: 36
May 20, 2021, 06:09:45 AM
There are various compile versions.

Cuda 10
CUDA 10.2
CUDA 8

and CUDA 10.2 has targets for x32, x64 and x64 for SM 30 (which is actually targetting SM61)

So I will compile once for x64 with CUDA 10.2

EDIT:

here

https://github.com/ZenulAbidin/Kangaroo-256/issues/6
newbie
Activity: 33
Merit: 0
May 20, 2021, 05:26:15 AM
Which project do you actually need to be compiled? I could compile all variations, but would like to just compile the specific one you want...


Yup, the latest code here if you could compile would be great.
https://github.com/ZenulAbidin/Kangaroo-256

newbie
Activity: 33
Merit: 0
May 20, 2021, 05:22:55 AM
Sad to see there's no compiled .exe for the Kangaroo-256 fork. Compiling from the source throws a ton of errors, same with Jean_Luc's original version. But at least there is a working .exe for that one. I hope the dev finds time to compile the -256 fork on a Win machine  Smiley 

I could successfully build the fork. But would you trust me if I publish the file? Cheesy

I don't need to trust you. I just need to make sure your .exe doesn't have any network access. And since I'd run it inside an offline VM no need to worry about malware either. Thanks.
a.a
member
Activity: 126
Merit: 36
May 20, 2021, 04:07:33 AM
Which project do you actually need to be compiled? I could compile all variations, but would like to just compile the specific one you want...
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
May 20, 2021, 03:39:42 AM
Sad to see there's no compiled .exe for the Kangaroo-256 fork. Compiling from the source throws a ton of errors, same with Jean_Luc's original version. But at least there is a working .exe for that one. I hope the dev finds time to compile the -256 fork on a Win machine  Smiley 

I could successfully build the fork. But would you trust me if I publish the file? Cheesy

Upload the exe somewhere like on zippyshare and then PM me the link so I can make a Github release out of it.

Thank you very much for your help, I appreciate it  Smiley
a.a
member
Activity: 126
Merit: 36
May 19, 2021, 03:57:05 PM
Sad to see there's no compiled .exe for the Kangaroo-256 fork. Compiling from the source throws a ton of errors, same with Jean_Luc's original version. But at least there is a working .exe for that one. I hope the dev finds time to compile the -256 fork on a Win machine  Smiley 

I could successfully build the fork. But would you trust me if I publish the file? Cheesy
full member
Activity: 706
Merit: 111
May 19, 2021, 03:41:17 PM
So what exactly does your fork do?  Make it able to search in a 256 bit range? Anything else?

Yea that's it, just make it able to search in a 256 bit range. That's all he was working on.
full member
Activity: 1232
Merit: 242
Shooters Shoot...
May 19, 2021, 03:23:05 PM
So what exactly does your fork do?  Make it able to search in a 256 bit range? Anything else?
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
a.a
member
Activity: 126
Merit: 36
May 19, 2021, 01:33:05 PM
What is the url of the fork?
newbie
Activity: 33
Merit: 0
May 19, 2021, 12:15:58 PM
Sad to see there's no compiled .exe for the Kangaroo-256 fork. Compiling from the source throws a ton of errors, same with Jean_Luc's original version. But at least there is a working .exe for that one. I hope the dev finds time to compile the -256 fork on a Win machine  Smiley 
Pages:
Jump to: