<?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 on command line in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-on-command-line/m-p/915306#M12522</link>
    <description>&lt;P&gt;Alright,&lt;/P&gt;
&lt;P&gt;I did get SOMETHING to compile with this command:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;C:code&amp;gt;icl -Qopenmp uniform.cpp "C:Program FilesIntelMKL8.1ia32libmkl_c&lt;BR /&gt;.lib"&lt;/P&gt;
&lt;P&gt;but it did this...&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Intel C++ Compiler for 32-bit applications, Version 9.1 Build 20060323Z Pa&lt;BR /&gt;ckage ID: W_CC_P_9.1.022&lt;BR /&gt;Copyright (C) 1985-2006 Intel Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;uniform.cpp&lt;BR /&gt;Microsoft  Incremental Linker Version 8.00.50727.42&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;-out:uniform.exe&lt;BR /&gt;-nodefaultlib:libguide_stats.lib&lt;BR /&gt;-nodefaultlib:libguide40_stats.lib&lt;BR /&gt;-defaultlib:libguide.lib&lt;BR /&gt;uniform.obj&lt;BR /&gt;"C:Program FilesIntelMKL8.1ia32libmkl_c.lib"&lt;BR /&gt;mkl_c.lib(_xerbla.obj) : warning LNK4078: multiple '_RDATA' sections found with&lt;BR /&gt;different attributes (C0300040)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The program seemed to work, but I'm not so sure I'm really linking the proper library. This was found by trial and error, and that warning sort of scares me.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks again for the help!&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2006 22:43:50 GMT</pubDate>
    <dc:creator>quantum_penguin</dc:creator>
    <dc:date>2006-07-26T22:43:50Z</dc:date>
    <item>
      <title>MKL on command line</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-on-command-line/m-p/915303#M12519</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have the Intel Compiler with MKL, but I do not have Visual Studio or the like and thus must use the command line. This is not familiar to me at all.&lt;/P&gt;
&lt;P&gt;Some sample code ('hello world' variety) has compiled fine, but the sample programs that use MKL functions do not work.&lt;/P&gt;
&lt;P&gt;Specifically, I tried to compile,&lt;/P&gt;
&lt;P&gt;C:Program FilesIntelMKL8.1examplesvslcsourcevdrnguniform.c and got the error 2019 unrecognized external for vslRngUniform and the like.&lt;/P&gt;
&lt;P&gt;vdrnguniform.obj : error LNK2019: unresolved external symbol _vslNewStream referenced in function _main&lt;/P&gt;
&lt;P&gt;vdrnguniform.obj : error LNK2019: unresolved external symbol _vslRngUniform referenced in function _main&lt;/P&gt;
&lt;P&gt;vdrnguniform.obj : error LNK2019: unresolved external symbol _vslDeleteStream referenced in function _main&lt;/P&gt;
&lt;P&gt;vdrnguniform.exe : fatal error LNK1120: 3 unresolved externals.&lt;/P&gt;
&lt;P&gt;The command I used to compile it was "icl.exe vdrnguniform.c" &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2006 05:21:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-on-command-line/m-p/915303#M12519</guid>
      <dc:creator>quantum_penguin</dc:creator>
      <dc:date>2006-07-26T05:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: MKL on command line</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-on-command-line/m-p/915304#M12520</link>
      <description>Even when you have the MKL library directory path, you still must name the libraries you want in your compile command, e.g.&lt;BR /&gt;icl -Qopenmp yourfile.c mkl_em64t.lib (if using the x64 icl).&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jul 2006 08:04:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-on-command-line/m-p/915304#M12520</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2006-07-26T08:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: MKL on command line</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-on-command-line/m-p/915305#M12521</link>
      <description>&lt;P&gt;I tried this command with exactly the same error (with and without the -Qopenmp):&lt;/P&gt;
&lt;P&gt;C:code&amp;gt;icl -Qopenmp uniform.cpp "C:Program FilesIntelMKL8.1ia32liblibgui&lt;BR /&gt;de40.lib" "C:Program FilesIntelMKL8.1ia32libmkl_ia32.lib"&lt;/P&gt;
&lt;P&gt;Intel C++ Compiler for 32-bit applications, Version 9.1 Build 20060323Z Pa&lt;BR /&gt;ckage ID: W_CC_P_9.1.022&lt;BR /&gt;Copyright (C) 1985-2006 Intel Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;uniform.cpp&lt;BR /&gt;Microsoft  Incremental Linker Version 8.00.50727.42&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;-out:uniform.exe&lt;BR /&gt;-nodefaultlib:libguide_stats.lib&lt;BR /&gt;-nodefaultlib:libguide40_stats.lib&lt;BR /&gt;-defaultlib:libguide.lib&lt;BR /&gt;uniform.obj&lt;BR /&gt;"C:Program FilesIntelMKL8.1ia32liblibguide40.lib"&lt;BR /&gt;"C:Program FilesIntelMKL8.1ia32libmkl_ia32.lib"&lt;BR /&gt;uniform.obj : error LNK2019: unresolved external symbol _vslNewStream referenced&lt;BR /&gt;in function _main&lt;BR /&gt;uniform.obj : error LNK2019: unresolved external symbol _vdRngUniform referenced&lt;BR /&gt;in function _main&lt;BR /&gt;uniform.obj : error LNK2019: unresolved external symbol _vslDeleteStream referen&lt;BR /&gt;ced in function _main&lt;BR /&gt;uniform.exe : fatal error LNK1120: 3 unresolved externals&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2006 22:35:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-on-command-line/m-p/915305#M12521</guid>
      <dc:creator>quantum_penguin</dc:creator>
      <dc:date>2006-07-26T22:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: MKL on command line</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-on-command-line/m-p/915306#M12522</link>
      <description>&lt;P&gt;Alright,&lt;/P&gt;
&lt;P&gt;I did get SOMETHING to compile with this command:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;C:code&amp;gt;icl -Qopenmp uniform.cpp "C:Program FilesIntelMKL8.1ia32libmkl_c&lt;BR /&gt;.lib"&lt;/P&gt;
&lt;P&gt;but it did this...&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Intel C++ Compiler for 32-bit applications, Version 9.1 Build 20060323Z Pa&lt;BR /&gt;ckage ID: W_CC_P_9.1.022&lt;BR /&gt;Copyright (C) 1985-2006 Intel Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;uniform.cpp&lt;BR /&gt;Microsoft  Incremental Linker Version 8.00.50727.42&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;-out:uniform.exe&lt;BR /&gt;-nodefaultlib:libguide_stats.lib&lt;BR /&gt;-nodefaultlib:libguide40_stats.lib&lt;BR /&gt;-defaultlib:libguide.lib&lt;BR /&gt;uniform.obj&lt;BR /&gt;"C:Program FilesIntelMKL8.1ia32libmkl_c.lib"&lt;BR /&gt;mkl_c.lib(_xerbla.obj) : warning LNK4078: multiple '_RDATA' sections found with&lt;BR /&gt;different attributes (C0300040)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The program seemed to work, but I'm not so sure I'm really linking the proper library. This was found by trial and error, and that warning sort of scares me.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks again for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2006 22:43:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-on-command-line/m-p/915306#M12522</guid>
      <dc:creator>quantum_penguin</dc:creator>
      <dc:date>2006-07-26T22:43:50Z</dc:date>
    </item>
  </channel>
</rss>

