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)

Chuck 2011-12-20 15:09

1 Attachment(s)
Looking good with two instances running.

kladner 2011-12-20 15:17

2 instances
 
1 Attachment(s)
Running on GTX 460, at 875MHz.

Exponent a is 541216xx
Exponent b is 544325xx
71-72 bit.

Dubslow 2011-12-21 01:16

[QUOTE=TheJudger;282896]They are included in the archives for the executables, aren't they?
[/QUOTE]

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!
[/code]
My command to start it is [code]LD_LIBRARY_PATH=./lib taskset -c 7 ./mfaktc-lin-64[/code] 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[/code] 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[/code] With the negatives, the error changes to [code]ERROR: current CUDA driver version is lower than the CUDA toolkit version used during compile![/code]
All runtime versions reported as 0.0.

moebius 2011-12-21 03:26

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?

Dubslow 2011-12-21 04:11

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

moebius 2011-12-21 04:30

[QUOTE=Dubslow;283002]do 'echo $LD_LIBRARY_PATH' and 'ls -l mfaktc-0.18' or equivalent.
Did you need anything special like a lib folder for mfaktc?[/QUOTE]

echo $LD_LIBRARY_PATH
:/usr/local/cuda/lib64

lib folder is existing

Dubslow 2011-12-21 04:34

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

I'll check back every few minutes.

moebius 2011-12-21 04:39

[QUOTE=Dubslow;283006]ls -l /usr/local/cuda/lib64
ls -l mfaktc-0.18/lib

I'll check back every few minutes.[/QUOTE]

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

Dubslow 2011-12-21 04:50

okay first try 'cp mfaktc-0.18/lib/* /usr/local/cuda/lib64' and try running again.

moebius 2011-12-21 04:55

[QUOTE=Dubslow;283010]okay first try 'cp mfaktc-0.18/lib/* /usr/local/cuda/lib64' and try running again.[/QUOTE]

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!

Dubslow 2011-12-21 05:03

Nuts. Now to fix mine :razz:


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

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