[R-pkg-devel] Linking with OpenBLAS complains lapacke not found

2019-09-08 Thread Sameh M. Abdulah
I am linking my package against openblas but it complains that lapacke is not found which I need for the installation. I have another alternative to linking against MKL but I cannot find it using MKLROOT variable on CRAN servers. —Sameh Get Outlook for iOS [[al

Re: [R-pkg-devel] Linking with OpenBLAS complains lapacke not found

2019-09-08 Thread Brian G. Peterson
On Sun, 2019-09-08 at 10:04 +, Sameh M. Abdulah wrote: > I am linking my package against openblas but it complains that > lapacke is not found which I need for the installation. > > I have another alternative to linking against MKL but I cannot find > it using MKLROOT variable on CRAN servers.

Re: [R-pkg-devel] Linking with OpenBLAS complains lapacke not found

2019-09-08 Thread Sameh M. Abdulah
Brian, This is the code I am using to linking with BLAS using MKL or OpenBLAS #MKL if [ -n "$MKLROOT" ] && [ -d "$MKLROOT" ]; then echo "mkl_dir directory exists!" echo "Great... continue set-up" source ${MKLROOT}/bin/mklvars.sh intel64 DEFINE_BLAS_LIBS_CMAKE="-DBLAS_LIBRARIES='-L