<?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 Every user of Intel Fortran in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111931#M129341</link>
    <description>&lt;P&gt;Every user of Intel Fortran is not also a user of MKL, and every VS project does not require MKL routines. For years, MKL used to be a separately marketed product. There is a one-time configuration that you need to do, for each combination of VS+compiler+MKL.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;See&amp;nbsp;https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc .&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2016 00:46:44 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2016-12-14T00:46:44Z</dc:date>
    <item>
      <title>What is this XERBLA thing ?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111923#M129333</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;program solve&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; use lapack95&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; real(8) A(3,3),B(3),work(999)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; integer m/3/,n/3/,nb/3/,lwork(999),info,nrhs/3/&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; n=n&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; call dgels("N", 3, 3, 3, &amp;nbsp; &amp;nbsp;A, 3, b, 3 &amp;nbsp; ,work, lwork, info)&lt;BR /&gt;
	! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dgels(trans, m, n, nrhs, a, lda, b, ldb, work, lwork, info)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; read(*,*)&lt;BR /&gt;
	end program&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;I get this weird missing entry point - see screen shot&lt;/P&gt;

&lt;P&gt;I am pointing to the MKL library in my project properties, apparently it DOES find&lt;/P&gt;

&lt;P&gt;the DGELS routine.&lt;/P&gt;

&lt;P&gt;The program does not even start. I have not bothered to put in numbers as yet.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 23:08:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111923#M129333</guid>
      <dc:creator>WSinc</dc:creator>
      <dc:date>2016-12-12T23:08:40Z</dc:date>
    </item>
    <item>
      <title>My current license would not</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111924#M129334</link>
      <description>&lt;P&gt;My current license would not allow me to use any of the products from 2016.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;So I downloaded the latest Fortran from 2017, and of course had to use Visual studio 2013&lt;/P&gt;

&lt;P&gt;However, I get the same error message. Why does it think that my EXE is a dynamic link library?&lt;/P&gt;

&lt;P&gt;Isn't it supposed to look for the entry point elsewhere ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;BTW, as soon as I remove the reference to the MKL routine, this error goes away.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;I had to move to a 64 bit INTEL CPU because I lost the other computer.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 23:53:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111924#M129334</guid>
      <dc:creator>WSinc</dc:creator>
      <dc:date>2016-12-12T23:53:00Z</dc:date>
    </item>
    <item>
      <title>The missing symbols is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111925#M129335</link>
      <description>&lt;P&gt;The missing symbol is defined in "mkl_intel_thread.dll". I think you must have linked your program with a newer version of mkl .lib file but have an old version of mkl .dll file in your PATH setting.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Xiaoping Duan&lt;/P&gt;

&lt;P&gt;Intel Customer Support&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 06:07:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111925#M129335</guid>
      <dc:creator>Xiaoping_D_Intel</dc:creator>
      <dc:date>2016-12-13T06:07:00Z</dc:date>
    </item>
    <item>
      <title>I am not sure what you are</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111926#M129336</link>
      <description>&lt;P&gt;I am not sure what you are trying to do. Are you trying to solve three simultaneous linear equations with one right hand side vector? &amp;nbsp;If so, many of the arguments that you pass to DGELS are wrong. Many arguments are not even defined before the call.&lt;/P&gt;

&lt;P&gt;Lapack and BLAS routines do only limited checking of the input data. To get them to work, one has to read the documentation and make sure that the arguments passed are of the proper types, kinds and sizes.&lt;/P&gt;

&lt;P&gt;You have "use lapack95", but your subroutine call uses nothing in Lapack95.&lt;/P&gt;

&lt;P&gt;Finally, if you want specific help on error messages that you saw, you must report exactly what steps you took before you received those messages. How did you compile, what options did you use and what data did you run the program with? What answer do you expect? Without such specific details, code such as the one that you posted simply reinforces the adage "garbage in, garbage out".&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 17:57:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111926#M129336</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-12-13T17:57:09Z</dc:date>
    </item>
    <item>
      <title>I am NOT TRYING TO SOLVE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111927#M129337</link>
      <description>&lt;P&gt;I am &lt;EM&gt;&lt;STRONG&gt;NOT TRYING TO SOLVE LINEAR EQUATIONS &amp;nbsp;! ! ! ! ! !&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;IT IS A LEAST SQUARES PROBLEM.&lt;/P&gt;

&lt;P&gt;and the library is a LAPACK routine, not a BLAS routine.&lt;/P&gt;

&lt;P&gt;DGELS, SGES, GELS, etc. are &lt;EM&gt;&lt;STRONG&gt;in that library.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;It is written up under LAPACK routines.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;To call that, I used Steve Lionel's recommendation, to set "use MKL" under fortran &amp;gt; libraries.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The argument list is &lt;EM&gt;&lt;STRONG&gt;exactly as defined&lt;/STRONG&gt;&lt;/EM&gt; in the GELS write-up, under LAPACK library routines.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 18:34:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111927#M129337</guid>
      <dc:creator>WSinc</dc:creator>
      <dc:date>2016-12-13T18:34:00Z</dc:date>
    </item>
    <item>
      <title>In that case, first take a</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111928#M129338</link>
      <description>&lt;P&gt;In that case, first take a look at the example provided at ...\compilers_and_libraries_2017.1.143\windows\mkl\examples\lapack95\source\gels.f90, if you want to use the Fortran 9x interface, or the similar file dgelsx.f in ...\mkl\examples\lapackf\source. Each of these is meant to be run with input data in files in the &amp;nbsp;&lt;SPAN style="font-size: 16.26px;"&gt;...\mkl\examples\lapack{f | 95}\data folders.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 16.26px;"&gt;If you have not unpacked the MKL example Zip files after installation, do so first, before trying to locate the files that I mentioned.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 16.26px;"&gt;In MKL, Lapack, BLAS, FFT and many other routines are all packaged into a single library. Different versions of the MKL library exist for sequential/parallel, 4-byte/8-byte integers, 32-bit/64-bit, etc., combinations.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 16.26px;"&gt;Lapack calls can be complex, particularly if calling from a language other than Fortran. It is better to start with one of the working examples provided and modify that rather than to start from scratch.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 16.26px;"&gt;I find it odd that you are calling GELS with a square matrix, for which the least squares solution is the same as that given by Gaussian elimination (apart from floating point loss of precision). The Q-R algorithm used by GELS is not as efficient as the L-U factorization used by GESV, so if you are sure that the matrices you have are square (i.e., number of observations m = number of unknown model parameters n), use GESV instead.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;The argument list is exactly as defined in the GELS write-up, under LAPACK library routines.&lt;SPAN style="font-size: 16.26px;"&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 16.26px;"&gt;Not quite. Look again, more carefully. The fourth and tenth arguments are wrong.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 16.26px;"&gt;MODERATOR: Please consider moving this thread into the MKL forum.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 19:00:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111928#M129338</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-12-13T19:00:00Z</dc:date>
    </item>
    <item>
      <title>Bill, here is an example to</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111929#M129339</link>
      <description>&lt;P&gt;Bill, here is an example to show that for a square matrix of full rank GESV and GELS yield the same solution. In other words, for M = N and A of full rank, the sum of the squares of the residuals from the least squares solution is exactly zero (with infinite precision floating point; you may wish to compute and print the SSQR for the example).&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;program xgesv
use lapack95
implicit none
integer, parameter :: M = 4, N = 4, NRHS = 1

double precision :: A(M,N) = reshape( [                    &amp;amp;
                                1.80,  2.88,  2.05, -0.89, &amp;amp;
                                5.25, -2.95, -0.95, -3.80, &amp;amp;
                                1.58, -2.69, -2.90, -1.04, &amp;amp;
                               -1.11, -0.66, -0.59,  0.80], [M,N])
							   
double precision :: B(N,NRHS) = [9.52, 24.35,  0.77, -6.22], &amp;amp;
                    BS(N,NRHS), AS(M,N)
!
A  = transpose(A)
AS = A             ! save for reuse later
BS = B

call gesv(A,B)
write(*,'(1x,A,2x,4F10.4)')'Solution from GESV: ',B(1:N,1)

A = AS   ! restore saved matrices
B = BS
call gels(A,B)
write(*,'(1x,A,2x,4F10.4)')'Solution from GELS: ',B(1:N,1)
end program xgesv&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 20:19:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111929#M129339</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-12-13T20:19:23Z</dc:date>
    </item>
    <item>
      <title>Well, in my case, I HAVE AN</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111930#M129340</link>
      <description>&lt;P&gt;Well, in my case, I HAVE AN OVER DETERMINED SYSTEM, SO GESV would not work anyway.&lt;/P&gt;

&lt;P&gt;And the matrix does not have to be square, either.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The issue is: &lt;STRONG&gt;&lt;EM&gt;why wont the Visual Studio 2013 link properly to these routines ?&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I dont see this with an earlier VS, like 2010.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Apparently they didn't test this stuff first ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If there is something special we are supposed to do with VS2013, they didn't give us a clue how - - - -&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 22:22:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111930#M129340</guid>
      <dc:creator>WSinc</dc:creator>
      <dc:date>2016-12-13T22:22:55Z</dc:date>
    </item>
    <item>
      <title>Every user of Intel Fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111931#M129341</link>
      <description>&lt;P&gt;Every user of Intel Fortran is not also a user of MKL, and every VS project does not require MKL routines. For years, MKL used to be a separately marketed product. There is a one-time configuration that you need to do, for each combination of VS+compiler+MKL.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;See&amp;nbsp;https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc .&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 00:46:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111931#M129341</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-12-14T00:46:44Z</dc:date>
    </item>
    <item>
      <title>That article does not address</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111932#M129342</link>
      <description>&lt;P&gt;That article&lt;EM&gt;&lt;STRONG&gt; does not address my problem at all.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;First of all, I am using VS 2013, which it does not mention.&lt;/P&gt;

&lt;P&gt;Secondly, it does not appear to address Fortran users.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;We need an article that specifically says:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;What do we need to put into the Visual 2013 setup,&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;in order to use the MKL routines?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Are there other libraries we have to add to the MKL one?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;I did not have any problem using those on my 32-bit CPU machine.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Seems like a starightforward question, I just need a straightforward intelligent answer,&lt;/P&gt;

&lt;P&gt;rather than gibberish.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 02:12:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111932#M129342</guid>
      <dc:creator>WSinc</dc:creator>
      <dc:date>2016-12-14T02:12:02Z</dc:date>
    </item>
    <item>
      <title>Create a new VS Fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111933#M129343</link>
      <description>&lt;OL&gt;
	&lt;LI&gt;Create a new VS Fortran Console project.&lt;/LI&gt;
	&lt;LI&gt;Right-click on &lt;EM&gt;Source Files&lt;/EM&gt; in the Solution Explorer, select &lt;EM&gt;Add Existing Item&lt;/EM&gt;, and add the source file(s) needed.&lt;/LI&gt;
	&lt;LI&gt;Right-click on the project (&lt;EM&gt;Console1&lt;/EM&gt;, if you did not specify another name), select &lt;EM&gt;Properties--Fortran--Libraries &lt;/EM&gt;and select a suitable option for &lt;EM&gt;Intel Math Kernel Library&lt;/EM&gt; other than &lt;EM&gt;No&lt;/EM&gt;.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;For more details, see&amp;nbsp;https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc .&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 03:07:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111933#M129343</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-12-14T03:07:21Z</dc:date>
    </item>
    <item>
      <title>Hi Billsincl,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111934#M129344</link>
      <description>&lt;P&gt;Hi Billsincl,&lt;/P&gt;

&lt;P&gt;is there other version mkl install on your machine?&amp;nbsp;&amp;nbsp; I did a quick test with your code, but I can't reproduce the&amp;nbsp;problem.&amp;nbsp; The symbol mkl_serv_set_xerbla_interface was defined in mkl_intel_thread.dll.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;So &amp;nbsp;the key for your problem&amp;nbsp;is&amp;nbsp; what&amp;nbsp;MKL path&amp;nbsp;in your environment&lt;/P&gt;

&lt;P&gt;Open&amp;nbsp;your&amp;nbsp;computer's property&amp;nbsp; ( from windows menu) =&amp;gt; advanced system setting =&amp;gt; Advanced =&amp;gt; environment variable =&amp;gt; Edit system variables &amp;nbsp;PATH,&amp;nbsp; add C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2017.1.143\windows\redist\intel64_win at first place.&lt;/P&gt;

&lt;P&gt;then restart your MSVS 2013 project&amp;nbsp;to make sure the environment valid.&lt;/P&gt;

&lt;P&gt;and see if the error will gone?&lt;/P&gt;

&lt;P&gt;And if possible, please use dependency walker to&amp;nbsp; check which the MKL dll and&amp;nbsp;path are using.&lt;/P&gt;

&lt;P&gt;for example, below is the dependency walker result of the test, where no path was setting for mkl_intel_thread.dll.&lt;/P&gt;

&lt;P&gt;Best Regards&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="xerbla2.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/9299i7AF5B886ED7C3F27/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="xerbla2.png" alt="xerbla2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 04:00:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/What-is-this-XERBLA-thing/m-p/1111934#M129344</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2016-12-14T04:00:29Z</dc:date>
    </item>
  </channel>
</rss>

