On Wed, 15 Sep 2010 16:53:04 -0400, "Timothy O'Keefe" 
<timothy.oke...@gmail.com> wrote:
> Given your feedback, I was able to compile CUDA and at least execute a
> script that simply imports a module from pycuda package.
> 
> I do not receive the traceback mentioned earlier. The way that I
> "solved" this was by installing the latest Nvidia driver for my GPU
> and recompiling the CUDA toolkit and PyCuda.
> 
> Unfortunately however, when I execute test_driver.py, the following is
> printed to the console:
> 
> from: can't read /var/mail/__future__
> import: unable to open X server `'.
> import: unable to open X server `'.
> from: can't read /var/mail/pycuda.tools
> ./test_driver.py: line 9: syntax error near unexpected token `('
> ./test_driver.py: line 9: `def have_pycuda():'

This looks like the shell is trying to run the Python script. Try saying
'python test_driver.py' instead.

> When running ./test_gpuarray.py however, the following is printed to
> the console regardless of how I am logged in:
> 
> ====================================================================================
> test session starts
> =====================================================================================
> platform linux2 -- Python 2.5.2 -- pytest-1.3.4
> test path 1: ./test_gpuarray.py
> 
> test_gpuarray.py ...F..Aborted

This is odd. Can you produce a gdb backtrace?

HTH,
Andreas

Attachment: pgpHcQcNJZ9KN.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to