Is BSGS solver useless meanwhile and there are some better tools that you would suggest? I am only aware of Keyhunts' BSGS mode which is executed in CPU threads. A CUDA version would be nice to test and hopefully get a higher rate.
@Etar, are you even reading this anymore? Maybe under a different username? If so, please reply.
I am trying to compile your program
$ pbcompiler ./bsgscudaussualHTchangeble1_7_3.pb
PureBasic 5.31 (Linux - x64)
******************************************
Loading external modules...
Starting compilation...
Starting compilation...
Error: Line 2 - File not found (~/BSGS-cuda/./Curve64.pb).
This one was easy to fix, I just had to replace the backslash into a forward slash in line 2 of your program. I guess you were using Windows where folders are separated by the character '\' instead of '/' in Linux.
But then after another try I get the error indicating that no cuda.lib was found. I searched for this file but wasn't able to find, even not under my CUDA installation in /usr/local/cuda* there is absolutely no such file on a linux system. Where do we find this file? I was able to find a similar file and I thought I give a try
cp /usr/local/cuda-11.8/targets/x86_64-linux/lib/stubs/libcuda.so ~/BSGS-cuda/lib/
then I replaced line 42 by:
but the compiler still fails, see here:
$ pbcompiler ./bsgscudaussualHTchangeble1_7_3.pb
PureBasic 5.31 (Linux - x64)
******************************************
Loading external modules...
Starting compilation...
Starting compilation...
Including source: lib/Curve64.pb
10273 lines processed.
Creating the executable.
Error: Linker
/usr/bin/ld: purebasic.o: warning: relocation in read-only section `.text'
/usr/bin/ld: purebasic.o: relocation R_X86_64_PC32 against symbol `exit@@GLIBC_2.2.5' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
If anyone else here is reading along and can help, I am of course also very grateful for helpful tips and recommendations. Any help appreciated. Thank you
I tried to switch off PIE with code below at start and you can compile and build executable for Linux, but running that code ended with "Illegal instruction (core dumped)".
Import "-no-pie"
endimport
Actually I am trying to debug it, however I am not very far with it. No success yet.