The example code "testing_dgels.cpp" is seemingly failing to run properly.
At most calls it outputs "Intel MKL ERROR: Parameter .. was incorrect on entry to .."
Namely:
Code: Select all
lapackf77_dgels( MagmaNoTransStr, &M, &N, &nrhs, unused, &lda, unused, &ldb, tmp, &lhwork, &info );Code: Select all
MagmaNoTransStr="NoTrans", int M=1088, int N=1088, int nrhs=1, double * unused[1], int lda=1088, int ldb=1088, double * tmp[1], int lhwork=-1, int info=-2Code: Select all
Intel MKL ERROR: Parameter 2 was incorrect on entry to DGELS .- CUDA_SDK_ROOT_DIR=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0
GPU_TARGET=Pascal
LAPACK_LIBRARIES=mkl_intel_ilp64.lib;mkl_intel_thread.lib;mkl_core.lib;libiomp5md.lib (copied from IntelSWTools/parallel_studio_xe_2019.0.045/ compilers_and_libraries_2019/windows/mkl/lib/intel64_win)
MKLROOT=D:/Program Files (x86)/IntelSWTools/parallel_studio_xe_2019.0.045/compilers_and_libraries_2019/windows/mkl
USE_FORTRAN=Yes
What more information do we need to unveil what is going on?
Doubt: Should I have set USE_FORTRAN=Yes?
Double doubt: lapackf77_dgels -> does this mean this is a Fortran 77 calling function? (Do I even have Fortran 77 in my laptop? I vaguely think I saw IntelSWTools only installing Fortran 90
Thank you