mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2018-09-19, 17:42   #2872
SELROC
 

23×271 Posts
Default

Quote:
Originally Posted by kriesel View Post
Are you sure Windows isn't updating the driver again, perhaps from some local stored content? ("System restore" etc)

https://answers.microsoft.com/en-us/...2-20cd32f4b1e9

search disabling windows driver updates for other articles that may help

Why not disable Windows altogether and switch to Linux ?
  Reply With Quote
Old 2018-09-19, 18:16   #2873
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11×101 Posts
Default

Quote:
Originally Posted by nofaith628 View Post
Tried:
- Clean install of both Display Driver and CUDA
- CUDA 8.0 GA1
- CUDA 8.0 GA2

Still displaying CUDA driver version 9.20. Unable to match CUDA driver version with 8.0 despite efforts to reinstall driver.
Won't work with that CUDA version! Your GPU is Volta architecture and thus CUDA 9.0 or newer is needed in general. Due to some bugs in the CUDA compiler you'll need CUDA 9.2.88 or newer for mfaktc + Volta. Maybe some is able to build CUDA 9.2 binaries including CC 7.0.

Oliver
TheJudger is offline   Reply With Quote
Old 2018-09-20, 00:35   #2874
nofaith628
 
nofaith628's Avatar
 
Feb 2017

2×17 Posts
Default

Quote:
Originally Posted by TheJudger View Post
Won't work with that CUDA version! Your GPU is Volta architecture and thus CUDA 9.0 or newer is needed in general. Due to some bugs in the CUDA compiler you'll need CUDA 9.2.88 or newer for mfaktc + Volta. Maybe some is able to build CUDA 9.2 binaries including CC 7.0.

Oliver
Thanks for the answer! Is there any method as of now to get mfaktc 0.21 to run with a GPU that is of the Volta Architecture?
nofaith628 is offline   Reply With Quote
Old 2018-09-20, 02:48   #2875
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default

I think Oliver, TheJudger, (the author of mfaktc) told you what was needed. Is mfaktc not running under those conditions?
kladner is offline   Reply With Quote
Old 2018-09-20, 09:07   #2876
nofaith628
 
nofaith628's Avatar
 
Feb 2017

2216 Posts
Default

Quote:
Originally Posted by kladner View Post
I think Oliver, TheJudger, (the author of mfaktc) told you what was needed. Is mfaktc not running under those conditions?
Quote:
Originally Posted by TheJudger
Won't work with that CUDA version! Your GPU is Volta architecture and thus CUDA 9.0 or newer is needed in general. Due to some bugs in the CUDA compiler you'll need CUDA 9.2.88 or newer for mfaktc + Volta. Maybe some is able to build CUDA 9.2 binaries including CC 7.0.
On an another attempt, I have installed CUDA 10 from the Nvidia website. Supposedly CUDA 10 is a newer version of CUDA 9.2.88. I am not particularly tech savvy with the software side of things, may I ask what this sentence means?
Quote:
Maybe some is able to build CUDA 9.2 binaries including CC 7.0.
The error persists, and this is the output from mfaktc:

Code:
mfaktc v0.21 (64bit built)

Compiletime options
  THREADS_PER_BLOCK         256
  SIEVE_SIZE_LIMIT          32kiB
  SIEVE_SIZE                193154bits
  SIEVE_SPLIT               250
  MORE_CLASSES              enabled

Runtime options
  SievePrimes               25000
  SievePrimesAdjust         1
  SievePrimesMin            5000
  SievePrimesMax            100000
  NumStreams                3
  CPUStreams                3
  GridSize                  3
  GPU Sieving               enabled
  GPUSievePrimes            82486
  GPUSieveSize              64Mi bits
  GPUSieveProcessSize       16Ki bits
  Checkpoints               enabled
  CheckpointDelay           30s
  WorkFileAddDelay          600s
  Stages                    enabled
  StopAfterFactor           bitlevel
  PrintMode                 full
  V5UserID                  (none)
  ComputerID                (none)
  AllowSleep                no
  TimeStampInResults        no

CUDA version info
  binary compiled for CUDA  8.0
  CUDA runtime version      8.0
  CUDA driver version       10.0

CUDA device info
  name                      TITAN V
  compute capability        7.0
  max threads per block     1024
  max shared memory per MP  98304 byte
  number of multiprocessors 80
  clock rate (CUDA cores)   1455MHz
  memory clock rate:        850MHz
  memory bus width:         3072 bit

Automatic parameters
  threads per grid          655360
  GPUSievePrimes (adjusted) 82486
  GPUsieve minimum exponent 1055144

running a simple selftest...
ERROR: cudaGetLastError() returned 8: invalid device function
Still no luck.
nofaith628 is offline   Reply With Quote
Old 2018-09-20, 09:44   #2877
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

24·7·43 Posts
Default

Quote:
Originally Posted by nofaith628 View Post
On an another attempt, I have installed CUDA 10 from the Nvidia website. Supposedly CUDA 10 is a newer version of CUDA 9.2.88. I am not particularly tech savvy with the software side of things, may I ask what this sentence means?


The error persists, and this is the output from mfaktc:

Code:
mfaktc v0.21 (64bit built)

Compiletime options
  THREADS_PER_BLOCK         256
  SIEVE_SIZE_LIMIT          32kiB
  SIEVE_SIZE                193154bits
  SIEVE_SPLIT               250
  MORE_CLASSES              enabled

Runtime options
  SievePrimes               25000
  SievePrimesAdjust         1
  SievePrimesMin            5000
  SievePrimesMax            100000
  NumStreams                3
  CPUStreams                3
  GridSize                  3
  GPU Sieving               enabled
  GPUSievePrimes            82486
  GPUSieveSize              64Mi bits
  GPUSieveProcessSize       16Ki bits
  Checkpoints               enabled
  CheckpointDelay           30s
  WorkFileAddDelay          600s
  Stages                    enabled
  StopAfterFactor           bitlevel
  PrintMode                 full
  V5UserID                  (none)
  ComputerID                (none)
  AllowSleep                no
  TimeStampInResults        no

CUDA version info
  binary compiled for CUDA  8.0
  CUDA runtime version      8.0
  CUDA driver version       10.0

CUDA device info
  name                      TITAN V
  compute capability        7.0
  max threads per block     1024
  max shared memory per MP  98304 byte
  number of multiprocessors 80
  clock rate (CUDA cores)   1455MHz
  memory clock rate:        850MHz
  memory bus width:         3072 bit

Automatic parameters
  threads per grid          655360
  GPUSievePrimes (adjusted) 82486
  GPUsieve minimum exponent 1055144

running a simple selftest...
ERROR: cudaGetLastError() returned 8: invalid device function
Still no luck.
It looks like you either installed the drivers of CUDA 10, but not the sdk, or your old installation was not overwritten, and the environment variables still pick on the older sdk...

Last fiddled with by ET_ on 2018-09-20 at 09:45
ET_ is offline   Reply With Quote
Old 2018-09-20, 10:57   #2878
nofaith628
 
nofaith628's Avatar
 
Feb 2017

2×17 Posts
Default

Quote:
Originally Posted by ET_ View Post
It looks like you either installed the drivers of CUDA 10, but not the sdk, or your old installation was not overwritten, and the environment variables still pick on the older sdk...
Thanks for the heads up. CUDA 10 has been installed from https://developer.nvidia.com/cuda-downloads, all previous versions of CUDA were removed and residual files were taken care of using Revo Uninstaller.

To no avail, mfaktc still outputs the following error:
Code:
ERROR: cudaGetLastError() returned 8: invalid device function
Is there perhaps an installation that I am missing? If so, can you please point me in the correct direction.
nofaith628 is offline   Reply With Quote
Old 2018-09-20, 13:15   #2879
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

22·3·163 Posts
Default

Quote:
Originally Posted by nofaith628 View Post
Thanks for the heads up. CUDA 10 has been installed from https://developer.nvidia.com/cuda-downloads, all previous versions of CUDA were removed and residual files were taken care of using Revo Uninstaller.

To no avail, mfaktc still outputs the following error:
Code:
ERROR: cudaGetLastError() returned 8: invalid device function
Is there perhaps an installation that I am missing? If so, can you please point me in the correct direction.

If you use the Event Viewer and look in Windows Logs > Applications, there might be something there more revealing.
storm5510 is offline   Reply With Quote
Old 2018-09-23, 16:44   #2880
firejuggler
 
firejuggler's Avatar
 
Apr 2010
Over the rainbow

1010001010112 Posts
Default

Hey...
it seems that the new 20xx Nvidia series has new instructions...
|quote]
- the 32-bit integer multiply was a multiple instruction (about 3 simple inst.) and now it is a single instruction.
[/quote]
Would that help mfaktc?
firejuggler is offline   Reply With Quote
Old 2018-09-23, 19:24   #2881
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

1D6C16 Posts
Default

Quote:
Originally Posted by firejuggler View Post
Would that help mfaktc?
Greatly
Prime95 is offline   Reply With Quote
Old 2018-09-24, 20:14   #2882
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11×101 Posts
Default

Quote:
Originally Posted by firejuggler View Post
Would that help mfaktc?
Hint: check performance data of Volta.

Oliver
TheJudger is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
mfakto: an OpenCL program for Mersenne prefactoring Bdot GPU Computing 1676 2021-06-30 21:23
The P-1 factoring CUDA program firejuggler GPU Computing 753 2020-12-12 18:07
gr-mfaktc: a CUDA program for generalized repunits prefactoring MrRepunit GPU Computing 32 2020-11-11 19:56
mfaktc 0.21 - CUDA runtime wrong keisentraut Software 2 2020-08-18 07:03
World's second-dumbest CUDA program fivemack Programming 112 2015-02-12 22:51

All times are UTC. The time now is 08:24.


Tue Jul 27 08:24:57 UTC 2021 up 4 days, 2:53, 0 users, load averages: 2.06, 1.85, 1.79

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.