<?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 Re: MKL BLAS 2 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894163#M10712</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;&lt;BR /&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;From the Fortran 95 interface but I always get a message of:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Description Resource Path Location Type&lt;BR /&gt;error #6285: There is no matching specific subroutine for this generic subroutine call. [GEMV] main.f90 FORGATRAN/src line 12  C/C++ Problem&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;(1) did you generate the .mod file(s) as outlined in User's Guide?&lt;BR /&gt;(2) even if you did the routine requires, at least, 3 arguments while you're specifing only 2, so .... the matching routine can't be found.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 16 Aug 2009 08:15:15 GMT</pubDate>
    <dc:creator>ArturGuzik</dc:creator>
    <dc:date>2009-08-16T08:15:15Z</dc:date>
    <item>
      <title>MKL BLAS 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894162#M10711</link>
      <description>I'm trying to call:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;[cpp]call gemv(a, x, y [,alpha][,beta] [,trans])[/cpp]&lt;/PRE&gt;
&lt;BR /&gt;From the Fortran 95 interface but I always get a message of:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;Description Resource Path Location Type&lt;BR /&gt;error #6285: There is no matching specific subroutine for this generic subroutine call. [GEMV] main.f90 FORGATRAN/src line 12  C/C++ Problem&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My full code is:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;[cpp]PROGRAM main&lt;BR /&gt;    use mkl95_blas&lt;BR /&gt;&lt;BR /&gt;    IMPLICIT NONE&lt;BR /&gt;    INTEGER :: A(3, 3), B(3, 1)&lt;BR /&gt;    integer :: xA, yA, xB, yB&lt;BR /&gt;    xA = 3&lt;BR /&gt;    yA = 3&lt;BR /&gt;    xB = 3&lt;BR /&gt;    yB = 1&lt;BR /&gt;&lt;BR /&gt;    call gemv(A, B)&lt;BR /&gt;&lt;BR /&gt;END PROGRAM[/cpp]&lt;/PRE&gt;
&lt;BR /&gt;It compile when I comment ''call gemv(A, B)"&lt;BR /&gt;&lt;BR /&gt;I'm using&lt;BR /&gt;Ubuntu + Eclipse + Photran</description>
      <pubDate>Sat, 15 Aug 2009 20:23:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894162#M10711</guid>
      <dc:creator>brunocalado</dc:creator>
      <dc:date>2009-08-15T20:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: MKL BLAS 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894163#M10712</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;&lt;BR /&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;From the Fortran 95 interface but I always get a message of:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Description Resource Path Location Type&lt;BR /&gt;error #6285: There is no matching specific subroutine for this generic subroutine call. [GEMV] main.f90 FORGATRAN/src line 12  C/C++ Problem&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;(1) did you generate the .mod file(s) as outlined in User's Guide?&lt;BR /&gt;(2) even if you did the routine requires, at least, 3 arguments while you're specifing only 2, so .... the matching routine can't be found.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 16 Aug 2009 08:15:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894163#M10712</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-08-16T08:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: MKL BLAS 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894164#M10713</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
I don't know how to call this:&lt;BR /&gt;
&lt;PRE&gt;[cpp]call gemv(a, x, y [,alpha][,beta] [,trans])[/cpp]&lt;/PRE&gt;
&lt;BR /&gt;&lt;BR /&gt;I tried:&lt;BR /&gt;
&lt;PRE&gt;[cpp]call gemv( A, B, (/'N', 1, 0/) )[/cpp]&lt;/PRE&gt;
Errors:&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;error #6285: There is no matching specific subroutine for this generic subroutine call. [GEMV] main.f90 &lt;BR /&gt;error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands. [0] main.f90&lt;BR /&gt;error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands. [1] main.f90&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And:&lt;BR /&gt;
&lt;PRE&gt;[cpp]call gemv( A, B, 'N' )[/cpp]&lt;/PRE&gt;
Errors:&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;error #6285: There is no matching specific subroutine for this generic subroutine call. [GEMV] main.f90&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And I don't have ideia how to compile the mod. All MKL library are in my include path and it usually compile anyone needed.&lt;BR /&gt;&lt;BR /&gt;Can you help me?&lt;BR /&gt;</description>
      <pubDate>Sun, 16 Aug 2009 22:30:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894164#M10713</guid>
      <dc:creator>brunocalado</dc:creator>
      <dc:date>2009-08-16T22:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: MKL BLAS 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894165#M10714</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/406810"&gt;brunocalado&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; I don't know how to call this:&lt;BR /&gt;
&lt;/EM&gt;&lt;PRE&gt;&lt;EM&gt;[cpp]call gemv(a, x, y [,alpha][,beta] [,trans])[/cpp]&lt;/EM&gt;&lt;/PRE&gt;
&lt;BR /&gt;&lt;BR /&gt;I tried:&lt;BR /&gt;
&lt;PRE&gt;[cpp]call gemv( A, B, (/'N', 1, 0/) )[/cpp]&lt;/PRE&gt;
Errors:&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;error #6285: There is no matching specific subroutine for this generic subroutine call. [GEMV] main.f90 &lt;BR /&gt;error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands. [0] main.f90&lt;BR /&gt;error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands. [1] main.f90&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And:&lt;BR /&gt;
&lt;PRE&gt;[cpp]call gemv( A, B, 'N' )[/cpp]&lt;/PRE&gt;
Errors:&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;error #6285: There is no matching specific subroutine for this generic subroutine call. [GEMV] main.f90&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And I don't have ideia how to compile the mod. All MKL library are in my include path and it usually compile anyone needed.&lt;BR /&gt;&lt;BR /&gt;Can you help me?&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;(1) In both calls you need matrix A(m,n), vector b(n) and another vector y(m), which is a &lt;STRONG&gt;result &lt;/STRONG&gt;of multiplication. &lt;BR /&gt;The docs read:&lt;BR /&gt;call gemv(&lt;STRONG&gt;a, x, y&lt;/STRONG&gt; [,alpha][,beta] [,trans])&lt;BR /&gt;&lt;BR /&gt;so all a, x, and y are required, while arguments in brackets can be omitted (and their defaults will be used).&lt;BR /&gt;&lt;BR /&gt;You're missing, in every call, vector &lt;STRONG&gt;y&lt;/STRONG&gt; which will hold the results of &lt;A&gt;*{b}. Passing 'N' as the third argument produces an error on binary expression as the linker expects an array there and not character variable you specified.&lt;BR /&gt;&lt;BR /&gt;(2) Go to Chapter &lt;EM&gt;Using Language-Specific Interfaces with Intel MKL&lt;/EM&gt; on page 7-1 in User's Guide for details on how to build *.mod files or try to extract (portion) of wrapper source file(s).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;/A&gt;</description>
      <pubDate>Mon, 17 Aug 2009 00:21:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894165#M10714</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-08-17T00:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: MKL BLAS 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894166#M10715</link>
      <description>&lt;PRE&gt;[cpp]program ex_01

	USE mkl95_precision
	USE mkl95_blas


 !------------------------------------------------------------------------------
	IMPLICIT NONE !No permite variaves no declaradas


      character(len = 1) :: trans = "N"
      integer,parameter :: m=3
      integer,parameter :: n=3
      real(8) :: alpha =1.0
      real(8) :: beta=0.0
      real(8) :: a(m, n), x(m), y(n)


      call gemv(a, x(1:n), y(1:m), alpha, beta, trans)




      end
[/cpp]&lt;/PRE&gt;
&lt;BR /&gt;&lt;BR /&gt;Description Resource Path Location Type&lt;BR /&gt;undefined reference to `dgemv_mkl95' ex_01.f90 /BLAS_EX line 19 C/C++ Problem&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and now????&lt;BR /&gt;I'm on eclipse 3.5&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Aug 2009 23:06:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894166#M10715</guid>
      <dc:creator>brunocalado</dc:creator>
      <dc:date>2009-08-30T23:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: MKL BLAS 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894167#M10716</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/406810"&gt;brunocalado&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Description Resource Path Location Type&lt;BR /&gt;undefined reference to `dgemv_mkl95' ex_01.f90 /BLAS_EX line 19 C/C++ Problem&lt;BR /&gt;&lt;BR /&gt;and now????&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;It looks as if there is something wrong with linking/libraries. Makefile please.&lt;BR /&gt;&lt;BR /&gt;I would note that the call you're trying to make can be shorten to:&lt;BR /&gt;&lt;BR /&gt;call gemv(a, x, y, beta=0.0)&lt;BR /&gt;&lt;BR /&gt;as the other (alpha, trans) you defined, are the same as defaults.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Aug 2009 00:34:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894167#M10716</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-08-31T00:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: MKL BLAS 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894168#M10717</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.intel.com/skins/images/7B13F55A7CE623EF42E69096FA81A3A1/2021_redesign/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.intel.com/skins/images/7B13F55A7CE623EF42E69096FA81A3A1/2021_redesign/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The folder MOD was create by me using&lt;BR /&gt; make lib32 INSTALL_DIR=&lt;USER_DIR&gt;&lt;BR /&gt;&lt;BR /&gt;Anyone ever used this???&lt;/USER_DIR&gt;</description>
      <pubDate>Mon, 31 Aug 2009 01:18:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894168#M10717</guid>
      <dc:creator>brunocalado</dc:creator>
      <dc:date>2009-08-31T01:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: MKL BLAS 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894169#M10718</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/406810"&gt;brunocalado&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; The folder MOD was create by me using&lt;BR /&gt; make lib32 INSTALL_DIR=&lt;USER_DIR&gt;&lt;BR /&gt;&lt;BR /&gt;Anyone ever used this???&lt;/USER_DIR&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;(1) well, I was wrong on the optional args, as gemv points to an interface. Sorry. However, this will always work (referencing specific routine)&lt;BR /&gt;&lt;BR /&gt;use mkl95_blas, only: DGEMV_MKL95&lt;BR /&gt;&lt;BR /&gt;call DGEMV_MKL95(a, x, y, beta=0.0d0)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(2) apart from .mod you may still need libraries. See make file in examples.&lt;BR /&gt;&lt;BR /&gt;(3) if you don't want to create .lib, you always can try to add to your project the following files from MKL dir:&lt;BR /&gt;&lt;BR /&gt;mkl_blas.f90&lt;BR /&gt;mkl_blas_protos.f90&lt;BR /&gt;&lt;BR /&gt;and then build the project and link, say (consult Link Line Advisor page), to: &lt;BR /&gt;mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib&lt;BR /&gt;&lt;BR /&gt;As you use Photran and Eclipse - does it run .bat file for building environment?&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Aug 2009 02:46:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894169#M10718</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-08-31T02:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: MKL BLAS 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894170#M10719</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;According to the:&lt;/P&gt;
&lt;P style="PADDING-LEFT: 30px"&gt;callgemv(a,x,y[,alpha][,beta][,trans])&lt;/P&gt;
&lt;P&gt;you shoud provide at least three arguments to the interface. The first one is matrix then two vectors. So such kinds of calls are incorrect:&lt;/P&gt;
&lt;P style="PADDING-LEFT: 30px"&gt;callgemv(A,B)&lt;/P&gt;
&lt;P style="PADDING-LEFT: 30px"&gt;callgemv(A,B,'N')&lt;/P&gt;
&lt;P&gt;Try this for instance:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;program&lt;/STRONG&gt; ex_01&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; &lt;STRONG&gt;USE&lt;/STRONG&gt; mkl95_blas&lt;/P&gt;
&lt;P&gt; &lt;STRONG&gt;IMPLICIT NONE&lt;/STRONG&gt; !No permite variaves no declaradas&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; &lt;STRONG&gt;real&lt;/STRONG&gt; :: A(3, 3), B(3), Y(3)&lt;/P&gt;
&lt;P&gt; ! init A &amp;amp; B&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; &lt;STRONG&gt;call&lt;/STRONG&gt; gemv(a, b, y) ! y = a * b&lt;/P&gt;
&lt;P&gt; !print *, y&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;end&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Vladimir&lt;/P&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Aug 2009 08:02:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-BLAS-2/m-p/894170#M10719</guid>
      <dc:creator>Vladimir_Koldakov__I</dc:creator>
      <dc:date>2009-08-31T08:02:11Z</dc:date>
    </item>
  </channel>
</rss>

