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

Problem with pardiso

zleutwyler
Beginner
1,211 Views
I am new to ifort and MKL and am trying to help a co-worker run an example problem on an SGI Altix 330. I have installed the ifort and MKL files I recieved and am trying to run the pardisio_sym_f.f example provided with MLK. When I issue

bash ifort pardiso_sym_f.f

I get the following error, which doesn't make any since to me.

ortcom: Error: pardiso_sym_f.f, line 37: Cannot open include file 'mkl_pardiso.f77'
include 'mkl_pardiso.f77'
--------------^
compilation aborted for pardiso_sym_f.f (code 1)

Like I said I am really new to this compiler and library so it is probably something really simple.
0 Kudos
1 Reply
Sergey_K_Intel1
Employee
1,211 Views

Please go to the directory examples/solver and type make lib64. A log file will appear on your screen and it will show how to compile and link with PARDISO correctly.

Your error means that you forgot to use flag -I/include where file mkl_pardiso.f77 is located. Please don't forget to add the right sequence of mkl libraries for linking.

All the best

Sergey

0 Kudos
Reply