Go Back > Great Internet Mersenne Prime Search > Software

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

2410 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.
 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:
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's Avatar
Mar 2017
US midwest

121618 Posts

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
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 offline   Reply With Quote
Old 2020-08-18, 07:03   #3
Jul 2020

23×3 Posts

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

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
mfaktc: a CUDA program for Mersenne prefactoring TheJudger GPU Computing 3497 2021-06-05 12:27
gr-mfaktc: a CUDA program for generalized repunits prefactoring MrRepunit GPU Computing 32 2020-11-11 19:56
"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 05:44.

Mon Jun 14 05:44:04 UTC 2021 up 17 days, 3:31, 0 users, load averages: 0.81, 0.89, 0.99

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.