Quantcast
Channel: Intel® Software - Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 3005

f90 compiling/linking to MKL library - syev routine

$
0
0

Hello,

I am trying to link my code to syev LAPACK 95 routine and cannot compile it can you help with I am missing?

The code with compile ok with ssyev but is more convenient to use f95 interfaces 

Thanks,

 

 

ifort -O3  -mkl=sequential   test.f90 test.x

...

real :: corr(5,5), eval(5)

...

  CALL syev(corr,eval,'V')

  PRINT *,eval

...

/tmp/ifortGvqotk.o: In function `MAIN__':
test.f90:(.text+0x411f): undefined reference to `syev_'


Viewing all articles
Browse latest Browse all 3005


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>