Welcome to MilkyWay@home

No openCL on nvidia (Linux xubuntu 15.04)


Advanced search

Message boards : Number crunching : No openCL on nvidia (Linux xubuntu 15.04)
Message board moderation

To post messages, you must log in.

AuthorMessage
Daedalus

Send message
Joined: 30 Dec 09
Posts: 15
Credit: 60,635,717
RAC: 24,537
50 million credit badge12 year member badge
Message 63865 - Posted: 11 Aug 2015, 8:32:19 UTC
Last modified: 11 Aug 2015, 8:32:56 UTC

Hello Ladies and Gentlemen,

I used to crunch a few openCL work units on my precedent version of linux (xubuntu 14.04) but now, it seems i have a problem.

I have a nvidia GTX560 and i installed nvidia modprobe. So my GPU is detected and crunches happily einstein units with CUDA. But no milkiway with OpenCL.

My driver is the 346.59. The nivida opencl 346 icd is installed but not the update. Synaptic pretends it has to uninstall the 346 icd to install the update so i am wary of tinkering in my system without knowing what i should do.

lun 10 aoû 2015 21:24:16 CEST | | Starting BOINC client version 7.4.23 for x86_64-pc-linux-gnu
lun 10 aoû 2015 21:24:16 CEST | | log flags: file_xfer, sched_ops, task
lun 10 aoû 2015 21:24:16 CEST | | Libraries: libcurl/7.38.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
lun 10 aoû 2015 21:24:16 CEST | | Data directory: /var/lib/boinc-client
lun 10 aoû 2015 21:24:16 CEST | | CUDA: NVIDIA GPU 0: GeForce GTX 560 (driver version 346.59, CUDA version 7.0, compute capability 2.1, 1024MB, 981MB available, 1105 GFLOPS peak)
lun 10 aoû 2015 21:24:16 CEST | | Host name: orthanc
lun 10 aoû 2015 21:24:16 CEST | | Processor: 8 GenuineIntel Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz [Family 6 Model 60 Stepping 3]
lun 10 aoû 2015 21:24:16 CEST | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
lun 10 aoû 2015 21:24:16 CEST | | OS: Linux: 3.19.0-25-generic
lun 10 aoû 2015 21:24:16 CEST | | Memory: 7.75 GB physical, 8.38 GB virtual
lun 10 aoû 2015 21:24:16 CEST | | Disk: 716.27 GB total, 668.50 GB free
lun 10 aoû 2015 21:24:16 CEST | | Local time is UTC +2 hours
ID: 63865 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Daedalus

Send message
Joined: 30 Dec 09
Posts: 15
Credit: 60,635,717
RAC: 24,537
50 million credit badge12 year member badge
Message 63868 - Posted: 12 Aug 2015, 11:24:58 UTC - in response to Message 63865.  
Last modified: 12 Aug 2015, 11:28:39 UTC

All right, i found a solution but cannot edit the title to add a [Solved] tag to it.

What to do is described here: https://github.com/bkloppenborg/simtoi/wiki/Installation-Ubuntu-15.04

Googling was not trivial.I copy paste the instructions just in case the page disappears:

1. Prerequisites

The following software must be installed on your machine to build SIMTOI:

sudo apt-get install build-essential g++ cmake libccfits0 libccfits-dev git
sudo apt-get install libglu1-mesa libglu1-mesa-dev
sudo apt-get install opencl-headers ocl-icd-opencl-dev ocl-icd-libopencl1
sudo apt-get install libqt4-dev liblapack-dev libblas-dev libglm-dev

1.1 NVIDIA GPUs

OpenCL on NVIDIA devices requires not only the NVIDIA drivers and OpenCL ICD, but also the Unified Virtual Memory kernel module to operate correctly. All of this software can be installed using the following commands:

sudo apt-get install nvidia-346 nvidia-opencl-icd-346 nvidia-346-uvm nvidia-modprobe nvidia-opencl-dev
sudo reboot


But if you happen to have the problem with an AMD GPU:

1.2 AMD/ATI GPUs

At present Ubuntu does not distribute both the OpenGL and OpenCL drivers for AMD/ATI GPUs/CPUs. To install the OpenGL drivers you can use the package manager:

sudo apt-get install fglrx fglrx-amdcccle

The OpenCL drivers are packaged as part of the
AMD APP SDK. (http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/) Simply download the appropriate compressed file for your architecture, extract it (using bunzip2 or similar commands) and install the resulting files using a command similar to the following:

sudo ./Install-AMD-APP.sh
ID: 63868 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : No openCL on nvidia (Linux xubuntu 15.04)

©2022 Astroinformatics Group