mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   mfaktc: a CUDA program for Mersenne prefactoring (https://www.mersenneforum.org/showthread.php?t=12827)

SELROC 2018-09-19 17:42

[QUOTE=kriesel;496384]Are you sure Windows isn't updating the driver again, perhaps from some local stored content? ("System restore" etc)

[URL]https://answers.microsoft.com/en-us/windows/forum/windows_8-hardware/how-to-disable-windows-update-from-auto-updating/8f5a50fd-403b-4207-bcf2-20cd32f4b1e9[/URL]

search disabling windows driver updates for other articles that may help[/QUOTE]


Why not disable Windows altogether and switch to Linux ?

TheJudger 2018-09-19 18:16

[QUOTE=nofaith628;496342]
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.[/QUOTE]

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

nofaith628 2018-09-20 00:35

[QUOTE=TheJudger;496390]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[/QUOTE]

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?

kladner 2018-09-20 02:48

I think Oliver, TheJudger, (the author of mfaktc) told you what was needed. Is mfaktc not running under those conditions?

nofaith628 2018-09-20 09:07

[QUOTE=kladner;496410]I think Oliver, TheJudger, (the author of mfaktc) told you what was needed. Is mfaktc not running under those conditions?[/QUOTE]

[QUOTE=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.[/QUOTE]

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.[/QUOTE]

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[/CODE]

Still no luck.

ET_ 2018-09-20 09:44

[QUOTE=nofaith628;496417]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 [COLOR="red"]8.0[/COLOR]
CUDA runtime version [COLOR="Red"]8.0[/COLOR]
CUDA driver version [COLOR="SeaGreen"]10.0[/COLOR]

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[/CODE]

Still no luck.[/QUOTE]

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...

nofaith628 2018-09-20 10:57

[QUOTE=ET_;496420]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...[/QUOTE]

Thanks for the heads up. CUDA 10 has been installed from [url]https://developer.nvidia.com/cuda-downloads[/url], 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[/CODE]

Is there perhaps an installation that I am missing? If so, can you please point me in the correct direction.

storm5510 2018-09-20 13:15

[QUOTE=nofaith628;496426]Thanks for the heads up. CUDA 10 has been installed from [URL]https://developer.nvidia.com/cuda-downloads[/URL], 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[/CODE]Is there perhaps an installation that I am missing? If so, can you please point me in the correct direction.[/QUOTE]


If you use the Event Viewer and look in Windows Logs > Applications, there might be something there more revealing.

firejuggler 2018-09-23 16:44

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?

Prime95 2018-09-23 19:24

[QUOTE=firejuggler;496635]
Would that help mfaktc?[/QUOTE]

Greatly

TheJudger 2018-09-24 20:14

[QUOTE=firejuggler;496635]Would that help mfaktc?[/QUOTE]

Hint: check performance data of Volta.

Oliver


All times are UTC. The time now is 23:06.

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