Re: [PyCUDA] (no subject)

2015-01-19 Thread David A. Markowitz
Many thanks Andreas, I've solved the problem now. While digging through the compiler.py code, I noticed a check for the PYCUDA_DEFAULT_NVCC_FLAGS environment variable, which is then passed to nvcc. Ultimately I was able to solve my problem by putting a file in /etc/profile.d/ with the contents:

Re: [PyCUDA] (no subject)

2015-01-19 Thread Andreas Kloeckner
David A. Markowitz david.a.markow...@gmail.com writes: Many thanks Andreas, I've solved the problem now. While digging through the compiler.py code, I noticed a check for the PYCUDA_DEFAULT_NVCC_FLAGS environment variable, which is then passed to nvcc. Ultimately I was able to solve my

Re: [PyCUDA] (no subject)

2015-01-19 Thread Andreas Kloeckner
David A. Markowitz david.a.markow...@gmail.com writes: Thanks again, Andreas. I'm really looking forward to getting started with PyCUDA. Unfortunately, I've already tried your suggested approach (updating nvcc.profile with NVVMIR_LIBRARY_DIR = /usr/local/cuda-6.5/nvvm/libdevice, which