I have run dwifslpreproc but I can’t make it work with eddy_cuda. Although I can run eddy_cuda (cuda 9.1) with no other arguments and it works. I can’t even try to run from the temporary directory of dwifslpreproc. Openmp does work. It has worked before with another ubuntu 20.04 I believe. Now 22.04 fresh install.
Command: eddy_cuda --imain=eddy_in.nii --mask=eddy_mask.nii --acqp=eddy_config.txt --index=eddy_indices.txt --bvecs=bvecs --bvals=bvals --slm=linear --data_is_shelled --out=dwi_post_eddy --verbose
dwifslpreproc: CUDA version of ‘eddy’ was not successful; attempting OpenMP version
Yeah, you need to make sure your NVIDIA drivers and cuda library are set up properly.
I would recommend uninstalling the existing NVIDIA drivers and libraries, reinstalling the latest driver for your graphics card, and then install cuda library 10.2 without the driver to avoid any conflicts.
I can’t install NVIDIA drivers 10.2. There are unmet dependencies and I can’t find a way to make it work. Believe me I have tried many options and none seem to work. Perhaps is ubuntu 22.04. Still I understand perhaps thats my only option. It seems odd to me that 9.1 can be installed while 10.2 cannot. For the mean time I use openmp. It’s a shame I can’t use my GPU for the moment. Thanks for the help either way!
I think I know what seems to be the issue. I run nvidia-smi and there seems to be an issue with the driver. Then I try sudo apt-get install nvidia-driver-390 ( for cuda toolkit 9.1) or sudo apt-get install nvidia-driver-440 (for cuda toolkit 10.2) or sudo apt-get install nvidia-driver-515 (latest up to date ) and none seems to install correctly. Issues related to dkms and driver itself. I have done sudo apt-get purge nvidia and sudo apt autoremove. And none allows me to install. I try to configure to --fix-broken dependences to -f (force) installation and nothing works. For R390 there seems to be an issue with libraries related to xserver-xorg-video-nvidia and other cfg1 that seem to install and uninstall one another when both needs to be installed. I know it seems contradictory and difficult to understand but this is what I had to face.
Yes, getting the NVIDIA drivers installed correctly can sometimes be a bit of a headache, unfortunately. I did however just spot that there has been a hiccup in Ubuntu’s handling of the 390 driver, though I have no idea whether that’s actually relevant to your situation… That said, if this is the issue, there’s a good chance that it might magically work if you try again now or in the near future when they’ve sorted out the packages…