Re: [PyCUDA] pycuda install help

2011-04-11 Thread Raghuram.O.S.
Hi Andreas, You were right about the linking... Should have seen that myself... pycuda.autoinit works when compiled with the right gcc... thanks again! On Mon, Mar 21, 2011 at 1:01 PM, Raghuram.O.S. raghuramos1...@gmail.comwrote: Thank you Andreas. Thats seems to have solved some issues. Will

Re: [PyCUDA] pycuda install help

2011-03-21 Thread Raghuram.O.S.
Thank you Andreas. Thats seems to have solved some issues. Will start work on this now. On Fri, Mar 18, 2011 at 4:21 AM, Andreas Kloeckner li...@informa.tiker.netwrote: On Fri, 18 Mar 2011 03:51:53 -0400, Raghuram.O.S. raghuramos1...@gmail.com wrote: Okay. Its not a pycuda issue anymore. I

Re: [PyCUDA] pycuda install help

2011-03-18 Thread Raghuram.O.S.
I changed it to gcc-4.2.3. Some progress. But now I'm getting this, running build running build_py running build_ext building '_pvt_struct' extension gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic

Re: [PyCUDA] pycuda install help

2011-03-18 Thread Raghuram.O.S.
Or is there a way I can specify the python lib? I have virtual python and python 2.7 is on that. I do not know why its picking up the systems python 2.4 On Fri, Mar 18, 2011 at 3:03 AM, Andreas Kloeckner li...@informa.tiker.netwrote: On Fri, 18 Mar 2011 02:26:49 -0400, Raghuram.O.S.

Re: [PyCUDA] pycuda install help

2011-03-18 Thread Raghuram.O.S.
k... spoke too soon... i am getting this :( 4 cuda.init() 5 6 from pycuda.tools import make_default_context RuntimeError: cuInit failed: no device When I just try pycuda.autoinit On Fri, Mar 18, 2011 at 3:11 AM, Raghuram.O.S. raghuramos1...@gmail.comwrote: install worked!!!

Re: [PyCUDA] pycuda install help

2011-03-18 Thread Andreas Kloeckner
On Fri, 18 Mar 2011 03:51:53 -0400, Raghuram.O.S. raghuramos1...@gmail.com wrote: Okay. Its not a pycuda issue anymore. I loaded a few modules. Now I'm getting this. import pycuda.autoinit ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by

Re: [PyCUDA] pycuda install help

2011-03-17 Thread raghuramos1987
I tried BOOST_INC_DIR = ['/usr/local/include/boost/'] which is installed in my home dir as i dont have sudo permission. But I still get the same error. /nfs/01/osu5574/local/boost/include/boost/type_traits/remove_const.hpp:61: instantiated from ‘boost::remove_const::pooled_host_allocation’

Re: [PyCUDA] pycuda install help

2011-03-17 Thread Andreas Kloeckner
On Thu, 17 Mar 2011 19:51:26 -0700 (PDT), raghuramos1987 raghuramos1...@gmail.com wrote: I tried BOOST_INC_DIR = ['/usr/local/include/boost/'] which is installed in my home dir as i dont have sudo permission. You seem to be contradicting yourself here--/usr is very much not in your home

Re: [PyCUDA] pycuda install help

2011-03-17 Thread Raghuram.O.S.
Sorry, I put in the wrong line. This is my siteconf.py BOOST_INC_DIR = ['/nfs/01/osu5574/local/boost/include'] BOOST_LIB_DIR = ['/nfs/01/osu5574/local/boost/lib'] BOOST_COMPILER = 'gcc' BOOST_PYTHON_LIBNAME = ['boost_python'] BOOST_THREAD_LIBNAME = ['boost_thread'] CUDA_TRACE = False

Re: [PyCUDA] pycuda install help

2011-03-17 Thread Andreas Kloeckner
Dear Onti, On Thu, 17 Mar 2011 23:21:21 -0400, Raghuram.O.S. raghuramos1...@gmail.com wrote: Sorry, I put in the wrong line. This is my siteconf.py BOOST_INC_DIR = ['/nfs/01/osu5574/local/boost/include'] BOOST_LIB_DIR = ['/nfs/01/osu5574/local/boost/lib'] BOOST_COMPILER = 'gcc'

Re: [PyCUDA] pycuda install help

2011-03-17 Thread Raghuram.O.S.
Yup. Its passed. gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -Isrc/cpp -I/nfs/01/osu5574/local/boost/include -I/nfs/01/osu5574/local/cuda/include -I/nfs/01/osu5574/local/python/lib/python2.7/site-packages/numpy/core/include

Re: [PyCUDA] pycuda install help

2011-03-17 Thread Andreas Kloeckner
On Fri, 18 Mar 2011 00:26:54 -0400, Raghuram.O.S. raghuramos1...@gmail.com wrote: Yup. Its passed. gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -Isrc/cpp -I/nfs/01/osu5574/local/boost/include -I/nfs/01/osu5574/local/cuda/include