- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page