Hi,
I've recently compiled mkl example files like pardiso_unsym_c.c and others on windows using pgi compilers. Specifically, I use the lines
set "MKL_ROOT=C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.1.144\windows\mkl" set "MKL_LIBS=%MKL_ROOT%\lib\intel64_win" pgcc -DMKL_ILP64 -I"%MKL_ROOT%\include" -c pardiso_unsym_c.c pgcc pardiso_unsym_c.obj -L"%MKL_LIBS%" mkl_intel_ilp64.lib mkl_sequential.lib mkl_core.lib
It compiles without error. However, when I attempt to run the resultant .exe file, I get the error message
Error during symbolic factorisation: -1
The pardiso error codes (listed here) say this means there is "input inconsistency". As the error implies, this happens during the symbolic phase (line 121 in pardiso_unsym_c.c).