MKL pardiso on Intel Parallel studio Fortran

512 Views Asked by At

Trying to make work MKL_Pardiso on MacOS. I installed Intell Parallel Studio and compile program with fort.

 include 'mkl.fi'
 INCLUDE 'mkl_pardiso.f90'
 program temp
       use mkl_pardiso   
 end program temp

Here is my code to compilier

ifort -mkl temp.f90

The output is

/opt/intel/compilers_and_libraries_2020.1.216/mac/mkl/include/mkl_pardiso.f90(26): error #6218: This statement is positioned incorrectly and/or has syntax errors.
      MODULE MKL_PARDISO_PRIVATE

Why does this happen? should I use another flags?

1

There are 1 best solutions below

1
Gennady.F On

please try build as follows: ifort -mkl mkl_pardiso.f90 temp.f90