Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6977 Discussions

Problem when using MKL Poisson Library in IVF10

zlh007
Beginner
300 Views

In the Intel visual fortran 10with Miscrosoft visual studio 2005, Ican't compile successfully the code example given by manual of MKL poisson library witherrors:
Error1 error LNK2019: unresolved external symbol _D_INIT_HELMHOLTZ_2D referenced in function _MAIN__PoissonSolver.obj
Error2 error LNK2019: unresolved external symbol _D_COMMIT_HELMHOLTZ_2D referenced in function _MAIN__PoissonSolver.obj
Error3 error LNK2019: unresolved external symbol _D_HELMHOLTZ_2D referenced in function _MAIN__PoissonSolver.obj
Error4 error LNK2019: unresolved external symbol _FREE_HELMHOLTZ_2D referenced in function _MAIN__PoissonSolver.obj
Error5 fatal error LNK1120: 4 unresolved externalsDebug\PoissonSolver.exe

The the head part of example code is :
include 'mkl_dfti.f90'
include 'mkl_poisson.f90'
program Poisson_2D_double_precision
! Include modules defined by mkl_poisson.f90 and mkl_dfti.f90 header files
use mkl_dfti
use mkl_poisson
I have configured the compiler as:
1. adding tools->Options->Intel Fortran->LibrariesC:\Program Files\Intel\MKL\10.0.012\ia32\lib
Include:C:\Program Files\Intel\MKL\10.0.012\include
2.InProject > Properties > Linker > Input-> the Additional Dependencies line, insert:
mkl_intel_c.lib mkl_intel_thread.lib mkl_solver.lib mkl_core.lib libguide.lib
3. The MKl lib directory is also addedas the project additional library directories.

Note: I have successfully using many other MKL libraries, such asmkl_dfti and mkl_trig_transforms, butmkl_poisson didn't work.How do I resolve this problem?

0 Kudos
1 Reply
Artem_V_Intel
Employee
300 Views
Hello zlh007,

Please see my answer on this question here.

Thanks,
Art

0 Kudos
Reply