ilkerccom / bitcrackrandomiser

Solo pool for Bitcoin Puzzle Transaction 66, 67 and 68.
https://btcpuzzle.info/
MIT License
85 stars 41 forks source link

Mac Support #16

Closed Alexxino closed 1 year ago

Alexxino commented 1 year ago

Hello, Within the description section it says that MacOS is supported however I only see Windows executables. I have tried the docker solution but I got the following error : Error detecting devices: CUDA driver version is insufficient for CUDA runtime version

Do you have any other solution?

Thanks!

ilkerccom commented 1 year ago

Hello,

Can you share your Docker run command?

Thanks.

16 Tem 2023 Paz, saat 21:59 tarihinde Alexxino @.***> şunu yazdı:

Hello, Within the description section it says that MacOS is supported however I only see Windows executables. I have tried the docker solution but I got the following error : Error detecting devices: CUDA driver version is insufficient for CUDA runtime version

Do you have any other solution?

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/ilkerccom/bitcrackrandomiser/issues/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIQEO2NPNDFSBZT2PAKDXQDXQQ2X5ANCNFSM6AAAAAA2MDNFSU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Best regards.

Ilker CINDIK Frontend/Backend Developer www.ilkerc.com http://www.ilkerc.com

Alexxino commented 1 year ago

Hello @ilkerccom ,

I just run the docker command in the documentation:

docker run --gpus all -it ilkercndk/bitcrackrandomiser:latest I have edited the settings and run the following: dotnet BitcrackRandomiser.dll

Thanks

ilkerccom commented 1 year ago

Thanks for reply.

Can you tell me the current cuda and driver version using the “nvidia-smi” command?

Maybe the Mac is using the primary GPU. You can also try the “—gpus device=0” or “—gpus device=1” arguments for Docker.

Thanks.

Alexxino commented 1 year ago

Looks like this is not for Mac M-chips arm64, only for windows and linux.

docker run --gpus device=0 -it ilkercndk/bitcrackrandomiser:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
ERRO[0000] error waiting for container:

The command "nvidia-smi" is not found neither in my mac or in the docker.

ilkerccom commented 1 year ago

Looks like this is not for Mac M-chips arm64, only for windows and linux.

docker run --gpus device=0 -it ilkercndk/bitcrackrandomiser:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
ERRO[0000] error waiting for container:

The command "nvidia-smi" is not found neither in my mac or in the docker.

Yes, you need to Nvidia GPU for docker image.