<?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 ERROR: Parameter 1 was incorrect on entry to vsl_VSL_INTERF in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-1-was-incorrect-on-entry-to-vsl-VSL/m-p/783228#M1623</link>
    <description>Hi Sanhita,&lt;BR /&gt;This status returned by the functionindicatesan error in the initialization of Intel MKL VSL function you call in your code. It makes sense to root-cause the reason of this status asits disabling would not help you to continue the computations in the correct way.&lt;BR /&gt;Please, provide some hints about this use of the MKL routine (how you call it, which parameters you pass into the function etc);or,as Gennady suggests, please provide the short test case that demonstrates the issue with short description of your environment (OS, CPU, compiler, mode, link line etc).&lt;BR /&gt;Thanks,&lt;BR /&gt;Andrey</description>
    <pubDate>Mon, 25 Jul 2011 15:21:02 GMT</pubDate>
    <dc:creator>Andrey_N_Intel</dc:creator>
    <dc:date>2011-07-25T15:21:02Z</dc:date>
    <item>
      <title>MKL ERROR: Parameter 1 was incorrect on entry to vsl_VSL_INTERFACE_NA</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-1-was-incorrect-on-entry-to-vsl-VSL/m-p/783226#M1621</link>
      <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am getting the following error when I use the MKL VSL and print something to a console.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;MKL ERROR: Parameter 1 was incorrect on entry to vsl_VSL_INTERFACE_NA&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Is there any way to disable this? Read about the xerbla, but not very clear about how to use it.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Can you please guide?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Sanhita&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Jul 2011 13:13:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-1-was-incorrect-on-entry-to-vsl-VSL/m-p/783226#M1621</guid>
      <dc:creator>Sanhita_Yeolekar</dc:creator>
      <dc:date>2011-07-25T13:13:31Z</dc:date>
    </item>
    <item>
      <title>MKL ERROR: Parameter 1 was incorrect on entry to vsl_VSL_INTERF</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-1-was-incorrect-on-entry-to-vsl-VSL/m-p/783227#M1622</link>
      <description>Can you give us the example of the code to check what's going wrong?</description>
      <pubDate>Mon, 25 Jul 2011 15:10:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-1-was-incorrect-on-entry-to-vsl-VSL/m-p/783227#M1622</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-07-25T15:10:15Z</dc:date>
    </item>
    <item>
      <title>MKL ERROR: Parameter 1 was incorrect on entry to vsl_VSL_INTERF</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-1-was-incorrect-on-entry-to-vsl-VSL/m-p/783228#M1623</link>
      <description>Hi Sanhita,&lt;BR /&gt;This status returned by the functionindicatesan error in the initialization of Intel MKL VSL function you call in your code. It makes sense to root-cause the reason of this status asits disabling would not help you to continue the computations in the correct way.&lt;BR /&gt;Please, provide some hints about this use of the MKL routine (how you call it, which parameters you pass into the function etc);or,as Gennady suggests, please provide the short test case that demonstrates the issue with short description of your environment (OS, CPU, compiler, mode, link line etc).&lt;BR /&gt;Thanks,&lt;BR /&gt;Andrey</description>
      <pubDate>Mon, 25 Jul 2011 15:21:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-1-was-incorrect-on-entry-to-vsl-VSL/m-p/783228#M1623</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2011-07-25T15:21:02Z</dc:date>
    </item>
    <item>
      <title>MKL ERROR: Parameter 1 was incorrect on entry to vsl_VSL_INTERF</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-1-was-incorrect-on-entry-to-vsl-VSL/m-p/783229#M1624</link>
      <description>Hi Gennady and Andrey,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your prompt response. The issue seems to be resolved.&lt;/DIV&gt;&lt;DIV&gt;I got to the root of this. I would like to share this.&lt;/DIV&gt;&lt;DIV&gt;I was using the function vslSaveStreamF(const VSLStreamStatePtr, const char*) to save the stream state to some user temp file, but the second argument was not set to NULL when there is no file path specified in certain cases. It considered the const char * argument as a bad pointer and hence threw the mentioned error. Basically the error code returned by vslSaveStreamF was -3 which stands for "VSL_RNG_ERROR_BAD_STREAM" which I then found in one of your documentations.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The issue is resolved by checking if the file name is present or not and setting the character pointer to NULL before calling the vslsaveStreamF function of the MKL.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Sanhita&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Jul 2011 13:13:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-ERROR-Parameter-1-was-incorrect-on-entry-to-vsl-VSL/m-p/783229#M1624</guid>
      <dc:creator>Sanhita_Yeolekar</dc:creator>
      <dc:date>2011-07-26T13:13:39Z</dc:date>
    </item>
  </channel>
</rss>

