Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6977 Discussions

Problem with Environmental variables created using mklvsrsem64t

mecipema
Beginner
185 Views
I wish to use the mkl subroutines for doing computaions in my code. As mentioned in the user guide, I used mklvarsem64t to create the Environmental Variables INCLUDE, LIBRARY PATH and LD_LIBRARY_PATH. But when i try to run the executable, it was not working.
The reason was "/opt/intel/mkl/10.0.2.018/lib/em64t/libiomp5.so: no version information available (required by main.e)"

This is because of the problem of Enviro: Variable. So I type cd $LD_LIBRARY_PATH and I end up getting
"
/opt/intel/mkl/10.0.2.018/include:/opt/intel/mkl/10.0.2.018/include:/opt/intel/mkl/10.0.2.018/include:/opt/intel/mkl/10.0.2.018/include:/opt/intel/mkl/10.0.2.018/include:/opt/intel/mkl/10.0.2.018/include:/opt/intel/mkl/10.0.2.018/include: No such file or directory."

Then I went to the correspondint file mklvarsem64t and checked it. The problem seems to be with the line as shown in bold
"if ($?LD_LIBRARY_PATH) then
setenv LD_LIBRARY_PATH "${MKLROOT}/lib/em64t:$LD_LIBRARY_PATH"
else
setenv LD_LIBRARY_PATH "${MKLROOT}/lib/em64t"
endif
"
But since I am not able to proceed any further I request your kind help.
0 Kudos
1 Reply
Chao_Y_Intel
Moderator
185 Views

Hello,

LD_LIBRARY_PATH should includes the library path (/opt/intel/mkl/10.0.2.018/lib/em64t), not the head file path (/opt/intel/mkl/10.0.2.018/include). Is this correct there?

Thanks,
Chao

0 Kudos
Reply