![]() |
Help with msieve CUDA (C1060)
Hello, i just downloaded msieve 1.50 and I have in my faculty a C1060
$ lspci | grep -i nv 01:00.0 3D controller: nVidia Corporation GT200 [Tesla C1060] (rev a1) I just installed all the SDK and the problem is that when I compile it in this way [B][COLOR="Red"] make x86_64 CUDA=1 NVCCFLAGS="-arch sm_13" [/COLOR][/B] everything compiles fine and i can see that nvidia headers and libraries are being linked, in fact here are some relevant lines of the compilation [COLOR="Red"]nvcc -m64 -arch sm_13 -ptx -o stage1_core.ptx \\ gnfs/poly/stage1/stage1_core_gpu/stage1_core.cu[/COLOR] [COLOR="red"]gcc -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -DNDEBUG -D_LARGEFILE64_SOURCE -Wall -W -DMSIEVE_SVN_VERSION="\"exported\"" -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I"/usr/local/cuda/include" -DHAVE_CUDA demo.c -o msieve \ libmsieve.a -lcuda -lz -lgmp -lm -lpthread[/COLOR] and the msieve binary ldd looks like [COLOR="red"]$ ldd msieve | grep -i cuda libcuda.so.1 => /usr/lib64/libcuda.so.1 (0x00007fa1c2cfc000)[/COLOR] The big problem is that when I run it it doesnt use cuda, i have ran it with -g option and without , but when I run [B][COLOR="Red"]nvidia-smi -l [/COLOR][/B]it always says that [B]| No running compute processes found | [/B] And if I run the nvidia samples, the process appears in the [COLOR="red"][B]nvidia-smi [/B][/COLOR]command, here is how i run msieve and some output that shows that isnt using NVIDIA $ ./msieve -g 0 -v 69986008711415694391421268580269058232048146719704518153244714221529713444447 Msieve v. 1.50 (SVN exported) Tue Nov 27 21:17:09 2012 random seeds: 59e9351d e6fc711d factoring 69986008711415694391421268580269058232048146719704518153244714221529713444447 (77 digits) no P-1/P+1/ECM available, skipping commencing quadratic sieve (77-digit input) using multiplier of 1 [B][COLOR="Red"]using 32kb Intel Core sieve core[/COLOR][/B] sieve interval: 12 blocks of size 32768 processing polynomials in batches of 17 Thanks |
[QUOTE=toorandom;319790]Hello, i just downloaded msieve 1.50 and I have in my faculty a C1060[/QUOTE]
Man, say that is a [U][I]Tesla[/I][/U] C1060, you made my heart jump... :razz: |
Only the NFS polynomial selection is CUDA-enabled. QS nor NFS sieving supports CUDA.
|
[QUOTE=LaurV;319795]Man, say that is a [U][I]Tesla[/I][/U] C1060, you made my heart jump... :razz:[/QUOTE]
Don't get too excited. It's no faster than a GTX 460. Just has more memory. :smile: |
[QUOTE=frmky;319798]Don't get too excited. It's no faster than a GTX 460. Just has more memory. :smile:[/QUOTE]
No, I thought he wanna factorize a composite C1060. :loco: (edit: owned two C2070 by myself, see my former posts one year ago) |
Owned? What happened to them?
|
[QUOTE=LaurV;319800]No, I thought he wanna factorize a composite C1060. :loco:
[/QUOTE] Here's a [URL="http://www.factordb.com/index.php?query=3*472%21"]C1060[/URL]. Completely factored, nothing to it, really. |
frmky is correct, you are running the quadratic sieve and not the number field sieve. Use 'msieve -h' to get the complete list of command-line stuff you can use, but CUDA will only be useful for selecting NFS polynomials, and your current input is too small for the NFS code to handle (try an input larger than 85 digits, and specify an NFS task explicitly).
|
| All times are UTC. The time now is 01:26. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.