Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28446 Discussions

undefined reference to `matmul_mkl_f64_'

bacchiocchi__corrado
1,008 Views

Hi everybody,

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

Any suggestion?

Thanks a lot in advance

Corrado

0 Kudos
2 Replies
Ying_H_Intel
Employee
1,008 Views

Hi Corrado,

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.

Best Regards,

Ying

0 Kudos
bacchiocchi__corrado
1,008 Views

Dear Ying,

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.

Best regards

Corrado

0 Kudos
Reply