![]() |
|
|
#1805 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
2×32×419 Posts |
I installed 64-bit Ubuntu 10.04, Cuda version 5, and mfaktc-0.18.tar.gz. I did a make. Running the built mfaktc fails all the self-tests. Where do I go from here?
BTW, I built CUDALucas 2.0.1 and it works just fine on my GTX 460. |
|
|
|
|
|
#1806 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
722110 Posts |
Isn't CUDA 5 still in preview? Perhaps there's something CUDA 5 doesn't like about mfaktc. (I assume CUDALucas was built with CUDA 5? I know that it automatically targets arch_1.3, which would force CUDA < 5, so that may be why it avoided issues.)
Last fiddled with by Dubslow on 2012-07-12 at 19:47 Reason: which would... |
|
|
|
|
|
#1807 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
2·32·419 Posts |
A more general question from a Linux and CUDA neophyte.
What is the recommended development environment for GPU programming? Is there a Linux IDE that is integrated with CUDA debugging and profiling tools? |
|
|
|
|
|
#1808 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
2·67·73 Posts |
Quote:
For those who use IDEs, Eclipse is your (Open Source) friend....
|
|
|
|
|
|
|
#1809 | |
|
"Oliver"
Mar 2005
Germany
45716 Posts |
Quote:
I guess you're using CUDA 5.0.7 (preview release), right? Fails all the selftest -> missing factors (no factor found) or wrong factors? I guess you're using default src/params.c and mfaktc.ini, right? You can try to enable some debugging code in src/params.h:
Another option to test: add -malign-double to the CFLAGS in the Makefile (default in mfaktc-0.19...). There are some known issues with CUDA/gcc about alignment of 64bit variables. Can you provide me some lines of ./mfaktc.exe -v 2 -st? (just start it and stop after a few seconds by pressing <Ctrl>+C) and send me the screen output. I'll try CUDA 5.0.7 later on my system. Oliver P.S. at least it is good to know that the selftest works... Last fiddled with by TheJudger on 2012-07-13 at 08:37 |
|
|
|
|
|
|
#1810 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
2×32×419 Posts |
Quote:
Code:
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 5.0
CUDA runtime version 5.0
CUDA driver version 5.0
CUDA device info
name GeForce GTX 460
compute capability 2.1
maximum threads per block 1024
number of multiprocessors 7 (336 shader cores)
clock rate 1502MHz
Automatic parameters
threads per grid 917504
########## testcase 1/1557 ##########
Starting trial factoring M50804297 from 2^67 to 2^68
k_min = 1599999998520
k_max = 1900000000000
Using GPU kernel "71bit_mul24"
class | candidates | time | ETA | avg. rate | SievePrimes | CPU wait
3387/4620 | 14.68M | 0.213s | n.a. | 68.92M/s | 25000 | 13.45%
no factor for M50804297 from 2^67 to 2^68 [mfaktc 0.18 71bit_mul24]
ERROR: selftest failed for M50804297
no factor found
tf(): total time spent: 0.219s
Starting trial factoring M50804297 from 2^67 to 2^68
k_min = 1599999998520
k_max = 1900000000000
Using GPU kernel "75bit_mul32"
class | candidates | time | ETA | avg. rate | SievePrimes | CPU wait
3387/4620 | 14.68M | 0.145s | n.a. | 101.24M/s | 28125 | 0.38%
no factor for M50804297 from 2^67 to 2^68 [mfaktc 0.18 75bit_mul32]
ERROR: selftest failed for M50804297
no factor found
tf(): total time spent: 0.151s
Starting trial factoring M50804297 from 2^67 to 2^68
k_min = 1599999998520
k_max = 1900000000000
Using GPU kernel "95bit_mul32"
class | candidates | time | ETA | avg. rate | SievePrimes | CPU wait
3387/4620 | 14.68M | 0.164s | n.a. | 89.51M/s | 24609 | 0.34%
no factor for M50804297 from 2^67 to 2^68 [mfaktc 0.18 95bit_mul32]
ERROR: selftest failed for M50804297
no factor found
tf(): total time spent: 0.170s
Starting trial factoring M50804297 from 2^67 to 2^68
k_min = 1599999998520
k_max = 1900000000000
Using GPU kernel "barrett79_mul32"
class | candidates | time | ETA | avg. rate | SievePrimes | CPU wait
3387/4620 | 14.68M | 0.123s | n.a. | 119.35M/s | 21532 | 0.49%
no factor for M50804297 from 2^67 to 2^68 [mfaktc 0.18 barrett79_mul32]
ERROR: selftest failed for M50804297
no factor found
tf(): total time spent: 0.128s
|
|
|
|
|
|
|
#1811 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
165668 Posts |
Quote:
|
|
|
|
|
|
|
#1812 |
|
"Oliver"
Mar 2005
Germany
11×101 Posts |
OK, next step: I'll try CUDA 5.0.7 on my system. I'm not sure if this will happen today.
Oliver |
|
|
|
|
|
#1813 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
2×32×419 Posts |
Quote:
BTW, my bigger problem is NVidia's developer web site is down thanks to hackers. Last fiddled with by Prime95 on 2012-07-13 at 19:08 |
|
|
|
|
|
|
#1814 |
|
"Oliver"
Mar 2005
Germany
11×101 Posts |
I'm able to reproduce this issue with mfaktc 0.18 + CUDA toolkit 5.0.7-preview on openSUSE 12.1.
CUDA 5.0 driver + CUDA toolkit 4.2 -> OK CUDA 5.0 driver + CUDA toolkit 5.0.7 -> fail Oliver Last fiddled with by TheJudger on 2012-07-14 at 10:40 |
|
|
|
|
|
#1815 |
|
"Oliver"
Mar 2005
Germany
11·101 Posts |
first impressions:
So for now I can only say to everyone: Don't use CUDA Toolkit 5.0.7 for mfaktc! Oliver |
|
|
|
![]() |
| Thread Tools | |
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 |