Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
16 Views

undefined reference to `matmul_mkl_f64_'

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
Employee
16 Views

Hi Corrado,

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
Highlighted
16 Views

Dear Ying,

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