View Single Post
Old 2012-06-12, 00:58   #1
ryanp
 
ryanp's Avatar
 
Jun 2012
Boulder, CO

5·67 Posts
Default CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES when running msieve 1.5.0 with CUDA

Hi,

I'm just getting started with trying to run msieve 1.5.0, which I built as:

make x86_64 ECM=1 CUDA=1

This is on Ubuntu 10.04, x86-64, with a Quadro FX 580.

Here's some sample output; I'm consistently getting this error:

Code:
$ ./msieve -v -n -g 0 -t 4 121451298068529844233553416568714964256622520646270917226600348303197298080156462274524325121

Msieve v. 1.50 (SVN exported)
Mon Jun 11 17:53:44 2012
random seeds: fbe091d5 8759ed26
factoring 121451298068529844233553416568714964256622520646270917226600348303197298080156462274524325121 (93 digits)
searching for 15-digit factors
commencing number field sieve (93-digit input)
commencing number field sieve polynomial selection
time limit set to 0.15 CPU-hours
expecting poly E from 3.59e-08 to 4.12e-08
searching leading coefficients from 1 to 15724575
using GPU 0 (Quadro FX 580)
deadline: 5 CPU-seconds per coefficient
coeff 12 specialq 1 - 13109 other 4623 - 11095
aprogs: 281 entries, 726 roots
batch size 12
error (line 433): CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES
Anyone know what's going on? Do I have a bad CUDA library, or a graphics card that's too old to take advantage of CUDA?

In case it's relevant, msieve's dynamic library dependencies are:

Code:
$ ldd ./msieve
	linux-vdso.so.1 =>  (0x00007fffacdac000)
	libecm.so.0 => /usr/lib/libecm.so.0 (0x00007ff716ea2000)
	libcuda.so.1 => /usr/lib/nvidia-current/libcuda.so.1 (0x00007ff7164f9000)
	libz.so.1 => /lib/libz.so.1 (0x00007ff7162e1000)
	libgmp.so.3 => /usr/lib/libgmp.so.3 (0x00007ff716081000)
	libm.so.6 => /lib/libm.so.6 (0x00007ff715dfe000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff715be0000)
	libc.so.6 => /lib/libc.so.6 (0x00007ff71585d000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007ff715659000)
	/lib64/ld-linux-x86-64.so.2 (0x00007ff717113000)
Any help is appreciated -- thanks!
ryanp is offline   Reply With Quote