clGetPlatformIDs failed: <unknown error -1001>
I was able to log in as root user by doing "sudo -i" after ssh to the aws ec2 instance.
but now the command *echo libnvidia-opencl.so.1 >> /etc/OpenCL/vendors/nvidia.icd
* says" -bash: /etc/OpenCL/vendors/nvidia. icd: No such file or directory"On Sun, Mar 11, 2018 at 5:51 AM, aseem hegshetye <email@example.com> wrote:is there a way around to solve this without being a root user?On Sun, Mar 11, 2018 at 1:34 AM, Andreas Kloeckner <firstname.lastname@example.org> wrote:aseem hegshetye <email@example.com> writes:
> I get this error when i run following code:
> *import pyopencl as cl*
> I tried following command in ubuntu terminal to fix it:
> * sudo echo e- 'echo libnvidia-opencl.so.1' >>
> *echo libnvidia-opencl.so.1 >> /etc/OpenCL/vendors/nvidia.icd
> But i get permission denied error.
Only writable as root.