Pages:
Author

Topic: BSGS solver for cuda (Read 3827 times)

newbie
Activity: 16
Merit: 0
October 02, 2024, 05:46:38 AM
bro, how many times you want to ask??
jr. member
Activity: 34
Merit: 2
June 15, 2024, 02:26:55 PM
Hi there,

Does anyone  know of a similar implementation to leverage GPU for linux? Thank you!
member
Activity: 43
Merit: 10
June 13, 2024, 09:10:23 PM
Does anyone knows of a similar implementation for linux? Ubuntu?

Thanks.


People were tinkering trying to compile this for Linux a few pages back, but apparently still no success.

Other than that I don't think there is anything else right now.


Thanks for explanantion. But thats weird cause on keyhunt CPU i have 200 Pk/s.

Maybe your GPU simply isn't beefy enough to outdo Keyhunt with your current setup?

300Mk/s sounds a bit slow.
jr. member
Activity: 34
Merit: 2
June 10, 2024, 08:15:58 PM
Does anyone knows of a similar implementation for linux? Ubuntu?

Thanks.
newbie
Activity: 9
Merit: 0
June 04, 2024, 05:36:45 PM
so the speed is around 300MKeys, wheres my exakeys? Grin

Cnt:b8c6800000000001 [1][ 316 ] = 316 MKeys/s x2^27.0=2^55.31 Jt:00:05:00 Tt:00:05:03


It says  316Mk/s  x  2^27.0  =  2^55.31

2^55.31  =  44665177000000000

So this is your speed. Around 44 Pk/s (or 0.04 Ek/s).

Thanks for explanantion. But thats weird cause on keyhunt CPU i have 200 Pk/s.
jr. member
Activity: 34
Merit: 2
May 23, 2024, 12:30:09 PM
Hi there,

Is there a "version" of this for Ubuntu? Thanks.
member
Activity: 43
Merit: 10
May 21, 2024, 05:40:49 PM
so the speed is around 300MKeys, wheres my exakeys? Grin

Cnt:b8c6800000000001 [1][ 316 ] = 316 MKeys/s x2^27.0=2^55.31 Jt:00:05:00 Tt:00:05:03


It says  316Mk/s  x  2^27.0  =  2^55.31

2^55.31  =  44665177000000000

So this is your speed. Around 44 Pk/s (or 0.04 Ek/s).
newbie
Activity: 9
Merit: 0
May 21, 2024, 04:59:43 AM
so the speed is around 300MKeys, wheres my exakeys? Grin

Cnt:b8c6800000000001 [1][ 316 ] = 316 MKeys/s x2^27.0=2^55.31 Jt:00:05:00 Tt:00:05:03
newbie
Activity: 12
Merit: 0
March 25, 2024, 04:04:31 AM
I believe citb0in is asking where to download the PureBasic compiler itself, not Etar's PureBasic source code file(s). I haven't searched myself, but it shouldn't be rocket science to find the needed version of the PureBasic compiler for Linux with the help of internet search engines and/or Linux package search sites.

That was my question, absolutely. The source code is available but I wasn't able to found a working and usable PureBasic installation source.

Really, none of y’all could find it?

https://www.purebasic.com/pricing.php

Yes, you have to pay for it. Once you pay for it, you can download any new or legacy versions, windows and/or Linux. You will need the one that Etar mentions in his PB code.

Exactly, you can buy it or...you can just search in the internet...

Does anyone have any clue regarding the no output when running the binaries after linux compilation?  The binaries just close themselves  Huh
full member
Activity: 1162
Merit: 237
Shooters Shoot...
March 24, 2024, 09:07:34 PM
I believe citb0in is asking where to download the PureBasic compiler itself, not Etar's PureBasic source code file(s). I haven't searched myself, but it shouldn't be rocket science to find the needed version of the PureBasic compiler for Linux with the help of internet search engines and/or Linux package search sites.

That was my question, absolutely. The source code is available but I wasn't able to found a working and usable PureBasic installation source.

Really, none of y’all could find it?

https://www.purebasic.com/pricing.php

Yes, you have to pay for it. Once you pay for it, you can download any new or legacy versions, windows and/or Linux. You will need the one that Etar mentions in his PB code.
hero member
Activity: 630
Merit: 731
Bitcoin g33k
March 24, 2024, 09:27:26 AM
I believe citb0in is asking where to download the PureBasic compiler itself, not Etar's PureBasic source code file(s). I haven't searched myself, but it shouldn't be rocket science to find the needed version of the PureBasic compiler for Linux with the help of internet search engines and/or Linux package search sites.

That was my question, absolutely. The source code is available but I wasn't able to found a working and usable PureBasic installation source.
hero member
Activity: 714
Merit: 1010
Crypto Swap Exchange
March 24, 2024, 08:47:23 AM

I believe citb0in is asking where to download the PureBasic compiler itself, not Etar's PureBasic source code file(s). I haven't searched myself, but it shouldn't be rocket science to find the needed version of the PureBasic compiler for Linux with the help of internet search engines and/or Linux package search sites.


Maybe @etar can help us here ?

You may be lucky if you would address OP with correct spelling of his username @Etar, but maybe you're still unlucky because Etar was last active in this forum around July 23rd, 2023.
newbie
Activity: 12
Merit: 0
March 23, 2024, 08:07:34 AM
I successfully compiled it for Linux, but the program just closes without an error. Has anyone been able to solve this?
Code:
# ./onlygen1_9_6File -t 256 -b 96 -p 506 -w 30 -htsz 29
Number of GPU threads set to #256
Number of GPU blocks set to #96
Number of pparam set to #506
Items number set to 2^30=1073741824
HT size set to 2^29
initHTsize #1
APP VERSION: 1.9.6File-onlygen0
**********************************************************************************
 This version [1.9.6File-onlygen0] may content various bugs,
 Don`t use this version for serious task.
 It is needed to test the possibility of using the -w parameter greater than 30
 if you accept this press ENTER to continue or close the program otherwise.
**********************************************************************************

I have dedicated some time to compile the BSGS, the onlyGen file and BSGS-fractions in Linux with your instructions. The compilation was successfully for all of them however, when running the files they display the initial text but after that it closes without any output.
What are we missing here ?

This is and example of the execution, don't take the arguments seriously since it was just to test:

Code:
vboxuser@ubuntupurebasic:~/purebasic/compilers$ ./generateHT  -t 256 -b 96 -p 506 -w 30  -pk 8000000000000000 -pke ffffffffffffffff -pb 03100611c54dfef604163b8358f7b7fac13ce478e02cb224ae16d45526b25d9d4d -htsz 28
Number of GPU threads set to #256
Number of GPU blocks set to #96
Number of pparam set to #506
Items number set to 2^30=1073741824
Range begin: 0x8000000000000000
Range end: 0xffffffffffffffff
Pubkey set to 03100611c54dfef604163b8358f7b7fac13ce478e02cb224ae16d45526b25d9d4d
HT size set to 2^28
initHTsize #1
APP VERSION: 1.9.6File-onlygen0
**********************************************************************************
 This version [1.9.6File-onlygen0] may content various bugs,                          
 Don`t use this version for serious task.                                      
 It is needed to test the possibility of using the -w parameter greater than 30
 if you accept this press ENTER to continue or close the program otherwise.    
**********************************************************************************
Same behavior for the bsgs and the bsgs-fractions. Maybe @etar can help us here ?
I have also rented a Linux server and tried to run the binaries there just in case they didn't work on my Linux because GPU or Ram issues but I had the same results... Sad
newbie
Activity: 12
Merit: 0
March 17, 2024, 05:01:19 AM
hero member
Activity: 630
Merit: 731
Bitcoin g33k
March 17, 2024, 03:18:55 AM
where to download pb ?
newbie
Activity: 9
Merit: 3
March 16, 2024, 12:43:28 PM
if you provide some instructions on how to compile on Linux I might look into it.
Code:
apt install build-essential gcc g++ libxxf86vm-dev libxine2-dev unixodbc-dev libsdl1.2-dev libsdl2-dev libssl-dev libgtk2.0-dev libgtk-3-dev libwebkit2gtk-4.0-dev libvlc-dev
apt install libcudart9.1
export PUREBASIC_HOME=~/purebasic && export PATH=$PUREBASIC_HOME/compilers:$PATH

Replace lib\ to lib/ in the source
And add this
Code:
Import "-no-pie"
endimport

Code:
root@vm:~/purebasic/compilers# cat /etc/lsb-release | grep -i release
DISTRIB_RELEASE=18.04
root@vm:~/purebasic/compilers# ln -s /usr/lib/x86_64-linux-gnu/libcuda.so BSGS-cuda/lib/cuda.lib
root@vm:~/purebasic/compilers# ./pbcompiler BSGS-cuda/1_9_7File.pb -e 1_9_7File

******************************************
PureBasic 5.31 (Linux - x64)
******************************************

Loading external modules...
Starting compilation...
Starting compilation...
Including source: lib/Curve64.pb
27392 lines processed.
Creating the executable.

- Feel the ..PuRe.. Power -

root@vm:~/purebasic/compilers# ./1_9_7File -h
 -t      Number of GPU threads, default 256
 -b      Number of GPU blocks, default 132
 -p      Number of pparam, default 400
 -d      Select GPU IDs, default
-pb      Set single uncompressed/compressed pubkey for searching
-pk      Range start from , default 0x01
-pke     End range
-w       Set number of baby items 2^ or decimal representation
-htsz    Set number of HashTable 2^ , default 25
    Recommendation:
    with htsz 27 value -w should be less Or equil To 1331331443 Or 2^30.310222637591963
    with htsz 28 value -w should be less or equil to 1777178603 Or 2^30.726941530690112
    with htsz 29 value -w should be less or equil to 3069485950 Or 2^31.515349920643907
    with htsz 30 value -w should be less or equil to 3069485951 Or 2^31.515349920643907
    with htsz 31 value -w should be less or equil to 3069485951 Or 2^31.515349920643907
-infile  Set file with pubkey for searching in uncompressed/compressed  format (search sequential)
-wl      Set recovery file from which the state will be loaded
-wt      Set timer for autosaving current state, default every 180seconds

Do not use Ubuntu 22.
hero member
Activity: 630
Merit: 731
Bitcoin g33k
March 16, 2024, 10:45:22 AM
if you provide some instructions on how to compile on Linux I might look into it.
newbie
Activity: 9
Merit: 3
March 16, 2024, 09:54:27 AM
I successfully compiled it for Linux, but the program just closes without an error. Has anyone been able to solve this?
Code:
# ./onlygen1_9_6File -t 256 -b 96 -p 506 -w 30 -htsz 29
Number of GPU threads set to #256
Number of GPU blocks set to #96
Number of pparam set to #506
Items number set to 2^30=1073741824
HT size set to 2^29
initHTsize #1
APP VERSION: 1.9.6File-onlygen0
**********************************************************************************
 This version [1.9.6File-onlygen0] may content various bugs,
 Don`t use this version for serious task.
 It is needed to test the possibility of using the -w parameter greater than 30
 if you accept this press ENTER to continue or close the program otherwise.
**********************************************************************************
newbie
Activity: 12
Merit: 0
March 12, 2024, 09:25:14 AM
Congrats for your software @etar

It would be nice to have this program for Linux or at least the binary to create the HT so we can rent a Linux server with big amount of RAM to make the HT and download it to our computers.
hero member
Activity: 630
Merit: 731
Bitcoin g33k
January 12, 2024, 02:47:04 AM
Thanks for your feedback. Please let us know your findings and hopefully you will have success. I tried a lot but finally gave up without a satisfying result. However I am still interested in testing this tool.

Wish you best of luck
citb0in
Pages:
Jump to: