mersenneforum.org  

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

Reply
 
Thread Tools
Old 2011-12-20, 15:09   #1420
Chuck
 
Chuck's Avatar
 
May 2011
Orange Park, FL

3·5·59 Posts
Default

Looking good with two instances running.
Attached Thumbnails
Click image for larger version

Name:	mfaktc.jpg
Views:	159
Size:	241.9 KB
ID:	7417  
Chuck is offline   Reply With Quote
Old 2011-12-20, 15:17   #1421
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

1015810 Posts
Default 2 instances

Running on GTX 460, at 875MHz.

Exponent a is 541216xx
Exponent b is 544325xx
71-72 bit.
Attached Thumbnails
Click image for larger version

Name:	2-instance_mfaktc18.JPG
Views:	143
Size:	177.0 KB
ID:	7418  
kladner is offline   Reply With Quote
Old 2011-12-21, 01:16   #1422
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
They are included in the archives for the executables, aren't they?
Whoops, my bad. However, it said *.so.4.0.17, not 4.1.*.

When I ran it, I got this:
Code:
CUDA version info
  binary compiled for CUDA  4.0
  CUDA runtime version      0.0
  CUDA driver version       297000.8
ERROR: CUDA runtime version must match the CUDA toolkit version used during compile!
My command to start it is
Code:
LD_LIBRARY_PATH=./lib taskset -c 7 ./mfaktc-lin-64
with
Code:
bill@Gravemind:~/mfaktc∰∂ ls -lR
.:
total 887
-rwxrwxrwx 1 root root  15489 2011-12-20 18:47 Changelog.txt
-rwxrwxrwx 1 root root  35147 2011-12-20 18:47 COPYING
-rwxrwxrwx 2 root root 549480 2011-08-14 13:14 cudart64_32_16.dll
drwxrwxrwx 1 root root    504 2011-12-20 18:49 lib
-rwxrwxrwx 1 root root   4094 2011-12-20 19:01 mfaktc.ini
-rwxrwxrwx 1 root root 267696 2011-12-20 18:47 mfaktc-lin-64
-rwxrwxrwx 1 root root  12308 2011-12-20 18:47 README.txt
-rwxrwxrwx 1 root root   5876 2011-12-20 19:06 worktodo.txt

./lib:
total 329
lrwxrwxrwx 1 root root     36 2011-12-20 18:47 libcudart.so -> libcudart.so.4
lrwxrwxrwx 1 root root     46 2011-12-20 18:47 libcudart.so.4 -> libcudart.so.4.0.17
-rwxrwxrwx 1 root root 334760 2011-12-20 18:47 libcudart.so.4.0.17
as the setup. (Ownership is root because ~/mfaktc is a link to a folder on my Windows partition, so there aren't really 'ownerships' that I can change.)

Edit: Heh -- try numbers 2, 3, 4, 5, 6, 7, and 8:
Code:
CUDA driver version       797969.80
CUDA driver version       1344879.88
CUDA driver version       1045146.96
CUDA driver version       -952091.-76
CUDA driver version       -62620.0
CUDA driver version       300866.32
CUDA driver version       2033957.60
With the negatives, the error changes to
Code:
ERROR: current CUDA driver version is lower than the CUDA toolkit version used during compile!
All runtime versions reported as 0.0.

Last fiddled with by Dubslow on 2011-12-21 at 01:35
Dubslow is offline   Reply With Quote
Old 2011-12-21, 03:26   #1423
moebius
 
moebius's Avatar
 
Jul 2009
Germany

2×3×101 Posts
Unhappy

I got this error running the linux64bit version:

:~/mfaktc-0.18$ ./mfaktc.exe -h
./mfaktc.exe: error while loading shared libraries: libcudart.so.4: cannot open shared object file: No such file or directory

mfaktc-0.16 works without errors.
Any Ideas?
moebius is offline   Reply With Quote
Old 2011-12-21, 04:11   #1424
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

1C3516 Posts
Default

do 'echo $LD_LIBRARY_PATH' and 'ls -l mfaktc-0.18' or equivalent.
Did you need anything special like a lib folder for mfaktc16?

Last fiddled with by Dubslow on 2011-12-21 at 04:33
Dubslow is offline   Reply With Quote
Old 2011-12-21, 04:30   #1425
moebius
 
moebius's Avatar
 
Jul 2009
Germany

2×3×101 Posts
Default

Quote:
Originally Posted by Dubslow View Post
do 'echo $LD_LIBRARY_PATH' and 'ls -l mfaktc-0.18' or equivalent.
Did you need anything special like a lib folder for mfaktc?
echo $LD_LIBRARY_PATH
:/usr/local/cuda/lib64

lib folder is existing

Last fiddled with by moebius on 2011-12-21 at 04:35
moebius is offline   Reply With Quote
Old 2011-12-21, 04:34   #1426
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160658 Posts
Default

ls -l /usr/local/cuda/lib64
ls -l mfaktc-0.18/lib

I'll check back every few minutes.

Last fiddled with by Dubslow on 2011-12-21 at 04:37
Dubslow is offline   Reply With Quote
Old 2011-12-21, 04:39   #1427
moebius
 
moebius's Avatar
 
Jul 2009
Germany

2×3×101 Posts
Default

Quote:
Originally Posted by Dubslow View Post
ls -l /usr/local/cuda/lib64
ls -l mfaktc-0.18/lib

I'll check back every few minutes.
ls -l /usr/local/cuda/lib64
total 161108
lrwxrwxrwx 1 root root 14 2011-03-20 02:02 libcublas.so -> libcublas.so.3
lrwxrwxrwx 1 root root 19 2011-03-20 02:02 libcublas.so.3 -> libcublas.so.3.2.16
-rwxr-xr-x 1 root root 85803184 2011-03-20 02:02 libcublas.so.3.2.16
lrwxrwxrwx 1 root root 14 2011-03-20 02:02 libcudart.so -> libcudart.so.3
lrwxrwxrwx 1 root root 19 2011-03-20 02:02 libcudart.so.3 -> libcudart.so.3.2.16
-rwxr-xr-x 1 root root 313872 2011-03-20 02:02 libcudart.so.3.2.16
lrwxrwxrwx 1 root root 13 2011-03-20 02:02 libcufft.so -> libcufft.so.3
lrwxrwxrwx 1 root root 18 2011-03-20 02:02 libcufft.so.3 -> libcufft.so.3.2.16
-rwxr-xr-x 1 root root 28996288 2011-03-20 02:02 libcufft.so.3.2.16
lrwxrwxrwx 1 root root 14 2011-03-20 02:02 libcurand.so -> libcurand.so.3
lrwxrwxrwx 1 root root 19 2011-03-20 02:02 libcurand.so.3 -> libcurand.so.3.2.16
-rwxr-xr-x 1 root root 4234816 2011-03-20 02:02 libcurand.so.3.2.16
lrwxrwxrwx 1 root root 16 2011-03-20 02:02 libcusparse.so -> libcusparse.so.3
lrwxrwxrwx 1 root root 21 2011-03-20 02:02 libcusparse.so.3 -> libcusparse.so.3.2.16
-rwxr-xr-x 1 root root 45613728 2011-03-20 02:02 libcusparse.so.3.2.16


ls -l lib
total 344
lrwxrwxrwx 1 moebius moebius 14 2011-12-20 05:01 libcudart.so -> libcudart.so.4
lrwxrwxrwx 1 moebius moebius 19 2011-12-20 05:01 libcudart.so.4 -> libcudart.so.4.0.17
-rwxr-xr-x 1 moebius moebius 334760 2011-11-13 23:53 libcudart.so.4.0.17
moebius is offline   Reply With Quote
Old 2011-12-21, 04:50   #1428
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

okay first try 'cp mfaktc-0.18/lib/* /usr/local/cuda/lib64' and try running again.
Dubslow is offline   Reply With Quote
Old 2011-12-21, 04:55   #1429
moebius
 
moebius's Avatar
 
Jul 2009
Germany

2·3·101 Posts
Default

Quote:
Originally Posted by Dubslow View Post
okay first try 'cp mfaktc-0.18/lib/* /usr/local/cuda/lib64' and try running again.
Thank you very much


sudo cp mfaktc-0.18/lib/* /usr/local/cuda/lib64

has worked

./mfaktc.exe
mfaktc v0.18 (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
NumStreams 3
CPUStreams 3
GridSize 3
WorkFile worktodo.txt
Checkpoints enabled
CheckpointDelay 30s
Stages enabled
StopAfterFactor bitlevel
PrintMode full
AllowSleep no

CUDA version info
binary compiled for CUDA 4.0
CUDA runtime version 4.0
CUDA driver version 4.10

CUDA device info
name GeForce GTX 560 Ti
compute capability 2.1
maximum threads per block 1024
number of multiprocessors 8 (384 shader cores)
clock rate 1800MHz

Automatic parameters
threads per grid 1048576

running a simple selftest...
Selftest statistics
number of tests 25
successfull tests 25

selftest PASSED!
moebius is offline   Reply With Quote
Old 2011-12-21, 05:03   #1430
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Nuts. Now to fix mine
Dubslow 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:01 UTC 2021 up 49 days, 13:03, 2 users, load averages: 2.33, 1.85, 1.76

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.