Hi all,
I am new with cuda and I only use it, because a program that I use requires cuda. I used a fresh install of ubuntu 18.04, kernel 5.4, drivers 455 (Quadro T1000) and cuda 9.1. I installed cuda using methods in this link after trying many other methods: https://gist.github.com/DaneGardner/accd6fd330348543167719002a661bd5. Installation completed without errors.
The program I use is FSL (for medical imaging computations). I contacted the developers from this tool because I could not find the cause of the error. However, they say it is coming from cuda (error message below).
The only cause for this error I could find was that cuda 9.1 is not compatible with gcc/g+±6. I installed version 6, but version 7 seems also installed. I tried the following commands to force using version 6:
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 6
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g+±6 6
sudo update-alternatives --install /usr/bin/cc gcc /usr/bin/gcc-6 6
sudo update-alternatives --install /usr/bin/cc g++ /usr/bin/g+±6 6
sudo ln -s /usr/bin/gcc-6 /usr/local/cuda/bin/gcc
sudo ln -s /usr/bin/g+±6 /usr/local/cuda/bin/g++
without success…
Does anyone know what the problem could be?
Please let me know when more (system) info is required.
Many thanks,
Anouk
Error message:
EDDY::: EddyInternalGpuUtils::make_XtX_cuBLAS: cublasSsyrk error
EDDY::: cuda/EddyInternalGpuUtils.cu::: static NEWMAT::Matrix EDDY::EddyInternalGpuUtils::make_XtX_cuBLAS(const EDDY::CudaVolume4D&): Exception thrown
EDDY::: cuda/EddyInternalGpuUtils.cu::: static double EDDY::EddyInternalGpuUtils::param_update(const NEWIMAGE::volume&, std::shared_ptr<const NEWIMAGE::volume >, std::shared_ptr<const NEWIMAGE::volume >, const NEWIMAGE::volume&, EDDY::Parameters, bool, float, const EDDY::PolationPara&, unsigned int, unsigned int, unsigned int, EDDY::ECScan&, NEWMAT::ColumnVector*): Exception thrown
EDDY::: cuda/EddyGpuUtils.cu::: static double EDDY::EddyGpuUtils::MovAndECParamUpdate(const NEWIMAGE::volume&, std::shared_ptr<const NEWIMAGE::volume >, std::shared_ptr<const NEWIMAGE::volume >, const NEWIMAGE::volume&, bool, float, const EDDY::PolationPara&, EDDY::ECScan&): Exception thrown
EDDY::: eddy.cpp::: EDDY::ReplacementManager* EDDY::Register(const EDDY::EddyCommandLineOptions&, EDDY::ScanType, unsigned int, const std::vector<float, std::allocator >&, EDDY::SecondLevelECModel, bool, EDDY::ECScanManager&, EDDY::ReplacementManager*, NEWMAT::Matrix&, NEWMAT::Matrix&): Exception thrown
EDDY::: Eddy failed with message EDDY::: eddy.cpp::: EDDY::ReplacementManager* EDDY::DoSliceToVolumeRegistration(const EDDY::EddyCommandLineOptions&, unsigned int, bool, EDDY::ECScanManager&, EDDY::ReplacementManager*): Exception thrown