Hi everyone!
I tried installing and running a simple Fortran dot multiplication example to test something, and everything seemed to have gone well with regards to installing Visual Studio 2019 Community and Intel Parallel Studio 2020, and integrating them via the installer. Fortran code runs on the system but when I attempt to use MKL-functions (such as sdot in the code at the bottom of the post) it gives me the following error:
forrtl: severe (157): Program Exception - access violation
Image PC Routine Line Source
mkl_avx2.dll 7A62D5CA Unknown Unknown Unknown
mkl_core.dll 784955AE Unknown Unknown Unknown
Console2.exe 004813E9 Unknown Unknown Unknown
Console2.exe 0048310F Unknown Unknown Unknown
Console2.exe 004860A3 Unknown Unknown Unknown
Console2.exe 00485F77 Unknown Unknown Unknown
Console2.exe 00485E1D Unknown Unknown Unknown
Console2.exe 00486108 Unknown Unknown Unknown
KERNEL32.DLL 75996359 Unknown Unknown Unknown
ntdll.dll 77B97B74 Unknown Unknown Unknown
ntdll.dll 77B97B44 Unknown Unknown Unknown
Intel MKL is activated under Project > Configuration Properties > Libraries as Sequential (/Qmkl:sequential) so I presume that it knows where the files are, and that I simply that the permission to access them on my own computer? Is there anything I can do to fix this?
Thank you for your time. :)
The code I'm trying follows if it is of any use to you.
program Console1
integer :: n,incA,incB
real :: resd,ress,i
real, dimension(10) :: A,B
resd=0
n = 10
do i = 1,n
A(i) = i
B(i) = i
end do
ress = sdot(n,A,incA,B,incB)
print*,ress
end program Console1