I'm studying how to program with mkl and I wrote a test program that call vmlSetMode and vdAsin function. Now the problem is that I can compile it via mkl 9.1, but failed to compile it with mkl 10.0.011. I included the header file "mkl_vml.h", and specified these corresponding environment path variables to link with the library.
The following is the compilation process:
icc -o test test.cpp -lvml ( link with mkl 9.1 ok)
icc -o test test.cpp -lmkl_vml_ia ( failed to link with mkl 10.0.011:
undefined reference to `vmlSetMode'
undefined reference to `vdAsin')