- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear forum members,
I have been having some issues using MKL and blas95 with Visual studio and intel visual fortran.
Here is the code that I am trying to run
program main
use mkl95_blas
implicit none
real(kind=8), dimension(4) :: a=(/1.,2.,3.,4./), b=(/4.,3.,2.,1./)
real(kind=8) :: c
c = dot(a,b)
write(*,*) 'c=', c
end program main
I get the following error
unresolved external symbol _DDOT_MKL95 referenced in function _MAIN__ main.obj
I have done the following:
- ifort runs properly
- I have built the BLAS95 routines with ifort and have the mkl95_blas.mod and mkl95_precision.mod in the standard dir ../i32/lib
- The instructions in the User Guide section "Fortran 90 Interfaces and Wrappers to LAPACK and BLAS" have been followed, and the directory /intel/mkl/10.0.5.025/include contains
the files mkl95_blas.mod, mkl95_lapack.mod and mkl95_precision.mod as well as some .f77, f.90 and .h files.The directory /opt/intel/mkl/10.0.5.025/i32/lib/ also contains mkl95_blas.mod, mkl95_lapack.mod and mkl95_precision.mod as well as the .lib files
- I have managed to compile the examples in the examples/blas95 directory by typing nmake lib32 from the command prompt.
Any hints would be greatly appreciated.
Thanks,
Frank
Link Copied

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page