- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please helpppp :(
1>test.obj : error LNK2028: unresolved token (0A00003C) "int __cdecl PARDISO(void *,int *,int *,int *,int *,int *,struct doublecomplex *,int *,int *,int *,int *,int *,int *,struct doublecomplex *,struct doublecomplex *,int *)" (?PARDISO@@$FYAHPAXPAH1111PAUdoublecomplex@@111111221@Z) referenced in function "public: __clrcall Test::Test(void)" (??0Test@@$FQ$AAM@XZ)
1>test.obj : error LNK2019: unresolved external symbol "int __cdecl PARDISO(void *,int *,int *,int *,int *,int *,struct doublecomplex *,int *,int *,int *,int *,int *,int *,struct doublecomplex *,struct doublecomplex *,int *)" (?PARDISO@@$FYAHPAXPAH1111PAUdoublecomplex@@111111221@Z) referenced in function "public: __clrcall Test::Test(void)" (??0Test@@$FQ$AAM@XZ)
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, worakanok
I think the followingKB articles will help you to find out how to create and link your application with the latest MKL's version.
The first KB article "Integrating a Microsoft Visual Studio* IDE Project with Intel MKL", This KB article provides of Microsoft Visual Studio* IDE projects with the library.
And the second article will helps you to select libraries you need for linking your application
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, worakanok
I think the followingKB articles will help you to find out how to create and link your application with the latest MKL's version.
The first KB article "Integrating a Microsoft Visual Studio* IDE Project with Intel MKL", This KB article provides of Microsoft Visual Studio* IDE projects with the library.
And the second article will helps you to select libraries you need for linking your application
--Gennady
Well thank you for your reply. However, my problem was not linking MKL with MVS. If you try to run the example "pardiso_unsym_complex_c.c" that came with your MKL, i'll see that it can't compile. I found out later from a help of my friend and google that in order for pardiso to work for complex number you need to cast _DOUBLE_COMPLEX_t to double or PARDISO will not recognize it. I am now having another problem that pardiso (complex) doesn't give me the right solution compared with that given by using real-number pardiso. Any suggestion?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Am I right? If yes, you can add
#include
And comment
//extern MKL_INT PARDISO
// (void *, MKL_INT *, MKL_INT *, MKL_INT *, MKL_INT *, MKL_INT *,
// double *, MKL_INT *, MKL_INT *, MKL_INT *, MKL_INT *, MKL_INT *,
// MKL_INT *, double *, double *, MKL_INT *);
( the example pardiso_unsym_c.c pardiso_unsym_c.cpp is attached).
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well thank you for your reply. However, my problem was not linking MKL with MVS. If you try to run the example "pardiso_unsym_complex_c.c" that came with your MKL, i'll see that it can't compile. I found out later from a help of my friend and google that in order for pardiso to work for complex number you need to cast _DOUBLE_COMPLEX_t to double or PARDISO will not recognize it.
I am now havinganother problem that pardiso (complex) doesn't give me the right solutioncompared with that given by using real-number pardiso. Anysuggestion?
Can you get the test case? ( Feel free to reply in Private if needed ).
--Gennady
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page