<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MKL ERROR: Parameter 5 was incorrect on entry to DSYEVD in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-5-was-incorrect-on-entry-to-DSYEVD/m-p/805531#M3393</link>
    <description>Dear all,&lt;BR /&gt;&lt;BR /&gt; I have a linux cluster with x86_64 OS. I use ifort 10.1 version and MKL 10.2.1.017 version.&lt;BR /&gt;The following are my environment variables:&lt;BR /&gt;MKLPATH=/opt/intel/mkl/10.2.1.017/lib/em64t&lt;BR /&gt;MKLINCLUDE=/opt/intel/mkl/10.2.1.017/include/&lt;BR /&gt;&lt;BR /&gt;I compile a code (nma.f90) using:&lt;BR /&gt;ifort -O -c nma.f90 $MKLPATH/libmkl_solver_lp64.a -I$MKLINCLUDE -I$MKLINCLUDE/em64t/lp64 -Wl,--start-group $MKLPATH/libmkl_intel_lp64.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group -openmp -lpthread&lt;BR /&gt;&lt;BR /&gt;and link it using:&lt;BR /&gt;ifort -O *.o $MKLPATH/libmkl_solver_lp64.a -I$MKLINCLUDE -I$MKLINCLUDE/em64t/lp64 -lmkl_lapack95_lp64 -Wl,--start-group $MKLPATH/libmkl_lapack95_lp64.a $MKLPATH/libmkl_intel_lp64.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group -openmp -lpthread&lt;BR /&gt;&lt;BR /&gt;I define an integer variable "dbl" (for double precision) as:&lt;BR /&gt;integer,parameter :: dbl=8&lt;BR /&gt;&lt;BR /&gt;and use the relevant lapack module in "nma.f90" as:&lt;BR /&gt;program normal_mode&lt;BR /&gt; use f95_precision&lt;BR /&gt; use global_variables&lt;BR /&gt; use file_variable&lt;BR /&gt; use lapack95,only : SYEVD&lt;BR /&gt;&lt;BR /&gt;I have a real, symmetric matrix called "hess", and I would like to obtain all its eigen values and eigen vectors. My call to this subroutine in nma.f90 is as follows:&lt;BR /&gt;&lt;BR /&gt; real(kind=dbl),dimension(:,:),allocatable :: hess&lt;BR /&gt; real(kind=dbl),dimension(:),allocatable :: w&lt;BR /&gt; character(len=1) :: jobz,uplo&lt;BR /&gt; integer :: info&lt;BR /&gt;&lt;BR /&gt; jobz='N'&lt;BR /&gt; uplo='U'&lt;BR /&gt; call dsyevd_f95(hess,w,jobz,uplo,info)&lt;BR /&gt;&lt;BR /&gt;While running the executable, I obtain the error:&lt;BR /&gt;MKL ERROR: Parameter 5 was incorrect on entry to DSYEVD&lt;BR /&gt;&lt;BR /&gt;I would appreciate if you can help me out to solve this error.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Best,&lt;BR /&gt;Bala&lt;BR /&gt;&lt;A href="http://www.jncasr.ac.in/bala" target="_blank"&gt;http://www.jncasr.ac.in/bala&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 03 Jun 2010 12:49:20 GMT</pubDate>
    <dc:creator>bala</dc:creator>
    <dc:date>2010-06-03T12:49:20Z</dc:date>
    <item>
      <title>MKL ERROR: Parameter 5 was incorrect on entry to DSYEVD</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-5-was-incorrect-on-entry-to-DSYEVD/m-p/805531#M3393</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt; I have a linux cluster with x86_64 OS. I use ifort 10.1 version and MKL 10.2.1.017 version.&lt;BR /&gt;The following are my environment variables:&lt;BR /&gt;MKLPATH=/opt/intel/mkl/10.2.1.017/lib/em64t&lt;BR /&gt;MKLINCLUDE=/opt/intel/mkl/10.2.1.017/include/&lt;BR /&gt;&lt;BR /&gt;I compile a code (nma.f90) using:&lt;BR /&gt;ifort -O -c nma.f90 $MKLPATH/libmkl_solver_lp64.a -I$MKLINCLUDE -I$MKLINCLUDE/em64t/lp64 -Wl,--start-group $MKLPATH/libmkl_intel_lp64.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group -openmp -lpthread&lt;BR /&gt;&lt;BR /&gt;and link it using:&lt;BR /&gt;ifort -O *.o $MKLPATH/libmkl_solver_lp64.a -I$MKLINCLUDE -I$MKLINCLUDE/em64t/lp64 -lmkl_lapack95_lp64 -Wl,--start-group $MKLPATH/libmkl_lapack95_lp64.a $MKLPATH/libmkl_intel_lp64.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group -openmp -lpthread&lt;BR /&gt;&lt;BR /&gt;I define an integer variable "dbl" (for double precision) as:&lt;BR /&gt;integer,parameter :: dbl=8&lt;BR /&gt;&lt;BR /&gt;and use the relevant lapack module in "nma.f90" as:&lt;BR /&gt;program normal_mode&lt;BR /&gt; use f95_precision&lt;BR /&gt; use global_variables&lt;BR /&gt; use file_variable&lt;BR /&gt; use lapack95,only : SYEVD&lt;BR /&gt;&lt;BR /&gt;I have a real, symmetric matrix called "hess", and I would like to obtain all its eigen values and eigen vectors. My call to this subroutine in nma.f90 is as follows:&lt;BR /&gt;&lt;BR /&gt; real(kind=dbl),dimension(:,:),allocatable :: hess&lt;BR /&gt; real(kind=dbl),dimension(:),allocatable :: w&lt;BR /&gt; character(len=1) :: jobz,uplo&lt;BR /&gt; integer :: info&lt;BR /&gt;&lt;BR /&gt; jobz='N'&lt;BR /&gt; uplo='U'&lt;BR /&gt; call dsyevd_f95(hess,w,jobz,uplo,info)&lt;BR /&gt;&lt;BR /&gt;While running the executable, I obtain the error:&lt;BR /&gt;MKL ERROR: Parameter 5 was incorrect on entry to DSYEVD&lt;BR /&gt;&lt;BR /&gt;I would appreciate if you can help me out to solve this error.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Best,&lt;BR /&gt;Bala&lt;BR /&gt;&lt;A href="http://www.jncasr.ac.in/bala" target="_blank"&gt;http://www.jncasr.ac.in/bala&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2010 12:49:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-5-was-incorrect-on-entry-to-DSYEVD/m-p/805531#M3393</guid>
      <dc:creator>bala</dc:creator>
      <dc:date>2010-06-03T12:49:20Z</dc:date>
    </item>
    <item>
      <title>MKL ERROR: Parameter 5 was incorrect on entry to DSYEVD</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-5-was-incorrect-on-entry-to-DSYEVD/m-p/805532#M3394</link>
      <description>What happens if you replace&lt;BR /&gt;&lt;BR /&gt;call dsyevd_f95(hess,w,jobz,uplo,info)&lt;BR /&gt;&lt;BR /&gt;by&lt;BR /&gt;&lt;BR /&gt;call syevd(hess,w,jobz,uplo,info)&lt;BR /&gt;&lt;BR /&gt;so that the interface definition in lapack95 is used?&lt;BR /&gt;&lt;BR /&gt;I assume that you allocated and set values into &lt;I&gt;hess&lt;/I&gt; before the call.&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2010 15:10:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-5-was-incorrect-on-entry-to-DSYEVD/m-p/805532#M3394</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2010-06-03T15:10:08Z</dc:date>
    </item>
    <item>
      <title>MKL ERROR: Parameter 5 was incorrect on entry to DSYEVD</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-5-was-incorrect-on-entry-to-DSYEVD/m-p/805533#M3395</link>
      <description>Thanks mecej4.&lt;BR /&gt;&lt;BR /&gt;Calling syevd instead of dsyevd_f95 works fine. &lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Bala</description>
      <pubDate>Thu, 03 Jun 2010 16:15:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-5-was-incorrect-on-entry-to-DSYEVD/m-p/805533#M3395</guid>
      <dc:creator>bala</dc:creator>
      <dc:date>2010-06-03T16:15:45Z</dc:date>
    </item>
  </channel>
</rss>

