<?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 Error: On entry to ZLASCL parameter number 4 had an illegal val in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-On-entry-to-ZLASCL-parameter-number-4-had-an-illegal-value/m-p/781460#M1498</link>
    <description>zhulaurawang,&lt;DIV&gt;please give us the reproducer of this problem.&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
    <pubDate>Wed, 07 Dec 2011 03:21:59 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2011-12-07T03:21:59Z</dc:date>
    <item>
      <title>Error: On entry to ZLASCL parameter number 4 had an illegal value</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-On-entry-to-ZLASCL-parameter-number-4-had-an-illegal-value/m-p/781459#M1497</link>
      <description>I have a program which runs fine in single thread mode. But when I run in multithread mode, using TBB, I got the following error:&lt;BR /&gt;On entry to ZLASCL parameter number 4 had an illegal value&lt;BR /&gt;&lt;BR /&gt;Any suggestion?&lt;BR /&gt;&lt;BR /&gt;I am running MKL method in single thread mode, the multithreading is done at upper level around the znaupd method.&lt;BR /&gt;&lt;BR /&gt;This is from function call to znaupd. Which parameter from znaupd will map to the 4th parameter of zlascl ?&lt;BR /&gt;&lt;BR /&gt;It will take some effort to get example code from my real project. If that is necessary, please let me know.</description>
      <pubDate>Mon, 05 Dec 2011 17:51:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-On-entry-to-ZLASCL-parameter-number-4-had-an-illegal-value/m-p/781459#M1497</guid>
      <dc:creator>missing__zlw</dc:creator>
      <dc:date>2011-12-05T17:51:56Z</dc:date>
    </item>
    <item>
      <title>Error: On entry to ZLASCL parameter number 4 had an illegal val</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-On-entry-to-ZLASCL-parameter-number-4-had-an-illegal-value/m-p/781460#M1498</link>
      <description>zhulaurawang,&lt;DIV&gt;please give us the reproducer of this problem.&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Dec 2011 03:21:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-On-entry-to-ZLASCL-parameter-number-4-had-an-illegal-value/m-p/781460#M1498</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-12-07T03:21:59Z</dc:date>
    </item>
    <item>
      <title>Error: On entry to ZLASCL parameter number 4 had an illegal val</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-On-entry-to-ZLASCL-parameter-number-4-had-an-illegal-value/m-p/781461#M1499</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;ZLASCL reports that parameter number 4 has an illegal value in case if CFROM is equal to zero and has a NaN value inside.&lt;BR /&gt;&lt;BR /&gt;znaupd is an ARPACK function. Call toZLASCL appears at call tree znaupd-&amp;gt;znaup2-&amp;gt;-znaitr-&amp;gt;zlascl. 4th parameter to ZLASCL is rnorm which is defined and calculated insideby call fromznaup2 to zgetv0.&lt;BR /&gt;&lt;BR /&gt;I could assume that you are trying to run the ARPACK code in parallel from several threads at a moment. UnfortunatelyARPACK is not designed in thread safe way. It is written in Fortran andhas variables with SAVE attribute inside (equivalent to static in C), which keeps theirvalues between function calls.Several threads couldn't operate on such variables at the same time in a safe way because such threads will share the same memory location.&lt;BR /&gt;&lt;BR /&gt;If this is the case, then to avoid the problem you need force in your code that only one thread at a moment calls ARPACK (you could use several threads only for different functions calls and if trees of subcall of such functions do not intersect on functions which contains variables with SAVE attribute). You could also try to modify ARPACK to be thread safe (or find one). MKL is thread safe already.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Alexander</description>
      <pubDate>Mon, 13 Feb 2012 14:12:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-On-entry-to-ZLASCL-parameter-number-4-had-an-illegal-value/m-p/781461#M1499</guid>
      <dc:creator>Alexander_K_Intel3</dc:creator>
      <dc:date>2012-02-13T14:12:31Z</dc:date>
    </item>
  </channel>
</rss>

