Clara Anton Fernandez
2013-Aug-02 08:37 UTC
[R] HiPLARb installation failed when magma-lib included
Hi all, I am trying to install HiPLARb package but I am running into an error. Any help would be greatly appreciated. I used the installer available from their website (http://www.hiplar.org/hiplar-b-installation.html) and followed their instructions. The installer finished without showing warnings or errors, but HiPLARb is not installed when I try to load it in R. So, I tried to do install HiPLARb package manually and it is installed correctly if I do R CMD INSTALL --configure-args="--with-lapack=-L/home/caf/mylibs/lib\ -lopenblas --with-plasma-lib=/home/caf/mylibs --with-cuda-home=/usr/local/cuda " HiPLARb_0.1.3.tar.gz but if I try to include magma R CMD INSTALL --configure-args="--with-lapack=-L/home/caf/mylibs/lib\ -lopenblas --with-magma-lib=/home/caf/mylibs --with-plasma-lib=/home/caf/mylibs --with-cuda-home=/usr/local/cuda " HiPLARb_0.1.3.tar.gz I get the error Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/home/caf/R.2.15.2-patched/lib/R/library/HiPLARb/libs/HiPLARb.so': /home/caf/mylibs/lib/libmagmablas.so: undefined symbol: cudaMemcpyFromSymbol Info about the system Ubuntu 12.04.2 LTS NVIDIA Quadro K4000 CUDA 5.5 R 2.15.2, hwloc, MAGMA and PLASMA where both downloaded and installed by HiPLARb installer Any help much appreciated, Clara
Clara Antón Fernández
2013-Aug-06 06:56 UTC
[R] HiPLARb installation failed when magma-lib included
Just in case it is helpful for someone else, this is what did the trick for me. I reinstalled CUDA 5.5 (and gcc g++ and build-essential, just in case), removed the previous installation of all the related libraries and reinstalled everything and HiPLARb works perfectly now. Clara ________________________________________ From: r-sig-hpc-bounces at r-project.org [r-sig-hpc-bounces at r-project.org] on behalf of Clara Ant?n Fern?ndez [caf at skogoglandskap.no] Sent: Saturday, August 03, 2013 14:41 To: r-sig-hpc at r-project.org Subject: [R-sig-hpc] HiPLARb installation failed when magma-lib included Hi all, I am trying to install HiPLARb package but I am running into an error. Any help would be greatly appreciated. I used the installer available from their website (http://www.hiplar.org/hiplar-b-installation.html) and followed their instructions. The installer finished without showing warnings or errors, but HiPLARb is not installed when I try to load it in R. So, I tried to install HiPLARb package manually. If I do R CMD INSTALL --configure-args="--with-lapack=-L/home/caf/mylibs/lib\ -lopenblas --with-plasma-lib=/home/caf/mylibs --with-cuda-home=/usr/local/cuda " HiPLARb_0.1.3.tar.gz the installation is successfull, but if I try to include magma R CMD INSTALL --configure-args="--with-lapack=-L/home/caf/mylibs/lib\ -lopenblas --with-magma-lib=/home/caf/mylibs --with-plasma-lib=/home/caf/mylibs --with-cuda-home=/usr/local/cuda" HiPLARb_0.1.3.tar.gz I get the error Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/home/caf/R.2.15.2-patched/lib/R/library/HiPLARb/libs/HiPLARb.so': /home/caf/mylibs/lib/libmagmablas.so: undefined symbol: cudaMemcpyFromSymbol Info about the system Ubuntu 12.04.2 LTS NVIDIA Quadro K4000 CUDA 5.5 R 2.15.2, hwloc, MAGMA and PLASMA where both downloaded and installed by HiPLARb installer Any help much appreciated, Clara _______________________________________________ R-sig-hpc mailing list R-sig-hpc at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-hpc