mersenneforum.org  

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

Reply
 
Thread Tools
Old 2011-12-21, 05:09   #1431
moebius
 
moebius's Avatar
 
Jul 2009
Germany

2·3·101 Posts
Default

Quote:
Originally Posted by Dubslow View Post
Nuts. Now to fix mine
Do you use Cuda 3.2 just like me?
moebius is offline   Reply With Quote
Old 2011-12-21, 05:17   #1432
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

No, you're not using 3.2 anymore. Note the driver/runtime versions. I have the 3.2 IDE installed like you, but mfaktc could never find the /usr/local/cuda/lib, even when LD_LIBRARY_PATH was set properly, so I had to use a workaround to get it to find the right .so file. I'm using the same workaround for .18 and instead it tells me runtime version 0.0, and driver version... well just go check the previous page.

Last fiddled with by Dubslow on 2011-12-21 at 05:18
Dubslow is offline   Reply With Quote
Old 2011-12-21, 23:14   #1433
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11·101 Posts
Default

Dubslow:

actually I've no clue whats wrong but can you check this:
  • which nvidia driver do you have installed? (run e.g. 'nvidia-smi -a')
  • did you check 'ldd mfaktc-lin-64' or 'LD_LIBRARY_PATH=./bin ldd mfaktc-lin-64'?
Oliver
TheJudger is offline   Reply With Quote
Old 2011-12-22, 00:56   #1434
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

D4D16 Posts
Default

Feature request for v0.19:

Can you make it (optionally) write something like "no work left in worktodo.txt" when it runs out of work? I tend to look at the results files for all my computers once a day or so, but I may not always notice when it runs out of work -- a notice in the results file would make it immediately obvious.
James Heinrich is offline   Reply With Quote
Old 2011-12-22, 04:29   #1435
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Quote:
Originally Posted by TheJudger View Post
Dubslow:

actually I've no clue whats wrong but can you check this:
  • which nvidia driver do you have installed? (run e.g. 'nvidia-smi -a')
  • did you check 'ldd mfaktc-lin-64' or 'LD_LIBRARY_PATH=./bin ldd mfaktc-lin-64'?
Oliver
Code:
bill@Gravemind:~∰∂ nvidia-smi -a

==============NVSMI LOG==============

Timestamp                       : Wed Dec 21 22:24:32 2011

Driver Version                  : 270.41.06

Attached GPUs                   : 1

GPU 0:1:0
    Product Name                : GeForce GTX 460
    Display Mode                : N/A
    Persistence Mode            : Disabled
    Driver Model
        Current                 : N/A
        Pending                 : N/A
    Serial Number               : N/A
    GPU UUID                    : N/A
    Inforom Version
        OEM Object              : N/A
        ECC Object              : N/A
        Power Management Object : N/A
    PCI
        Bus                     : 1
        Device                  : 0
        Domain                  : 0
        Device Id               : E2210DE
        Bus Id                  : 0:1:0
    Fan Speed                   : 40 %
    Memory Usage
        Total                   : 767 Mb
        Used                    : 214 Mb
        Free                    : 552 Mb
    Compute Mode                : Default
    Utilization
        Gpu                     : N/A
        Memory                  : N/A
    Ecc Mode
        Current                 : N/A
        Pending                 : N/A
    ECC Errors
        Volatile
            Single Bit            
                Device Memory   : N/A
                Register File   : N/A
                L1 Cache        : N/A
                L2 Cache        : N/A
                Total           : N/A
            Double Bit            
                Device Memory   : N/A
                Register File   : N/A
                L1 Cache        : N/A
                L2 Cache        : N/A
                Total           : N/A
I realize 270 is very old, but the .run files that NVidia provides to update the drivers have never worked for me; they wind up breaking the GUI. I install the package nvidia-current to fix it. This is Ubuntu 11.04.
Code:
bill@Gravemind:~/mfaktc∰∂ LD_LIBRARY_PATH=./lib ldd ./mfaktc-lin-64 
	linux-vdso.so.1 =>  (0x00007fff41fff000)
	libcudart.so.4 => ./lib/libcudart.so.4 (0x00007f51d6ecb000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f51d6b11000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f51d680a000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f51d6585000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f51d6381000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f51d6162000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f51d5f5a000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f51d5d44000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f51d711f000)
Not sure what to look for here.

Would installing the 4.1 SDK help?

Last fiddled with by Dubslow on 2011-12-22 at 05:10
Dubslow is offline   Reply With Quote
Old 2011-12-22, 14:42   #1436
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11·101 Posts
Default

Quote:
Originally Posted by Dubslow View Post
[code]bill@Gravemind:~∰∂ nvidia-smi -a
[...]
Driver Version : 270.41.06
[...]
[code]
Can you try to upgrade the driver: devdriver_4.0_linux_64_270.41.19.run

Quote:
Originally Posted by Dubslow View Post
Would installing the 4.1 SDK help?
Well, if everything is right the CUDA SDK and CUDA Toolkit is not needed to run the precompiled mfaktc executable. You'll need a proper driver, nothing more.

Oliver
TheJudger is offline   Reply With Quote
Old 2011-12-22, 16:18   #1437
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3×5×227 Posts
Default

Not sure if I found a bug or did something silly. I was playing around with M252674011 (had 8 known factors, I got excited when I found another one two three, but they were all composites of smaller known factors ). But I ran into this:
Quote:
no factor for M252674011 from 2^68 to 2^69 [mfaktc 0.18 barrett79_mul32]
WARNING: can't delete the checkpoint file "mfaktc.ckp"
tf(): total time spent: 2m 26.308s
James Heinrich is offline   Reply With Quote
Old 2011-12-22, 16:43   #1438
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

100010101112 Posts
Default

Hello James,

you have just discovered a bug. The good news is that it is not critical. I guess because of the short runtime there was no checkpoint written at all...

Oliver
TheJudger is offline   Reply With Quote
Old 2011-12-22, 20:41   #1439
Bdot
 
Bdot's Avatar
 
Nov 2010
Germany

3·199 Posts
Default

Quote:
Originally Posted by TheJudger View Post
Hello James,

you have just discovered a bug. The good news is that it is not critical. I guess because of the short runtime there was no checkpoint written at all...

Oliver
Yes, I get this too if no checkpoints were written. Nothing serious.

Last fiddled with by Bdot on 2011-12-22 at 20:48
Bdot is offline   Reply With Quote
Old 2011-12-22, 20:43   #1440
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11·101 Posts
Default

I've just noticed that the text is wrong, too. Those checkpoint files are no longer named "mfaktc.ckp"...

Oliver
TheJudger is offline   Reply With Quote
Old 2011-12-22, 21:50   #1441
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

1101010011012 Posts
Default

Quote:
Originally Posted by TheJudger View Post
I've just noticed that the text is wrong, too. Those checkpoint files are no longer named "mfaktc.ckp"...
That's what caught my attention.
James Heinrich 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 15:16.


Fri Jul 16 15:16:15 UTC 2021 up 49 days, 13:03, 2 users, load averages: 2.04, 1.81, 1.75

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.