<?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: LAPACK outdated Fortran Function in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/LAPACK-outdated-Fortran-Function/m-p/869768#M71740</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Hi Tim&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!&lt;BR /&gt;&lt;BR /&gt;Is there a particular 'uplo' setting that's sorta like a default (L or U)? I.e., mathematically which one would make more sense to set it to?&lt;BR /&gt;&lt;BR /&gt;THanks&lt;BR /&gt;Kevin&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/367365"&gt;tim18&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; uplo is documented in the public dposv &lt;A href="http://www.netlib.org/lapack/double/dposv.f"&gt;http://www.netlib.org/lapack/double/dposv.f&lt;/A&gt;&lt;BR /&gt;It looks like someone made a copy where they set 'U' or 'L' inside and removed that argument from the call. The comment seems to indicate they didn't care to learn how a short character string was passed from MSVC to their Fortran compilation.&lt;BR /&gt;You should be able to use the DPOSV which comes with ifort mkl, if you find out which choice was made for uplo, and pass it in accordance with the mkl C++ include file.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
    <pubDate>Mon, 29 Jun 2009 22:10:19 GMT</pubDate>
    <dc:creator>proud2bhaole</dc:creator>
    <dc:date>2009-06-29T22:10:19Z</dc:date>
    <item>
      <title>LAPACK outdated Fortran Function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/LAPACK-outdated-Fortran-Function/m-p/869766#M71738</link>
      <description>Background information:&lt;BR /&gt;*******************************&lt;BR /&gt;We have an 10-year old program that utilizes Visual C++ as well as Fortran.  &lt;BR /&gt;&lt;BR /&gt;We are trying to migrate this from this environment:&lt;BR /&gt;&amp;gt; 1. Visual C++ 6&lt;BR /&gt;&amp;gt; 2. Compaq Visual Fortran 6&lt;BR /&gt;&amp;gt; 3. MS Fortran PowerStation 4.0&lt;BR /&gt;&lt;BR /&gt;To this environment:&lt;BR /&gt;&amp;gt; 1. Visual Studio 2008&lt;BR /&gt;&amp;gt; 2. Intel Visual Fortran 11&lt;BR /&gt;&lt;BR /&gt;Unfortunately, there is ONE Fortran function in a LAPACK library that was compiled using the older environment (PowerStation 4.0).&lt;BR /&gt;&lt;BR /&gt;And I cannot find this function DPOSVM in any of the updated LAPACK source code.  (although DPOSV exists)&lt;BR /&gt;&lt;BR /&gt;Any help on this is greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;LAPACK: DPOSVM &amp;amp; DPOSV ISSUE&lt;BR /&gt;=================================&lt;BR /&gt;&lt;BR /&gt; 0. Problem: There exists a function DPOSVM that does not exist in the newer LAPACK versions.&lt;BR /&gt; There is, however a function called DPOSV that does exist.&lt;BR /&gt; Newest LAPACK Source code has been compiled and DPOSV is able to be called from the&lt;BR /&gt; latest LAPACK library (using this newest source code)&lt;BR /&gt;&lt;BR /&gt; 1. Function call for dposvm (ADSAP.C)&lt;BR /&gt; DPOSVM(&amp;amp;nopt,&amp;amp;nrhs,H,&amp;amp;nopt,E,&amp;amp;nopt,&amp;amp;error);&lt;BR /&gt;&lt;BR /&gt; 2. Function call for dposv (ADSAP.C)&lt;BR /&gt; DPOSV(&amp;amp;uplo,&amp;amp;nopt,&amp;amp;nrhs,H,&amp;amp;nopt,E,&amp;amp;nopt,&amp;amp;error);&lt;BR /&gt;&lt;BR /&gt; 3. The following comments were made within the code in the file ADSAP.C:&lt;BR /&gt;&lt;BR /&gt; /* Solve system. Cholesky decomposition. LAPACK routine */&lt;BR /&gt; /* if error, H is not positive definite or bad input */&lt;BR /&gt; /* Solution is Newton step, returned in E */&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; /*DPOSV(&amp;amp;uplo,&amp;amp;nopt,&amp;amp;nrhs,H,&amp;amp;nopt,E,&amp;amp;nopt,&amp;amp;error);&lt;BR /&gt; &lt;BR /&gt; We call function dposvm instead of dposv, because we can not pass&lt;BR /&gt; uplo character fro "c" file " to "fortran" file.*/&lt;BR /&gt;&lt;BR /&gt; DPOSVM(&amp;amp;nopt,&amp;amp;nrhs,H,&amp;amp;nopt,E,&amp;amp;nopt,&amp;amp;error);&lt;BR /&gt;&lt;BR /&gt; 4. Apparently, DPOSVM was used instead of DPOSV due to incompatibility with C and Fortran.&lt;BR /&gt;&lt;BR /&gt; 5. COmmenting out DPOSVM and taking the commenting markers off of DPOSV results in a workable&lt;BR /&gt; executable. I.E., re-establish DPOSV as the primary function&lt;BR /&gt;&lt;BR /&gt; 6. The effects on the executable, however, are UNKNOWN.  Further testing is required.&lt;BR /&gt;&lt;BR /&gt; 7. Questions:&lt;BR /&gt; a. Why was DPOSVM used?&lt;BR /&gt; b. Was it part of the original LAPACK.lib (this is assumed but needs to be verified)?&lt;BR /&gt; c. What is uplo character?&lt;BR /&gt; d. Perhaps with Visual Studio 2008 and Intel Fortran Visual Studio the shortcomings&lt;BR /&gt; of DPOSV have been resolved and DPOSVM is no longer needed?&lt;BR /&gt; &lt;BR /&gt; 8. Possible Solutions:&lt;BR /&gt; a. Use DPOSV instead of DPOSVM (if no adverse effects on program)&lt;BR /&gt; b. Find updated DPOSVM source code</description>
      <pubDate>Sun, 28 Jun 2009 02:58:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/LAPACK-outdated-Fortran-Function/m-p/869766#M71738</guid>
      <dc:creator>proud2bhaole</dc:creator>
      <dc:date>2009-06-28T02:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: LAPACK outdated Fortran Function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/LAPACK-outdated-Fortran-Function/m-p/869767#M71739</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
uplo is documented in the public dposv &lt;A href="http://www.netlib.org/lapack/double/dposv.f"&gt;http://www.netlib.org/lapack/double/dposv.f&lt;/A&gt;&lt;BR /&gt;It looks like someone made a copy where they set 'U' or 'L' inside and removed that argument from the call. The comment seems to indicate they didn't care to learn how a short character string was passed from MSVC to their Fortran compilation.&lt;BR /&gt;You should be able to use the DPOSV which comes with ifort mkl, if you find out which choice was made for uplo, and pass it in accordance with the mkl C++ include file.&lt;BR /&gt;</description>
      <pubDate>Sun, 28 Jun 2009 04:55:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/LAPACK-outdated-Fortran-Function/m-p/869767#M71739</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-06-28T04:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: LAPACK outdated Fortran Function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/LAPACK-outdated-Fortran-Function/m-p/869768#M71740</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Hi Tim&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!&lt;BR /&gt;&lt;BR /&gt;Is there a particular 'uplo' setting that's sorta like a default (L or U)? I.e., mathematically which one would make more sense to set it to?&lt;BR /&gt;&lt;BR /&gt;THanks&lt;BR /&gt;Kevin&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/367365"&gt;tim18&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; uplo is documented in the public dposv &lt;A href="http://www.netlib.org/lapack/double/dposv.f"&gt;http://www.netlib.org/lapack/double/dposv.f&lt;/A&gt;&lt;BR /&gt;It looks like someone made a copy where they set 'U' or 'L' inside and removed that argument from the call. The comment seems to indicate they didn't care to learn how a short character string was passed from MSVC to their Fortran compilation.&lt;BR /&gt;You should be able to use the DPOSV which comes with ifort mkl, if you find out which choice was made for uplo, and pass it in accordance with the mkl C++ include file.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Jun 2009 22:10:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/LAPACK-outdated-Fortran-Function/m-p/869768#M71740</guid>
      <dc:creator>proud2bhaole</dc:creator>
      <dc:date>2009-06-29T22:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: LAPACK outdated Fortran Function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/LAPACK-outdated-Fortran-Function/m-p/869769#M71741</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
If any of the forums is suitable for discussion of BLAS, it would be the MKL forum. As far as I can see, the 'L' or the 'U' form are equally likely choices, so you would have to dig into your application to see which is in use.</description>
      <pubDate>Mon, 29 Jun 2009 23:52:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/LAPACK-outdated-Fortran-Function/m-p/869769#M71741</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-06-29T23:52:36Z</dc:date>
    </item>
  </channel>
</rss>

