<?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_VSL.F77 and random numbers in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-F77-and-random-numbers/m-p/821737#M4860</link>
    <description>Hi, &lt;BR /&gt;I'm trying to generate random numbers using&lt;BR /&gt; status = vdrnggaussian( method, stream, n, r, a, sigma )&lt;BR /&gt;a call to the math library mkl_vsl.f77.&lt;BR /&gt;I get the following compilation error:&lt;BR /&gt; Error 1 error LNK2019: unresolved external symbol _VDRNGGAUSSIAN referenced in function _MAIN__ TM25pgm.obj &lt;BR /&gt;Can you tell me how I can call the math library from within the program and get a stream of NORMAL/Gaussian random numbers?&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
    <pubDate>Tue, 11 May 2010 21:06:39 GMT</pubDate>
    <dc:creator>Gerard_Keogh</dc:creator>
    <dc:date>2010-05-11T21:06:39Z</dc:date>
    <item>
      <title>MKL_VSL.F77 and random numbers</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-F77-and-random-numbers/m-p/821737#M4860</link>
      <description>Hi, &lt;BR /&gt;I'm trying to generate random numbers using&lt;BR /&gt; status = vdrnggaussian( method, stream, n, r, a, sigma )&lt;BR /&gt;a call to the math library mkl_vsl.f77.&lt;BR /&gt;I get the following compilation error:&lt;BR /&gt; Error 1 error LNK2019: unresolved external symbol _VDRNGGAUSSIAN referenced in function _MAIN__ TM25pgm.obj &lt;BR /&gt;Can you tell me how I can call the math library from within the program and get a stream of NORMAL/Gaussian random numbers?&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 11 May 2010 21:06:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-F77-and-random-numbers/m-p/821737#M4860</guid>
      <dc:creator>Gerard_Keogh</dc:creator>
      <dc:date>2010-05-11T21:06:39Z</dc:date>
    </item>
    <item>
      <title>MKL_VSL.F77 and random numbers</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-F77-and-random-numbers/m-p/821738#M4861</link>
      <description>Suggest you repost your question to the MKL forum: &lt;A href="http://software.intel.com/en-us/forums/intel-math-kernel-library/" target="_blank"&gt;http://software.intel.com/en-us/forums/intel-math-kernel-library/&lt;/A&gt;</description>
      <pubDate>Tue, 11 May 2010 21:31:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-F77-and-random-numbers/m-p/821738#M4861</guid>
      <dc:creator>MikeP_Intel</dc:creator>
      <dc:date>2010-05-11T21:31:16Z</dc:date>
    </item>
    <item>
      <title>MKL_VSL.F77 and random numbers</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-F77-and-random-numbers/m-p/821739#M4862</link>
      <description>Well, unresolved symbols mean the linker (it is linker error, and not a compilation error as you wrote) doesn't know where to find the function. You need to provide/define appropriate libraries. See link advisor&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/" target="_blank"&gt;http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/&lt;/A&gt;&lt;BR /&gt;and check which libraries you need.&lt;BR /&gt;You may also need to specify the module(s) containing definition/interface of the function.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The other most common sources of the error are (assuming that you have provided the correct list of libraries):&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;I&gt;The declaration of the symbol contains a spelling mistake, such 
that, it is not the same name as the definition of the symbol.&lt;/I&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;I&gt;A
 function was used but the type or number of the parameters did not 
match the function definition.&lt;/I&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;I&gt;The calling convention (&lt;A href="http://msdn.microsoft.com/en-us/library/zkwh89ks%28v=VS.80%29.aspx"&gt;__cdecl&lt;/A&gt;,
 &lt;A href="http://msdn.microsoft.com/en-us/library/zxk0tw93%28v=VS.80%29.aspx"&gt;__stdcall&lt;/A&gt;,
 or &lt;A href="http://msdn.microsoft.com/en-us/library/6xa169sk%28v=VS.80%29.aspx"&gt;__fastcall&lt;/A&gt;)
 differs on the use of the function declaration and the function 
definition.&lt;/I&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;A.</description>
      <pubDate>Wed, 12 May 2010 00:26:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-F77-and-random-numbers/m-p/821739#M4862</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2010-05-12T00:26:00Z</dc:date>
    </item>
    <item>
      <title>MKL_VSL.F77 and random numbers</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-F77-and-random-numbers/m-p/821740#M4863</link>
      <description>Hello Gerard,&lt;BR /&gt;&lt;BR /&gt;Please, have a look at MKL link line advisor and let us know how now it works for you.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andrey</description>
      <pubDate>Wed, 12 May 2010 06:01:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-VSL-F77-and-random-numbers/m-p/821740#M4863</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2010-05-12T06:01:55Z</dc:date>
    </item>
  </channel>
</rss>

