- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have just install Intel MKL 11.3 for Linux.
First to make sure that Intel MKL runs on my system, I have tried to compile and link "Matrix Multiplication Tutorial" example:
icc -mkl dgemm_example.c
No command 'icc' found, but there are 30 similar ones.
Is Intel compiler included in MKL or I have to install independiently?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you install MKL without icc, you should be able to use gcc by referring to link advisor:
https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor
MKL is included in the default installation of icc, but not vice versa.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By default the Intel compilers are installed in /opt/intel folders.
for e.g: /opt/intel/compilers_and_libraries_2016.1.150/linux/bin
you can run $source compilervars.sh intel64 (say, if you are targeting 64 bit) to set the env. variables for the intel64.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have run the next command but I have not solved the problem.
$ cd /opt/intel/compilers_and_libraries_2016.0.109/linux/bin
$ source compilevars.sh intel64
$ icc --version
$ No command 'icc' found, but there are 30 similar ones
Now , instead of compile using intel compiler,
$ icc -mkl dgemm_example.c
$ No command "icc" found ....
I am using gcc compile,
$ gcc dgemm_example.c -lmkl_rt
Thanks, but I think icc is not included in MKL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I failed to set up icc by installing MKL neither...(@ OSX El Capitan) I tried
$ cd /opt/intel/compilers_and_libraries_2017.2.163/mac/bin
$ source compilevars.sh intel64
, but I could not find icc command. I'd like to use icc for installing numpy library.
Could you show me how to install MKL with icc,
Thank you for your cooperation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your advice!
I tried
cd /
cd opt
cd intel
cd compilers_and_libraries
cd mac
cd bin
source compilervars.sh -arch intel64 -platform mac
However, when I run,
icc -v
the terminal replied
command not fund: icc
I wonder that my MKL does not have icc. I downloaded the MKL from hear(https://software.intel.com/en-us/articles/free-mkl), and chose Community Licensing for Intel Performance Libraries for macOS (ver. 2017 Update 2). Then I chose the Intel MKL as a download option.
Is there something wrong with my setup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Free MKL doesn't provide a compiler. It should work with gcc/gfortran/g++ (maybe clang...] as well as purchased or evaluation Intel compilers.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page