fireice-uk / xmr-stak-nvidia

Monero NVIDIA miner
GNU General Public License v3.0
249 stars 99 forks source link

nvcc fatal : Unsupported gpu architecture 'compute_60' #132

Closed retronoodle closed 6 years ago

retronoodle commented 6 years ago

I get the feeling that this is related to CUDA somehow, but I'm not sure - any ideas would be much appreciated!

psychocrypt commented 6 years ago

you are using CUDA 7 or 7.5. Please change the gpu architecture( s. README.md) or update your cuda. CUDA 7.5 is not supporting pascal gpus.

Am 19.09.2017 5:32 Nachm. schrieb "Tim Monaghan" notifications@github.com:

I get the feeling that this is related to CUDA somehow, but I'm not sure - any ideas would be much appreciated!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fireice-uk/xmr-stak-nvidia/issues/132, or mute the thread https://github.com/notifications/unsubscribe-auth/AYsxtqS4vve5SSaKvBGrhDnkYpTYWafwks5sj92agaJpZM4PclQT .

retronoodle commented 6 years ago

Hi, thanks - so are you talking about doing something like this? cmake . -DCUDA_ARCH=61

Only I'm not sure what value would indicate 7.5

Thanks again!

mordka commented 6 years ago

@retronoodle find your card on this list https://developer.nvidia.com/cuda-gpus and just copy these 2 digits

jcklasseter commented 6 years ago

@mordka I've a Tesla M60. Ive tried cmake . -DCUDA_ARCH=52; make install. I just get No CUDA device found! on the binary's first run (null config.txt). Any ideas? It's CUDA 7.5, on a Ubuntu 16.04 system.

The result of lspci is 00:1e.0 VGA compatible controller: NVIDIA Corporation GM204GL [Tesla M60] (rev a1)

mordka commented 6 years ago

@jcklasseter it looks like it's another problem #2 That's all I know.

jcklasseter commented 6 years ago

@mordka Thanks for the link, but I don't even get a suggested output from the binary as they did there. Not your problem though. Maybe I'll open a new issue? I feel like there's alot of overlap with currently open issues though. Thanks regardless

mordka commented 6 years ago

@jcklasseter oh, there is another one here #39 Check if your CUDA driver works properly.

psychocrypt commented 6 years ago

Yes please check your cuda driver.

Am 22.09.2017 10:43 Nachm. schrieb "Paweł" notifications@github.com:

@jcklasseter https://github.com/jcklasseter oh, there is another one here #39 https://github.com/fireice-uk/xmr-stak-nvidia/issues/39 Check if your CUDA driver works properly.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fireice-uk/xmr-stak-nvidia/issues/132#issuecomment-331555890, or mute the thread https://github.com/notifications/unsubscribe-auth/AYsxtvkVSp_HeGXRUWruR7E6FG9fp-Lhks5slBwKgaJpZM4PclQT .

rpinola commented 6 years ago

I have this exact same issue and tried all that was suggested in this thread. It must be something related to cuda installation. Of course I am also a noob and rarely build stuff from source.

nvcc fatal : Unsupported gpu architecture 'compute_61'

How would you check your cuda driver?

psychocrypt commented 6 years ago

Driver can be checked with 'nvidia-smi'. If you are not owning a pascal gpu you can also set your architecture explicit. -DCUDA_ARCH For more information please see README.md.

Am 28.09.2017 1:26 Nachm. schrieb "rpinola" notifications@github.com:

I have this exact same issue and tried all that was suggested in this thread. It must be something related to cuda installation.

nvcc fatal : Unsupported gpu architecture 'compute_61'

How would you check your cuda driver?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fireice-uk/xmr-stak-nvidia/issues/132#issuecomment-332808048, or mute the thread https://github.com/notifications/unsubscribe-auth/AYsxtgS_8_Z7e0ITV-ZqZe4VpOnF2mcAks5sm4JRgaJpZM4PclQT .

jcklasseter commented 6 years ago

For me, it turns out I had everything installed correctly, I hadn't restarted the system recently enough and as such nvidia-smi didn't detect the card. After the restart nvidia-smi and the other problems were fixed.

retronoodle commented 6 years ago

Easiest way is to upgrade cuda to 8. Did you try that yet?

On Sep 28, 2017 5:26 AM, "rpinola" notifications@github.com wrote:

I have this exact same issue and tried all that was suggested in this thread. It must be something related to cuda installation.

nvcc fatal : Unsupported gpu architecture 'compute_61'

How would you check your cuda driver?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fireice-uk/xmr-stak-nvidia/issues/132#issuecomment-332808048, or mute the thread https://github.com/notifications/unsubscribe-auth/ANV7UEYT_iz71M_QQ2sSq5zICqcGzT6Yks5sm4JRgaJpZM4PclQT .

rpinola commented 6 years ago

@retronoodle

I installed the latest cuda which was 9.0.

Using these installation files from Nvidia:

NVIDIA-Linux-x86_64-384.90.run cuda_9.0.176_384.81_linux.run gpucomputingsdk_4.0.17_linux.run

For Mint 18.2

retronoodle commented 6 years ago

Yeah, that's what ended up working for me - sorry I mistyped - it's 9 you want.

Hopefully someone can help you out!

Thanks

On Fri, Sep 29, 2017 at 2:06 AM, rpinola notifications@github.com wrote:

@retronoodle https://github.com/retronoodle

I installed the latest cuda which was 9.0.

Using these installation files from Nvidia:

NVIDIA-Linux-x86_64-384.90.run cuda_9.0.176_384.81_linux.run gpucomputingsdk_4.0.17_linux.run

For Mint 18.2

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fireice-uk/xmr-stak-nvidia/issues/132#issuecomment-333060221, or mute the thread https://github.com/notifications/unsubscribe-auth/ANV7UA9ioYZIkYOCf7QRMwNKkSdGHwNwks5snKTygaJpZM4PclQT .

psychocrypt commented 6 years ago

solved.

monajalal commented 1 year ago

for me I added 52 to my Dockerfile for M60 GPU and problem solved

    NVCC_GENCODE="-gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_80,code=sm_80" \