Compiling error when using the hiplarb installer with cuda and atlas during R compilation

327 views Asked by At

I'm trying to compile hiplarb using the HiPLARb Installer. Running the following command:

./HiPLARb.Installer --prefix=/home/ubuntu/mylibs
--cuda-home=/usr/local/cuda-5.5 --with-atlas --with-rpatched 
--r-install-dir=/home/mylibs/R-patched

Everything compiled fine until it comes to compiling R. It terminates at the following line:

gcc -std=gnu99 -Wl,--export-dynamic-fopenmp -L/usr/local/lib -o R.bin Rmain.o -L../../lib -lR -lRblas

it returns the following:

/usr/local/lib/libR.so: undefined reference to `drot_'
/usr/local/lib/libR.so: undefined reference to `dtrsm_'
/usr/local/lib/libR.so: undefined reference to `dswap_'
/usr/local/lib/libR.so: undefined reference to `dcopy_'
/usr/local/lib/libR.so: undefined reference to `ddot_'
/usr/local/lib/libR.so: undefined reference to `dgemm_'
/usr/local/lib/libR.so: undefined reference to `dscal_'
/usr/local/lib/libR.so: undefined reference to `dnrm2_'
/usr/local/lib/libR.so: undefined reference to `dsyrk_'
/usr/local/lib/libR.so: undefined reference to `daxpy_'
/usr/local/lib/libR.so: undefined reference to `drotg_'
/usr/local/lib/libR.so: undefined reference to `zgemm_'
collect2: ld returned 1 exit status

I'm now stuck and not sure how I can compile R to work properly. Please help.

0

There are 0 answers