<?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 Error #6285: no matching specific subroutine for heevr in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-6285-no-matching-specific-subroutine-for-heevr/m-p/1121329#M24969</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I need to calculate eigenvalues for a large matrix. Previously I've been always using GEEV to do the job, but, since this matrix is hermitian and very large, HEEVR should be much quicker. But in compiling, always this error&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;error #6285: There is no matching specific subroutine for this generic subroutine call. &amp;nbsp; [HEEVR]&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;For instance, the following is the simple code I used to test the subroutine.&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;program heevexercise
    use f95_precision,only: wp=&amp;gt;dp
    use lapack95,only: heevr
    implicit none
    complex(wp),dimension(:,:),allocatable:: A0
    complex(wp),dimension(:),allocatable:: w0
    integer:: i,j,info

    allocate(A0(2,2),w0(2))
    A0=0._wp
    w0=0._wp
    A0=reshape((/0._wp,1._wp,1._wp,0._wp/),(/2,2/))

    write(*,*) "A:"
    write(*,"(2(1X,F9.2))") ((real(A0(i,j)),j=1,2),i=1,2)

    call heevr(a=A0,w=w0,uplo='U',info=info)
    write(*,*) "Diagonal A:"
    write(*,"(2(1X,F9.2))") ((real(A0(i,j)),j=1,2),i=1,2)
end program&lt;/PRE&gt;

&lt;P&gt;Any reasons for this error? I have been looking around, but I didn't get any clue.&amp;nbsp;&lt;/P&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;BTW, the IDE I used is Code:: Blocks, additional compiler options just&amp;nbsp;&lt;/P&gt;

&lt;BLOCKQUOTE style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;
	&lt;P&gt;/heap-arrays0&lt;BR /&gt;
		/Qmkl:parallel /c&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;The library is mkl_lapack95_lp64.lib&lt;/P&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;Regards,&lt;/P&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;Geliv&lt;/P&gt;</description>
    <pubDate>Sat, 09 Jul 2016 04:12:04 GMT</pubDate>
    <dc:creator>Geliv_Z_</dc:creator>
    <dc:date>2016-07-09T04:12:04Z</dc:date>
    <item>
      <title>Error #6285: no matching specific subroutine for heevr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-6285-no-matching-specific-subroutine-for-heevr/m-p/1121329#M24969</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I need to calculate eigenvalues for a large matrix. Previously I've been always using GEEV to do the job, but, since this matrix is hermitian and very large, HEEVR should be much quicker. But in compiling, always this error&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;error #6285: There is no matching specific subroutine for this generic subroutine call. &amp;nbsp; [HEEVR]&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;For instance, the following is the simple code I used to test the subroutine.&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;program heevexercise
    use f95_precision,only: wp=&amp;gt;dp
    use lapack95,only: heevr
    implicit none
    complex(wp),dimension(:,:),allocatable:: A0
    complex(wp),dimension(:),allocatable:: w0
    integer:: i,j,info

    allocate(A0(2,2),w0(2))
    A0=0._wp
    w0=0._wp
    A0=reshape((/0._wp,1._wp,1._wp,0._wp/),(/2,2/))

    write(*,*) "A:"
    write(*,"(2(1X,F9.2))") ((real(A0(i,j)),j=1,2),i=1,2)

    call heevr(a=A0,w=w0,uplo='U',info=info)
    write(*,*) "Diagonal A:"
    write(*,"(2(1X,F9.2))") ((real(A0(i,j)),j=1,2),i=1,2)
end program&lt;/PRE&gt;

&lt;P&gt;Any reasons for this error? I have been looking around, but I didn't get any clue.&amp;nbsp;&lt;/P&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;BTW, the IDE I used is Code:: Blocks, additional compiler options just&amp;nbsp;&lt;/P&gt;

&lt;BLOCKQUOTE style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;
	&lt;P&gt;/heap-arrays0&lt;BR /&gt;
		/Qmkl:parallel /c&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;The library is mkl_lapack95_lp64.lib&lt;/P&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;Regards,&lt;/P&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;Geliv&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2016 04:12:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-6285-no-matching-specific-subroutine-for-heevr/m-p/1121329#M24969</guid>
      <dc:creator>Geliv_Z_</dc:creator>
      <dc:date>2016-07-09T04:12:04Z</dc:date>
    </item>
    <item>
      <title>I have find what's wrong...</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-6285-no-matching-specific-subroutine-for-heevr/m-p/1121330#M24970</link>
      <description>&lt;P&gt;I have find what's wrong... Eigenvector should set as real rather than complex. orz...&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 02:45:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-6285-no-matching-specific-subroutine-for-heevr/m-p/1121330#M24970</guid>
      <dc:creator>Geliv_Z_</dc:creator>
      <dc:date>2016-07-11T02:45:09Z</dc:date>
    </item>
  </channel>
</rss>

