A friend and I tried to find out why this happens for days now. If I am not running CUDA byte code on my machine as root, I am not able to use the libraries functionallity. Please take a look at the console log I postet below which does exactly show what happens if you command in this exact order on my machine. We did not observe this behavior on my friends machine.
Maybe someone of this forum can help us …
My hardware: http://pastebin.com/GyLNs5B3
CPU: Intel® Core™ i7-3610QM CPU @ 2.30GHz
GPU: GeForce GTX 660M
Linux archlinux 3.13.5-1-ARCH #1 SMP PREEMPT Sun Feb 23 00:25:24 CET 2014 x86_64 GNU/Linux
local/bumblebee 3.2.1-3 NVIDIA Optimus support for Linux through VirtualGL local/cuda 5.5.22-1 NVIDIA's GPU programming toolkit local/lib32-nvidia-libgl 334.21-1 NVIDIA drivers libraries symlinks (32-bit) local/lib32-nvidia-utils 334.21-1 NVIDIA drivers utilities (32-bit) local/libcl 1.1-3 OpenCL library and ICD loader from NVIDIA local/libvdpau 0.7-1 Nvidia VDPAU library local/nvidia 334.21-2 NVIDIA drivers for linux local/nvidia-utils 334.21-1 NVIDIA drivers utilities local/opencl-nvidia 334.21-1 OpenCL implemention for NVIDIA local/pycuda-headers 2013.1.1-3 Python wrapper for Nvidia CUDA local/python2-pycuda 2013.1.1-3 Python wrapper for Nvidia CUDA