mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2020-08-17, 12:46   #1
keisentraut
 
Jul 2020

2×5 Posts
Default mfaktc 0.21 - CUDA runtime wrong

I want to compile and run mfaktc 0.21 on my Arch Linux laptop. This has worked well until a few months ago, but now it doesn't, likely because of some upgrade which I didn't pay attention to....
I have a GeForce GTX 950M. It is only capable of doing around 130GHz days per day of factoring. Compute Capability is 5.0, the card is supported by CUDA toolkit 6.0-11.0. I have installed cuda package 11.0 from the Arch Linux official repository. I uncommented this line in the Makefile.
Code:
 NVCCFLAGS += --generate-code arch=compute_50,code=sm_50 # CC 5.x GPUs will use this code
All of this has worked flawlessly until a few months ago, but now I get the following error message when I run mfaktc:
Code:
CUDA version info   binary compiled for CUDA  11.0
  CUDA runtime version      32.66
  CUDA driver version       11.0
ERROR: CUDA runtime version must match the CUDA toolkit version used during compile!
Why the heck is the CUDA runtime version 32.66? Version 32 does not even exist, does it?
keisentraut is offline   Reply With Quote
Old 2020-08-17, 15:52   #2
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

22·7·163 Posts
Default

Check the runtime is present with permissions set to allow access and the runtime's version matches the binary's version. When there's an issue it will give gibberish for version number.

Similar to
Code:
CUDA version info
  binary compiled for CUDA  8.0
  CUDA runtime version      8.0
  CUDA driver version       9.20

Last fiddled with by kriesel on 2020-08-17 at 15:53
kriesel is online now   Reply With Quote
Old 2020-08-18, 07:03   #3
keisentraut
 
Jul 2020

2×5 Posts
Default

Ok, so this was totally stupid, sorry for asking in the first place: I recently had to put kernel updates on hold because of some unrelated regression. This prevented the nvidia driver from loading and therefore, it didn't work. It was the gibberish version number which got me baffled and made me not look into the obvious things.
keisentraut is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
mfaktc: a CUDA program for Mersenne prefactoring TheJudger GPU Computing 3369 2020-10-19 13:34
gr-mfaktc: a CUDA program for generalized repunits prefactoring MrRepunit GPU Computing 24 2020-09-20 20:13
"CUDA runtime version 0.0" when running mfaktc.exe froderik GPU Computing 4 2016-10-30 15:29
Is Moore's Law wrong, or is it wrong-headed (6th time around) jasong jasong 12 2016-05-27 11:01
ECM Runtime and F20 D. B. Staple Factoring 11 2007-12-12 16:52

All times are UTC. The time now is 15:42.

Mon Oct 19 15:42:15 UTC 2020 up 39 days, 12:53, 1 user, load averages: 2.11, 2.13, 1.92

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.