Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26730 Discussions

VS2019 and Intel 2019 Fortran Compiler - Unresolved external symbol

Akindele__Tunde
Beginner
194 Views

I am trying to compile a Fortran program with Intel 2019 Fortran Compiler, I keep getting the following unresolved external symbol errors:

error LNK2019: unresolved external symbol vdtanh_ referenced in function mlp_mp_tanh_func_
error LNK2019: unresolved external symbol vdasinh_ referenced in function mlp_mp_sinh_func_
error LNK2019: unresolved external symbol vddiv_ referenced in function mlp_mp_solve_
error LNK2019: unresolved external symbol vdinv_ referenced in function mlp_mp_solve_
error LNK2019: unresolved external symbol vdmul_ referenced in function mlp_mp_solve_
error LNK2019: unresolved external symbol vdinvsqrt_ referenced in function mlp_mp_solve_

Do you know what library to link with the program in order to resolve these errors?

Thank you.

0 Kudos
1 Solution
mecej4
Black Belt
178 Views

The interfaces to the routines in question are in 

  • mkl_vml.f90

Link to the MKL library. For simple uses of the MKL library, simply use the /Qmkl compiler option. Otherwise, use the MKL Link Line Advisor .

View solution in original post

2 Replies
mecej4
Black Belt
179 Views

The interfaces to the routines in question are in 

  • mkl_vml.f90

Link to the MKL library. For simple uses of the MKL library, simply use the /Qmkl compiler option. Otherwise, use the MKL Link Line Advisor .

View solution in original post

Akindele__Tunde
Beginner
141 Views

Thank you. Linking with mkl_rt.lib resolved the problem.

Reply