<?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: incorrect results for dgeqrf / dorgqr in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907306#M11817</link>
    <description>i submitted it yesterday (see the table below - not sure if anyone else can see the ticket), but still a bit worrisome that it wasn't addressed in the public forum by intel. i'd even be happy to hear "you're wrong, it works, RTFM"&lt;BR /&gt;&lt;BR /&gt;why do you say off the beaten path ? i'm using mkl with a supported compiler, and threading is one of the key features of mkl - here's the first paragraph from Intel's Overview page (emphasis mine):&lt;BR /&gt;&lt;BLOCKQUOTE&gt;Intel Math Kernel Library (Intel MKL) offers highly optimized,
&lt;B&gt;extensively threaded&lt;/B&gt; math routines for scientific, engineering, and
financial applications that require maximum performance.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;is there something unusual about what i'm doing ? have you done something similar with a different link line ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE cellpadding="1" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="4" align="center"&gt;&lt;FONT color="#0033ff" face="ARIAL,HELVETICA" size="3"&gt;&lt;B&gt;incorrect results for dgeqrf using openmp&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;
	&lt;/TR&gt;
	&lt;TR&gt;
		&lt;TD class="table_label"&gt;Issue 
			Number&lt;/TD&gt;
		&lt;TD class="table_value"&gt;511590&lt;/TD&gt;
		&lt;TD class="table_label"&gt;Issue 
			Status&lt;/TD&gt;
		&lt;TD class="table_value"&gt;Investigating&lt;/TD&gt;
	&lt;/TR&gt;
	&lt;TR&gt;
		&lt;TD class="table_label"&gt;Originator&lt;/TD&gt;
		&lt;TD class="table_value"&gt;seth lytle&lt;/TD&gt;
		&lt;TD class="table_label"&gt;Submit 
			Date&lt;/TD&gt;
		&lt;TD class="table_value"&gt;8/11/2008&lt;/TD&gt;
	&lt;/TR&gt;
	&lt;TR&gt;
		&lt;TD class="table_label"&gt;Company&lt;/TD&gt;
		&lt;TD class="table_value"&gt;event monitor&lt;/TD&gt;
		&lt;TD class="table_label"&gt;Last 
			Update&lt;/TD&gt;
		&lt;TD class="table_value"&gt;8/12/2008&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 12 Aug 2008 16:11:10 GMT</pubDate>
    <dc:creator>lytles</dc:creator>
    <dc:date>2008-08-12T16:11:10Z</dc:date>
    <item>
      <title>incorrect results for dgeqrf / dorgqr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907299#M11810</link>
      <description>&lt;P&gt;overview: we have a small matrix library. it uses mkl wrapped with c and called from java thru jni (but i've reproduced this problem with pure c, see below). i have it built for both x86.32 and x64 systems. i'm using dgeqrf and dorgqr to construct the qr decomposition&lt;/P&gt;&lt;BR /&gt;on a 32 bit pentium4, this works fine. on my 64 bit systems (both intel and amd) i'm getting incorrect results, ie norm (QR-A) is on the order of 1 (it should be near zero). this is only happening for matrices that are slightly wider than they are tall, but for those sizes, it happens most of the time with random-valued matrices. here's a graph of problem sizes - the first column is the number of rows, the rest are the number of columns at which the problem occurs&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt; 98 102 103 104&lt;/PRE&gt;&lt;PRE&gt; 99 101 102 103 104&lt;/PRE&gt;&lt;PRE&gt; 100 101 102 103 104&lt;/PRE&gt;&lt;PRE&gt; 101 102 103 104&lt;/PRE&gt;&lt;PRE&gt; 102 103 104&lt;/PRE&gt;&lt;PRE&gt; 103 104&lt;/PRE&gt;&lt;PRE&gt; 104 &lt;/PRE&gt;&lt;PRE&gt; 105 &lt;/PRE&gt;&lt;PRE&gt; 106 107 108 109 110 111 112&lt;/PRE&gt;&lt;PRE&gt; 107 108 109 110 111 112&lt;/PRE&gt;&lt;PRE&gt; 108 109 110 111 112&lt;/PRE&gt;&lt;PRE&gt; 109 110 111 112&lt;/PRE&gt;&lt;PRE&gt; 110 111 112&lt;/PRE&gt;&lt;PRE&gt; 111 112&lt;/PRE&gt;&lt;PRE&gt; 112 &lt;/PRE&gt;&lt;PRE&gt;...&lt;/PRE&gt;&lt;BR /&gt;as the number of rows increase, the "triangles" get larger. in a few cases i've checked out the answer and compared with the "correct" QR (taken from acml or jlapack or 32 bit mkl). the error is in the lower right hand corner of R (in the portion that would be truncated for the "economy" representation, ie in the columns greater than the number of rows, as A = Q * [ R1 R2 ], R1 square, the problem is with R2)&lt;BR /&gt;&lt;BR /&gt;i've reduced this to a simple test case in c that gives different results on 32 v 64 bit machines. can anyone verify that they've seen similar problems or tell what i'm doing wrong or test my code below.&lt;BR /&gt;&lt;BR /&gt;here's the info on my systems and the simple test case in c that reproduces the error. the results will agree until the final four elements.&lt;BR /&gt;&lt;BR /&gt;Intel Math Kernel Library 10.0 Update 3 for Linux* &lt;BR /&gt;32 bit: gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)&lt;BR /&gt;64 bit: gcc (GCC) 4.2.3 (built by hand)&lt;BR /&gt;&lt;BR /&gt;// test_dgeqrf.c&lt;BR /&gt;&lt;PRE&gt;#include &lt;MKL_LAPACK.H&gt;&lt;/MKL_LAPACK.H&gt;&lt;/PRE&gt;&lt;PRE&gt;#include &lt;STDIO.H&gt;&lt;/STDIO.H&gt;&lt;/PRE&gt;&lt;PRE&gt;#include &lt;STRING.H&gt;&lt;/STRING.H&gt;&lt;/PRE&gt;&lt;PRE&gt;#include &lt;MATH.H&gt;&lt;/MATH.H&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;PRE&gt;int main() {&lt;/PRE&gt;&lt;PRE&gt; int rows = 100, cols = 101, nn = rows*cols;&lt;/PRE&gt;&lt;PRE&gt; int vals[ nn ];&lt;/PRE&gt;&lt;PRE&gt; for (int ii=0;ii&lt;NN&gt;&lt;PRE&gt; int prime = 11713;&lt;/PRE&gt;&lt;PRE&gt; for (int ii=10;ii&lt;NN&gt;&lt;PRE&gt; double valo[nn], val2[nn];&lt;/PRE&gt;&lt;PRE&gt; for (int ii=0,kk=0; ii&lt;ROWS&gt;&lt;PRE&gt; for (int jj = 0; jj &amp;lt; cols; jj++,kk++) valo[ ii + jj*rows ] = 1.0*vals[ kk ]/prime;&lt;/PRE&gt;&lt;PRE&gt; memcpy( val2, valo, nn*sizeof(double) );&lt;/PRE&gt;&lt;PRE&gt; double tau[ rows ];&lt;/PRE&gt;&lt;PRE&gt; int lw = rows * 64, info = 0;&lt;/PRE&gt;&lt;PRE&gt; double work[ lw ];&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt; dgeqrf( &amp;amp;rows, &amp;amp;cols, valo, &amp;amp;rows, tau, work, &amp;amp;lw, &amp;amp;info );&lt;/PRE&gt;&lt;PRE&gt; printf( "dgeqrf status: %d
", info );&lt;/PRE&gt;&lt;PRE&gt; for (int ii = 0; ii &amp;lt; nn; ii++) printf( "%5d %8.3f %8.3f
", ii, 
val2[ii], valo[ii] );&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;}&lt;/PRE&gt;&lt;BR /&gt;&lt;PRE&gt;# here's the compile that i'm using&lt;/PRE&gt;&lt;PRE&gt;# 32 bit&lt;BR /&gt;gcc -I/home/lytles/install/apps/mkl/include -I/usr/java/jdk1.5.0_08/include -I/usr/java/jdk1.5.0_08/include/linux -fPIC -pthread -std=c99 -o test_dgeqrf.x test_dgeqrf.c -fopenmp -L/home/lytles/install/apps/mkl/lib/em64t -lmkl_gf_lp64 -liomp5 /home/lytles/install/apps/mkl/lib/em64t/libmkl_lapack.a /home/lytles/install/apps/mkl/lib/em64t/libmkl_gnu_thread.a /home/lytles/install/apps/mkl/lib/em64t/libmkl_core.a -ldl -lm&lt;BR /&gt;# 64 bit&lt;BR /&gt;gcc -I/home/lytles/install/apps/mkl/include -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux -fPIC -pthread -std=c99 -o test_dgeqrf.x test_dgeqrf.c -L/home/lytles/install/apps/mkl/lib/32 /home/lytles/install/apps/mkl/lib/32/libmkl_gf.a /home/lytles/install/apps/mkl/lib/32/libmkl_lapack.a /home/lytles/install/apps/mkl/lib/32/libmkl_gnu_thread.a /home/lytles/install/apps/mkl/lib/32/libmkl_core.a /home/lytles/install/apps/mkl/lib/32/libiomp5.a -lm &lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&amp;gt; diff t1.bryan.txt t1.proteus.txt &lt;BR /&gt;10098,10101c10098,10101&lt;BR /&gt;&amp;lt; 10096 -1.436 -0.235&lt;BR /&gt;&amp;lt; 10097 -0.832 0.202&lt;BR /&gt;&amp;lt; 10098 -0.710 0.266&lt;BR /&gt;&amp;lt; 10099 -0.592 -0.097&lt;BR /&gt;---&lt;BR /&gt;&amp;gt; 10096 -1.436 0.328&lt;BR /&gt;&amp;gt; 10097 -0.832 -0.218&lt;BR /&gt;&amp;gt; 10098 -0.710 0.092&lt;BR /&gt;&amp;gt; 10099 -0.592 -0.115&lt;BR /&gt;&lt;BR /&gt;note: the errors are on the order of 1&lt;BR /&gt;note: the values from the 32 bit system (bryan) satisfy A=QR, the 64 bit results do not&lt;BR /&gt;note: i've tried to format this post sanely, but it may be ugly - apologies in advance&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;seth&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/ROWS&gt;&lt;/PRE&gt;&lt;/NN&gt;&lt;/PRE&gt;&lt;/NN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Aug 2008 14:16:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907299#M11810</guid>
      <dc:creator>lytles</dc:creator>
      <dc:date>2008-08-07T14:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect results for dgeqrf / dorgqr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907300#M11811</link>
      <description>Seth,&lt;BR /&gt;&lt;BR /&gt;Could you try removing libmkl_lapack.a from the link line for your 64-bit configuration? That library is actually a compatibility script with only the following contents:&lt;BR /&gt; GROUP (libmkl_intel_lp64.a libmkl_intel_thread.a libmkl_core.a)&lt;BR /&gt;&lt;BR /&gt;This will of course bring in the wrong interface and wrong thread layer. There are some differences between the GNU and Intel compiler interfaces on 64-bit platforms, and that may be the cause of your problem. &lt;BR /&gt;&lt;BR /&gt;While you're at it, you might remove libmkl_lapack.a from your 32-bit link line as well. Any reason why you link libmkl_gf.a on 32-bit, but use "-lmkl_gf_lp64" on the 64-bit platform (which would default I think to libmkl_gf_lp64.so)?&lt;BR /&gt;&lt;BR /&gt;-Todd&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2008 16:59:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907300#M11811</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2008-08-07T16:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect results for dgeqrf / dorgqr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907301#M11812</link>
      <description>&lt;P&gt;ok - easy stuff first. the link lines that i gave were from the build for my java app. i'm using libmkl_gf.a on 32 bit, to simplify installation of the java app. i'd do the same thing on 64 bit but i get x86 relocation errors.&lt;BR /&gt;
&lt;/P&gt;

when i remove libmkl_lapack.a from the link line, i get:&lt;BR /&gt;&lt;PRE&gt;/home/lytles/install/apps/mkl/lib/em64t/libmkl_core.a(_mc_mkl_dbsrsymv_lp64.o): In function `mkl_spblas_lp64_mc_mkl_dbsrsymv':&lt;/PRE&gt;&lt;PRE&gt;__tmp_mkl_dbsrsymv.c:(.text+0xa0): undefined reference to `mkl_spblas_lp64_dbsrmmsym'&lt;BR /&gt;...&lt;BR /&gt;[ snip - there are 100s of lines ]&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;here's the new link line ($mkl is the root of the install):&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;-lmkl_gf_lp64 -liomp5 $mkl/lib/em64t/libmkl_gnu_thread.a $mkl/lib/em64t/libmkl_core.a -ldl -lm&lt;/PRE&gt;changing the link to ($mkll is $mkl/lib/em64t):&lt;BR /&gt;&lt;PRE&gt;gcc -I $mkl/include -fPIC -pthread -std=c99 -o test_dgeqrf.x test_dgeqrf.c -fopenmp -L$mkll -lmkl_gf_lp64 -liomp5 $mkll/libmkl_core.a $mkll/libmkl_gnu_thread.a $mkll/libmkl_core.a -lgfortran -ldl -lm&lt;/PRE&gt;succeeds, but the answer from dgeqrf is still incorrect. switching to libmkl_sequential.a (ie removing libmkl_gnu_thread.a) seems to &lt;B&gt;fix&lt;/B&gt; the problem.&lt;BR /&gt;&lt;BR /&gt;Edit: realized something important. my 32 bit machine is an old pentium4 which mkl used to recognize as multicore. but after the last update, mkl treats it as single core. setting&lt;BR /&gt;&lt;PRE&gt;export MKL_DYNAMIC=false&lt;/PRE&gt;&lt;PRE&gt;export OMP_NUM_THREADS=2&lt;/PRE&gt;I can force mkl to run using &lt;B&gt;openmp&lt;/B&gt; on 32 bits, and lol, i get the same error. so not 32 v 64 bit at all, but openmp v sequential.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2008 17:32:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907301#M11812</guid>
      <dc:creator>lytles</dc:creator>
      <dc:date>2008-08-07T17:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect results for dgeqrf / dorgqr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907302#M11813</link>
      <description>To summarize:&lt;BR /&gt;&lt;BR /&gt;dgeqrf is giving incorrect results for R when run using &lt;B&gt;openmp&lt;/B&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;occurs on both 32 bit and 64 bit machines&lt;/LI&gt;&lt;LI&gt;only for matrices that are slightly wider than they are tall, eg 100 x 103&lt;/LI&gt;&lt;LI&gt;plotting the effected sizes results in the "triangular" structure noted above&lt;/LI&gt;&lt;LI&gt;link line is:&lt;BR /&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;gcc  -I $mkl/include  -pthread -std=c99 test_dgeqrf.c &lt;BR /&gt;&lt;/PRE&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;-lmkl_gf_lp64 -liomp5 -lmkl_gnu_thread -lmkl_core -lgfortran -ldl -lm&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI&gt;i've tried a bunch of variants of this, with and without -fopenmp and changing the order&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI&gt;whenever more than one thread is used, i get incorrect results&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;using -lmkl_sequential fixes the problem&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;PRE&gt;export OMP_NUM_THREADS=1 # fixes the problem&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI&gt;the norm of the error is on the order of the magnitude of the elements, ie large&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;any confirmation, anti-confirmation, or suggestions on how i can change the link line much appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;as a work-around, i'm thinking about using omp_set_num_threads()&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2008 22:45:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907302#M11813</guid>
      <dc:creator>lytles</dc:creator>
      <dc:date>2008-08-07T22:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect results for dgeqrf / dorgqr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907303#M11814</link>
      <description>Has anyone verified or anti-verified this issue ? This is a major issue for us - we bought mkl largely because of the threading capability.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Aug 2008 15:20:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907303#M11814</guid>
      <dc:creator>lytles</dc:creator>
      <dc:date>2008-08-11T15:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect results for dgeqrf / dorgqr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907304#M11815</link>
      <description>Have you submitted your test case on premier.intel.com? According to the information you have provided, your case seems well off the beaten path. For example, even in my use of MKL with g++ and gfortran, I've never had the occasion to use gnu_threads or mkl_gf libraries.</description>
      <pubDate>Mon, 11 Aug 2008 16:20:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907304#M11815</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-08-11T16:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect results for dgeqrf / dorgqr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907305#M11816</link>
      <description>&lt;P&gt;I've brought this to the attention of some here, but haven't heard yet. &lt;/P&gt;
&lt;P&gt;Submitting the problem to Premier support (&lt;A href="http://premier.intel.com/"&gt;http://premier.intel.com&lt;/A&gt;)as Tim suggests and highlighting it as a showstopper is a good idea as this is still the primary means for providing support for the product.&lt;/P&gt;
&lt;P&gt;-Todd&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2008 17:11:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907305#M11816</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2008-08-11T17:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect results for dgeqrf / dorgqr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907306#M11817</link>
      <description>i submitted it yesterday (see the table below - not sure if anyone else can see the ticket), but still a bit worrisome that it wasn't addressed in the public forum by intel. i'd even be happy to hear "you're wrong, it works, RTFM"&lt;BR /&gt;&lt;BR /&gt;why do you say off the beaten path ? i'm using mkl with a supported compiler, and threading is one of the key features of mkl - here's the first paragraph from Intel's Overview page (emphasis mine):&lt;BR /&gt;&lt;BLOCKQUOTE&gt;Intel Math Kernel Library (Intel MKL) offers highly optimized,
&lt;B&gt;extensively threaded&lt;/B&gt; math routines for scientific, engineering, and
financial applications that require maximum performance.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;is there something unusual about what i'm doing ? have you done something similar with a different link line ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE cellpadding="1" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="4" align="center"&gt;&lt;FONT color="#0033ff" face="ARIAL,HELVETICA" size="3"&gt;&lt;B&gt;incorrect results for dgeqrf using openmp&lt;/B&gt;&lt;/FONT&gt;&lt;/TD&gt;
	&lt;/TR&gt;
	&lt;TR&gt;
		&lt;TD class="table_label"&gt;Issue 
			Number&lt;/TD&gt;
		&lt;TD class="table_value"&gt;511590&lt;/TD&gt;
		&lt;TD class="table_label"&gt;Issue 
			Status&lt;/TD&gt;
		&lt;TD class="table_value"&gt;Investigating&lt;/TD&gt;
	&lt;/TR&gt;
	&lt;TR&gt;
		&lt;TD class="table_label"&gt;Originator&lt;/TD&gt;
		&lt;TD class="table_value"&gt;seth lytle&lt;/TD&gt;
		&lt;TD class="table_label"&gt;Submit 
			Date&lt;/TD&gt;
		&lt;TD class="table_value"&gt;8/11/2008&lt;/TD&gt;
	&lt;/TR&gt;
	&lt;TR&gt;
		&lt;TD class="table_label"&gt;Company&lt;/TD&gt;
		&lt;TD class="table_value"&gt;event monitor&lt;/TD&gt;
		&lt;TD class="table_label"&gt;Last 
			Update&lt;/TD&gt;
		&lt;TD class="table_value"&gt;8/12/2008&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Aug 2008 16:11:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907306#M11817</guid>
      <dc:creator>lytles</dc:creator>
      <dc:date>2008-08-12T16:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect results for dgeqrf / dorgqr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907307#M11818</link>
      <description>It looks like you found a bug. If you had been doing something wrong then I suppose someone would have asked you to RTFM (or something to that effect).&lt;BR /&gt;&lt;BR /&gt;For now, to work around this problem you will need to explicitly run serially in sections where these functions are used.&lt;BR /&gt;&lt;BR /&gt;The engineer was able reproduce your problem based on your forum posts. But if in the future you're not getting the results or response you'd expect from Intel and the community you might choose premier support (our primary means of support the product) sooner. From the &lt;A href="https://community.intel.com/en-us/forums/showthread.php?t=58301"&gt;welcome&lt;/A&gt;: &lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;FONT face="Verdana" size="2"&gt;While this is primarily a discussion
forum, if a question is posted that appears to indicate a defect in the
software or documentation, we will work with you to use our Intel
Premier support site, which is in place to register and respond to bugs
or other support issues you may have.&lt;BR /&gt;&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;-Todd&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Aug 2008 22:33:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907307#M11818</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2008-08-15T22:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect results for dgeqrf / dorgqr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907308#M11819</link>
      <description>ok&lt;BR /&gt;&lt;BR /&gt;premier.intel.com got back to me. long term they have a fix that they'll incorporate into mkl (i hope for the next update). and short-term they came up with a work-around. increase the width of the matrix that's being passed in (and the corresponding # of columns). here's their note:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;Dear Seth,&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;The issue occurs if matrix dimensions are in the following constraints: m&lt;N&gt;&amp;lt;=(m/nb+1)*nb,&lt;BR /&gt;The exact way to do it is (example in C tested on posted reproducer):&lt;BR /&gt;&lt;/N&gt;&lt;/PRE&gt;&lt;BLOCKQUOTE&gt;MKL_INT nb, nbold, ispec, mione, nthr;&lt;BR /&gt;ispec = 1; mione = -1; nthr = omp_num_threads();&lt;BR /&gt;nb = ilaenv( &amp;amp;ispec, "DGEQRF", " ", &amp;amp;rows, &amp;amp;cols, &amp;amp;nthr, &amp;amp;mione );&lt;BR /&gt;do{&lt;BR /&gt;if( rows&lt;COLS&gt;nbold = nb;&lt;BR /&gt;nb = ilaenv( &amp;amp;ispec, "DGEQRF", " ", &amp;amp;rows, &amp;amp;cols, &amp;amp;nthr, &amp;amp;mione );&lt;BR /&gt;} while ( nb != nbold );&lt;/COLS&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;It is necessary to repeat because with the columns number change the NB value also could increase.&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;Thanks,&lt;/PRE&gt;&lt;PRE&gt;Vipin&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Aug 2008 17:47:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907308#M11819</guid>
      <dc:creator>lytles</dc:creator>
      <dc:date>2008-08-26T17:47:57Z</dc:date>
    </item>
    <item>
      <title>code java   qr decomposition</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907309#M11820</link>
      <description>&lt;TABLE cellpadding="0" cellspacing="0" border="0" width="64"&gt;
	&lt;COLGROUP&gt;
		&lt;COL /&gt;&lt;/COLGROUP&gt;
	&lt;TBODY&gt;
		&lt;TR height="17"&gt;
			&lt;TD style="height:17px;width:64px;" height="17"&gt;&lt;A href="http://www.keepautomation.com/products/java_barcode_reader/"&gt;code java&amp;nbsp;&amp;nbsp; qr decomposition&lt;/A&gt;
				&lt;TABLE cellpadding="0" cellspacing="0" border="0" height="8" width="804"&gt;
					&lt;COLGROUP&gt;
						&lt;COL /&gt;&lt;/COLGROUP&gt;
					&lt;TBODY&gt;
						&lt;TR height="17"&gt;
							&lt;TD style="height:17px;width:64px;" height="17"&gt;&amp;nbsp;&lt;/TD&gt;
						&lt;/TR&gt;
					&lt;/TBODY&gt;
				&lt;/TABLE&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Tue, 01 Jul 2014 07:57:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907309#M11820</guid>
      <dc:creator>leona_l_</dc:creator>
      <dc:date>2014-07-01T07:57:05Z</dc:date>
    </item>
    <item>
      <title>Hi Leona, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907310#M11821</link>
      <description>&lt;P&gt;Hi Leona,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Do you hope to see the example code of java qr decomposition?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;You may first refer to example code of MKL java under MKL install directory. &amp;nbsp;It include several example, like dgemm, dgesv, dgesvd. So you can modify them to get &amp;nbsp;dgeqrf &amp;nbsp;sample.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2014 03:36:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/incorrect-results-for-dgeqrf-dorgqr/m-p/907310#M11821</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2014-07-02T03:36:22Z</dc:date>
    </item>
  </channel>
</rss>

