- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I did install intel parallel studio 2011 today.
However, I can not compile a simple file involving mkl. Seems that path to mkl library is wrong. Thank you in advance for any help.
#include "stdafx.h"
#include
#include "mkl.h"
int _tmain(int argc, _TCHAR* argv[])
{
int k;
float a1[10];
float a2[10];
for (int k=0;k<10;k++){a1=1.1*k; a2=1.1;}
vsExp(10,a1,a2);
for (int k=0;k<10;k++){printf("%f %f\\n",a1,a2);}
scanf ("%d",&k);
return 0;
}
The log file says:
I did install intel parallel studio 2011 today.
However, I can not compile a simple file involving mkl. Seems that path to mkl library is wrong. Thank you in advance for any help.
#include "stdafx.h"
#include
#include "mkl.h"
int _tmain(int argc, _TCHAR* argv[])
{
int k;
float a1[10];
float a2[10];
for (int k=0;k<10;k++){a1
vsExp(10,a1,a2);
for (int k=0;k<10;k++){printf("%f %f\\n",a1
scanf ("%d",&k);
return 0;
}
The log file says:
Build Log |
|
Command Lines |
Creating temporary file "C:\\Users\\DUCHKO~1\\AppData\\Local\\Temp\\RSPC9B.bs" with contents [ /c /O2 /Oi /Qipo /I "C:\\Program Files (x86)\\Intel\\Parallel Studio 2011\\Composer\\MKL\\Include" /I "C:\\Program Files (x86)\\Intel\\Parallel Studio 2011\\Composer\\MKL\\Include\\fftw" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /EHsc /MD /GS /Gy /fp:fast /Yu"StdAfx.h" /Fp"Release/test_mkl_hello.pch" /Fo"Release/" /Fd"Release/vc90.pdb" /W3 /nologo /Zi /Qvc9 /Qlocation,link,"C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\\\bin" .\\test_mkl_hello.cpp ] Creating command line "icl.exe "@C:\\Users\\DUCHKO~1\\AppData\\Local\\Temp\\RSPC9B.bs"" |
Output Window |
Compiling with Intel C++ Compiler 12.0.0.063 [IA-32]... (Intel C++ Environment) test_mkl_hello.cpp .\\test_mkl_hello.cpp(3): catastrophic error: cannot open source file "mkl.h" #include "mkl.h" ^ compilation aborted for .\\test_mkl_hello.cpp (code 4) |
Results |
Build log was saved at "file://D:\\_Duchkov\\Work\\Collaboration\\Fredrik\\test_mkl_hello\\test_mkl_hello\\Release\\BuildLog.htm" test_mkl_hello - 1 error(s), 0 warning(s), 0 remark(s) |
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The Intel Parallel Studio 2011(/Composer 2011) does not include Intel MKL as part of the product. MKL is part of the Intel C++/Fortran Compiler Pro Edition, (the Intel Cluster Toolkit Compiler Edition) and is available as a standalone product by itself also.You may use MKL withStudio 2011/Composer 2011 but it is not included in the Parallel Studio 2011/Composer 2011 product- just FYI.
-regards, Kittur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have a look there: http://software.intel.com/en-us/forums/showthread.php?t=71016&o=d&s=lr
Maybe this can help you.
Heinz
Maybe this can help you.
Heinz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anton,
please look at these 2 MKL KB articles dedicated the similar issues:
Configuring Intel Fortran in Microsoft* Visual Studio* to build Intel MKL Applications
and
How to build MKL application in Intel Visual Fotran (MSVC*2005)
and let us know if it would't help you.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page