I receive an error when trying to compile with the Fortran Compiler of Intel® Parallel Studio XE 2018.
I use the following flags for compilation: -fast -parallel -qopenmp -qopt-matmul -axCOMMON-AVX512 -ftz -ip -pad -unroll-aggressive
and these for linking: -parallel -qopenmp -lmatmul -qopt-report=5
At the linking stage I keep getting this kind of message:
ipo_out.f:(.text+0x255af): undefined reference to `matmul_mkl_f64_'
I have tried a number of combinations of linking options but the error persists
Thanks a lot in advance
As the symbols seems not mkl library direct-related, i move your issue to intel fortran compiler forum.
Generally, you may try add -mkl in your both compile and link line to resolve mkl related symbols.
thank you very much for the suggestion.
I added -mkl in both compile and link line that now are as follows
-fast -parallel -qopenmp -qopt-matmul -mkl -axCOMMON-AVX512 -ftz -ip -pad -unroll-aggressive
-parallel -qopenmp -lmatmul -mkl -qopt-report=5
Unfortunately I get the same error:
ipo_out.f:(.text+0x30b5f): undefined reference to `matmul_mkl_f64_'
I am sorry, but I don't know what to do. Also online there are no instances of this particular undefined reference...
Any help is greatly appreciated.