- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My code is compiled with intel MKL in window 10 but it does not compile in Linux system (CentOS 6).
I use a sentence for compiling like this
ifort /c /Qmkl *for
ifort /o *obj
It is working in the window.
I use the compatible sentence like this
ifort -c -mkl *for
ifort -o *o
However, the sentence is not working in Linux (CentOS 6).
The compiler shows "(.text+0x9c51f): undefined reference to `pardiso_''"
The compiler cannot find PARDISO from intel MKL.
I already set the PATH of intel compiler directory and library.
I tried to include mkl_pardiso.f95 in my code but it was not working too...
Any comments can be helpful to me.
Thanks in advance
Sungho
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to add -mkl to the linking command line:
ifort -mkl *.o -o myexe
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