Comments (43)
You don't need to install clBLAS, you just need to set the environment
variable LD_LIBRARY_PATH
e.g.
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/andek/BROCCOLI/code/BROCCOLI_LIB/clBLASLinux
2015-08-15 3:14 GMT+02:00 ImmanuelSamuel [email protected]:
https://launchpad.net/ubuntu/+source/clblas
I tried the .deb file but it said dependency not satisfied in synaptics
package manager. I am not very familiar with ubuntu so I would rather no go
through the cmake route. Just seems too much. Something like apt-get would
be great for me.
Thank you—
Reply to this email directly or view it on GitHub
#19.
Anders Eklund, PhD
from broccoli.
Thanks that worked. But the GetOpenCLInfo still doesnt recognize my NVIDIA card. I did install libcuda1-355, nvidia-355, nvidia-opencl-icd-355 but still its not showing up.
from broccoli.
Try
Sudo nvidia-xconfig
And then reboot
Den 15 aug 2015 20:12 skrev "ImmanuelSamuel" [email protected]:
Thanks that worked. But the GetOpenCLInfo still doesnt recognize my NVIDIA
card. I did install libcuda1-355, nvidia-355, nvidia-opencl-icd-355 but
still its not showing up.—
Reply to this email directly or view it on GitHub
#19 (comment).
from broccoli.
Did that it said writing to new conf file in X11 folder or something but still it doesn't show up
from broccoli.
Try
sudo apt-get purge nvidia*
sudo apt-get install nvidia-current
Den 15 aug 2015 20:33 skrev "ImmanuelSamuel" [email protected]:
Did that it said writing to new conf file in X11 folder or something but
still it doesn't show up—
Reply to this email directly or view it on GitHub
#19 (comment).
from broccoli.
Did that and ran getopenclinfo nothing.
Ran sudo nvidia-xconfig restarted now I am in a login loop
from broccoli.
Yeah I had that too
open a terminal using ctrl-alt-f1
rm .Xauthority
sudo shutdown -r now
2015-08-15 20:44 GMT+02:00 ImmanuelSamuel [email protected]:
Did that and ran getopenclinfo nothing.
Ran sudo nvidia-xconfig restarted now I am in a login loop—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
Still same problem. I must say that I had installed linux-generic before I got you reply. I was reading some forums
from broccoli.
OK this is my last tip
sudo rm .xsession-errors*
Otherwise
sudo apt-get purge nvidia*
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install nvidia-current
2015-08-15 20:59 GMT+02:00 ImmanuelSamuel [email protected]:
Still same problem. I must say that I had installed linux-generic before I
got you reply. I was reading some forums—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
Thanks for the help. Reinstalling nvidia-346 got my desktop back again ... nvidia-current installs 304 version hence the problem. Running GetOpenCLInfo still doesn't recognize my card which is a gtx 980 ti. I guess I will try googling it. Thanks again.
from broccoli.
Tomorrow I will try to fix the CPU problem(s), so you can use that at least.
2015-08-15 21:41 GMT+02:00 ImmanuelSamuel [email protected]:
Thanks for the help. Reinstalling nvidia-346 got my desktop back again ...
nvidia-current installs 304 version hence the problem. Running
GetOpenCLInfo still doesn't recognize my card which is a gtx 980 ti. I
guess I will try googling it. Thanks again.—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
The CPU is running fine for me ... or atleast I think. I tried first level analysis it ran for some time before I quit seeing it was not using my GPU.
from broccoli.
Confused you with another user, sorry.
Can you check if this file exists?
/etc/OpenCL/vendors/nvidia.icd
2015-08-15 21:47 GMT+02:00 ImmanuelSamuel [email protected]:
The CPU is running fine for me.
—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
Yes it does along with amdocl32.ocd and amdocl64.icd
from broccoli.
Found this
Here is a list of all of the packages you will need to get OpenCL working
on Ubuntu 14.10 with NVIDIA drivers:
sudo apt-get install nvidia-331 nvidia-331-uvm nvidia-opencl-dev nvidia-modprobe
EDIT: In case anyone encounters a similar problem on Ubuntu 15.04 and the
NVIDIA 346.59 drivers, the command to fix the issue is nearly identical:
sudo apt-get install nvidia-346 nvidia-346-uvm nvidia-opencl-dev nvidia-modprobe
http://askubuntu.com/questions/541114/how-to-make-opencl-work-on-14-10-nvidia-331-89-drivers
2015-08-15 21:51 GMT+02:00 Anders Eklund [email protected]:
Confused you with another user, sorry.
Can you check if this file exists?
/etc/OpenCL/vendors/nvidia.icd
2015-08-15 21:47 GMT+02:00 ImmanuelSamuel [email protected]:
The CPU is running fine for me.
—
Reply to this email directly or view it on GitHub
#19 (comment).Anders Eklund, PhD
Anders Eklund, PhD
from broccoli.
Both didnt work for me. sudo clinfo didnt show the nvidia card.
The following will work if you use gtx 980 ti
sudo apt-get install nvidia-352 nvidia-352-uvm nvidia-opencl-dev nvidia-modprobe
Now clInfo recognised my nvidia card but GetOpenCLInfo didnt yet work.
from broccoli.
OK can you just make a reboot to make sure everything is loaded from start.
2015-08-15 22:05 GMT+02:00 ImmanuelSamuel [email protected]:
Both didnt work for me. sudo clinfo didnt show the nvidia card.
The following will work if you use gtx 980 ti
sudo apt-get install nvidia-352 nvidia-352-uvm nvidia-opencl-dev
nvidia-modprobeNow clInfo recognised my nvidia card but GetOpenCLInfo didnt yet work.
—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
Lol now after restart even clInfo doesn't recognize the video card.
from broccoli.
Hmm, can you do
sudo clinfo
and then
clinfo
and
sudo GetOpenCLInfo
and then
GetOpenCLInfo
2015-08-15 22:12 GMT+02:00 ImmanuelSamuel [email protected]:
Lol now after restart even clInfo doesn't recognize the video card.
—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
sudo doesnt recognize the LD_LIBRARY_PATH
from broccoli.
Try
sudo export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/andek/BROCCOLI/
code/BROCCOLI_LIB/clBLASLinux
Also see end of this page, suppose you need to change 331 to 352
I finally added the next lines in my /etc/rc.local file:
begin opencl config
modprobe nvidia-331-uvm
mknod -m 666 /dev/nvidia-uvm c 249 0
clinfo
end opencl config
http://askubuntu.com/questions/576338/why-opencl-is-not-default-14-04-nvidia-331
2015-08-15 22:16 GMT+02:00 ImmanuelSamuel [email protected]:
sudo doesnt recognize the LD_LIBRARY_PATH
—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
says sudo export command not found
from broccoli.
$ modprobe nvidia-352-uvm
modprobe: ERROR: could not insert 'nvidia_352_uvm': Operation not permitted
from broccoli.
try with sudo
$ sudo modprobe nvidia-352-uvm
$ sudo mknod -m 666 /dev/nvidia-uvm c 249 0
sudo clinfo
Then try clinfo and GetOpenCLInfo without sudo
2015-08-15 22:36 GMT+02:00 ImmanuelSamuel [email protected]:
$ modprobe nvidia-352-uvm
modprobe: ERROR: could not insert 'nvidia_352_uvm': Operation not permitted—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
$ sudo modprobe nvidia-352-uvm
$ sudo mknod -m 666 /dev/nvidia-uvm c 249 0
$ sudo clinfo
The above worked but without sudo nope
from broccoli.
Can you now see the device in GetOpenCLInfo?
If you want to make the change permanent, open /etc/rc.local with a text
editor,
e.g.
gedit /etc/rc.local
or
sudo gedit /etc/rc.local
add
begin opencl config
modprobe nvidia-331-uvm
mknod -m 666 /dev/nvidia-uvm c 249 0
clinfo
end OpenCL config
then save the file
2015-08-15 22:44 GMT+02:00 ImmanuelSamuel [email protected]:
$ sudo modprobe nvidia-352-uvm
$ sudo mknod -m 666 /dev/nvidia-uvm c 249 0
$ sudo clinfoThe above worked but without sudo nope
—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
Ok so both clinfo and GetOpenCLInfo works (without sudo) if I put it in the .bashrc in my home directory i.e. recognises the video card. But it doesnt work in a terminal. I added your previous message in /etc/rc.local but that also didnt do anything (yes I changed the version 331 to 352). Going to do a reset and see if anything changed.
from broccoli.
Nothing changed.
from broccoli.
Hmm, but GetOpenCLInfo now prints the 980 card? Can you try to for example
run RegisterTwoVolumes?
You need sudo if you write the commands in a terminal, but not if you put
them in a text file.
2015-08-15 23:02 GMT+02:00 ImmanuelSamuel [email protected]:
Nothing changed.
—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
If I enter the following in a terminal
GetOpenCLInfo or
sudo GetOpenCLInfo
It doesnt recognize the card.
But if I put GetOpenCLInfo in the .bashrc file in my home directory then it shows the nvidia card when it runs as soon as I open a terminal.
from broccoli.
First run this in a terminal
$ sudo modprobe nvidia-352-uvm
$ sudo mknod -m 666 /dev/nvidia-uvm c 249 0
$ sudo clinfo
then run GetOpenCLInfo in a terminal (without sudo)
2015-08-15 23:08 GMT+02:00 ImmanuelSamuel [email protected]:
If I do
GetOpenCLInfo or
sudo GetOpenCLInfoIt doesnt recognize the card.
But if I put GetOpenCLInfo in the .bashrc file in my home directory then
it shows the nvidia card.—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
Yes I entered that still it doesn't recognize it.
from broccoli.
OK can you also do
sudo apt-get install nvidia-opencl-icd-352
2015-08-15 23:14 GMT+02:00 ImmanuelSamuel [email protected]:
Yes I entered that still it doesn't recognize it.
—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
It was already installed
from broccoli.
OK do
sudo ldconfig
2015-08-15 23:16 GMT+02:00 ImmanuelSamuel [email protected]:
It was already installed
—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
did that and then ran clinfo - didnt recognize it
from broccoli.
Found this just now
Will update after I try it
from broccoli.
Finally GetOpenCLInfo is working with that
from broccoli.
Thanks wanderine!!!!!
from broccoli.
Nice, I will try to add this to the documentation.
2015-08-15 23:32 GMT+02:00 ImmanuelSamuel [email protected]:
Thanks wanderine!!!!!
—
Reply to this email directly or view it on GitHub
#19 (comment).
Anders Eklund, PhD
from broccoli.
Please do! It worked! So happy lol
from broccoli.
First level analysis is also working
from broccoli.
Well sort of
Performing registration between fMRI and T1
Segmentation fault (core dumped)
but that is for another day and another issue
from broccoli.
Related Issues (20)
- BROCOLLI crashes without error
- TFCE is currently turned off error in RandomiseGroupLevel HOT 4
- permutations tmaps different from fsl randomize output by a factor of ~470 HOT 4
- GLM: segmentation fault HOT 2
- permutations turned off HOT 1
- Memory issue HOT 6
- Registration Failure HOT 1
- output uncorrected results for RandomiseGroupLevel HOT 2
- TFCE support? HOT 2
- AMD gpu and Docker failed HOT 4
- Roadmap? HOT 9
- Error building kernelBayesian.cpp for GPU on macOS HOT 2
- Elastic net regularization for GLM? HOT 2
- RandomiseGroupLevel for repeated measures HOT 2
- RandomiseGroupLevel crashing HOT 5
- python wrapper compilation HOT 1
- Segmentation fault - Multiple runs per participant still not fixed
- Compiling the matlab wrapper on Mac HOT 1
- nipype: BROCCOLI nodes do not produce any output within workflows HOT 1
- Broccoli in WSL2 - Ubuntu 22.04 - HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broccoli.