<?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: simple example in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/simple-example/m-p/913657#M12346</link>
    <description>icc may not be as strict in comparing syntax as the latest g++ is, so it may work.&lt;BR /&gt;</description>
    <pubDate>Tue, 11 Mar 2008 18:33:18 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2008-03-11T18:33:18Z</dc:date>
    <item>
      <title>simple example</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/simple-example/m-p/913654#M12343</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am new in Blas and Lapack and have probably a very simple question. I installed the MKL library 10 and tried to run the example from the User Guide for C++ but I got the error:&lt;BR /&gt;&lt;BR /&gt;g++ -o tmp testblas2.cc -L$MKLPATH -I$MKLINCLUDE -lmkl&lt;BR /&gt;&lt;BR /&gt;testblas2.cc:4: error: declaration of C function `void zdotc(complex16*, int*, complex16*, int*, complex16*, int*)' conflicts with&lt;BR /&gt;/opt/intel/mkl/10.0/include/mkl_blas.h:297: error: previous declaration `void zdotc(MKL_Complex16*, int*, MKL_Complex16*, int*, MKL_Complex16*, int*)' here&lt;BR /&gt;testblas2.cc:9: error: `main' must return `int'&lt;BR /&gt;testblas2.cc: In function `int main(...)':&lt;BR /&gt;&lt;BR /&gt;what is wrong?&lt;BR /&gt;&lt;BR /&gt;Jojo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Mar 2008 16:44:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/simple-example/m-p/913654#M12343</guid>
      <dc:creator>joleho</dc:creator>
      <dc:date>2008-03-11T16:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: simple example</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/simple-example/m-p/913655#M12344</link>
      <description>You may have a more recent version of g++ than what testblas2 was written for, or the example may not be updated for consistency with MKL 10. It's better to rely entirely on the header file, and remove the conflicting declaration from the example source.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Mar 2008 16:59:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/simple-example/m-p/913655#M12344</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-03-11T16:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: simple example</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/simple-example/m-p/913656#M12345</link>
      <description>Sorry, its not clear to me what to do?&lt;BR /&gt;May icc work for this example?&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Mar 2008 17:08:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/simple-example/m-p/913656#M12345</guid>
      <dc:creator>joleho</dc:creator>
      <dc:date>2008-03-11T17:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: simple example</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/simple-example/m-p/913657#M12346</link>
      <description>icc may not be as strict in comparing syntax as the latest g++ is, so it may work.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Mar 2008 18:33:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/simple-example/m-p/913657#M12346</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-03-11T18:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: simple example</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/simple-example/m-p/913658#M12347</link>
      <description>&lt;P&gt;Forall bloody beginners (like me)having the same problem:&lt;/P&gt;
&lt;P&gt;#include "mkl_typse.h"&lt;/P&gt;
&lt;P&gt;MKL_Complex16* a&lt;N&gt;;&lt;/N&gt;&lt;/P&gt;
&lt;P&gt;compile with:&lt;/P&gt;
&lt;P&gt;g++ -o tmp testblas.cc -L$MKLPATH -I$MKLINCLUDE -lmkl -lguide -lpthread&lt;BR /&gt;&lt;BR /&gt;then its fine...&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2008 20:07:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/simple-example/m-p/913658#M12347</guid>
      <dc:creator>joleho</dc:creator>
      <dc:date>2008-03-11T20:07:21Z</dc:date>
    </item>
  </channel>
</rss>

