<?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: &amp;quot;error_during_IPO_compilation&amp;quot;? (Resolved by compiler updat in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-error-during-IPO-compilation-quot/m-p/866686#M8063</link>
    <description>OK, I took the plunge and installed the latest update (w_fc_p_10.1.024) sans un-installing VSPPE (for now at least - on reflection, it must be possible to uninstall everything later &amp;amp; start from scratch if it turns to custard).&lt;BR /&gt;&lt;BR /&gt;Anyway, great news is that it fixed the "error_during_IPO_compilation" error &amp;amp; I can move forward on upgrading my program to use the QRN stuff.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[OT]&lt;BR /&gt;Amazing coincidence. I got email notification of the new update only ~4 hours before I first encountered the &lt;FONT color="#000080"&gt;IPO / MKL&lt;/FONT&gt; bug in the compiler. It never occurred to me that I might have hit a compiler bug. Had almost finished writing my first post when I recalled seeing the update notification come through a few hours earlier. Thought I had better have the latest version installed before posting &amp;amp; was most surprised to find that the first listed bug fix was the one I just hit. Initially was thrown by the potential need to uninstall everything, including VSPPE, though.</description>
    <pubDate>Mon, 30 Jun 2008 04:02:22 GMT</pubDate>
    <dc:creator>davidspurr</dc:creator>
    <dc:date>2008-06-30T04:02:22Z</dc:date>
    <item>
      <title>"error_during_IPO_compilation"?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-error-during-IPO-compilation-quot/m-p/866684#M8061</link>
      <description>Trying to add calls to a VSL quasi-random number generator to a largish existing code. &lt;BR /&gt;&lt;BR /&gt;Prior to trying within the existing code, I wrote a small test program which generated sample sets of QRN's to assess the effects of various parameters, etc. After a bit of a struggle with the MKL Reference Manual, I got the test program working. To avoid path issues, I copied Modules MKL_VSL_TYPE &amp;amp; MKL_VSL and inserted them directly within my test program code (in a separte .f90 file). That worked fine. Straightforward once I got on top of the Manual.&lt;BR /&gt;&lt;BR /&gt;However, on attempting to add very similar code into my existing program, I am getting Link errors I have never seem before. The QRN related code added to my existing program is basically the same as I used in the test program, except as indicated below. In both programs, I added the "Additional Library Directories" &amp;amp;
"Additional Dependencies" as per the instructions in Section 4 of the
User Guide for configuring the Development Environment (same details
added in both cases). Same versions of MKL(10.0.3.021) and IVF(10.1.019) in both cases. Of course the test program basically only had code related to QRN - the existing program is a largish, 'diverse' program. It does have some OpenMP code in it, but I have set "Process OpenMP Directives" to "Disable" (having for the moment given up trying to get OpenMP to work correctly!).&lt;BR /&gt;&lt;BR /&gt;Test program example:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;FONT size="1" color="#000080"&gt;&lt;FONT color="#006400"&gt;!Every access&lt;/FONT&gt;&lt;BR /&gt;status = vslnewstream( stream, brng, dimen ) &lt;FONT color="#006400"&gt;!Create new stream&lt;/FONT&gt;&lt;BR /&gt;status = vsrnggaussian( method, stream, num, gauss, 1.0, 0.5 )  &lt;FONT color="#006400"&gt;!&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#006400"&gt;1.0 &amp;amp; 0.5 &lt;/FONT&gt;&lt;FONT size="1" color="#006400"&gt;convenient &lt;/FONT&gt;&lt;FONT size="1" color="#006400"&gt;for displaying output &lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#000080"&gt;status = vsldeletestream( stream ) &lt;FONT color="#006400"&gt;!Delete the stream&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;Existing program:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;FONT size="2"&gt;&lt;FONT size="1" color="#000080"&gt;&lt;FONT color="#006400"&gt;!INITIALISE (at start of run)&lt;/FONT&gt;&lt;BR /&gt;status = vslnewstream( stream, brng, dimen ) &lt;FONT color="#006400"&gt;!Create new stream&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;FONT color="#006400"&gt;!Numerous subsequent accesses in a different subroutine&lt;/FONT&gt;&lt;BR /&gt;status = vsrnggaussian( method, stream, num, gauss(:,:,1:m), 0.0, std_dev ) &lt;FONT color="#006400"&gt;!std_dev computed in preceding code&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Possibly significant differences?&lt;BR /&gt;&lt;BR /&gt;1. Do not delete the stream because program terminates shortly after last access. Did delete the stream(s) in the test program because were testing several QRN options sequentually in each test run. Used a new stream for each different QRN option. Existing program only uses one set of QRN parameters for a given analysis.&lt;BR /&gt;&lt;BR /&gt;2. Allocated array Guass&lt;FONT size="2"&gt;&lt;FONT color="#000080"&gt;(:,:,:)&lt;/FONT&gt;&lt;/FONT&gt;: In test program were using the whole array each time. In existing program only fill (a varying size) part of the array each time ("m" can vary from 1 to max size allocated)&lt;BR /&gt;&lt;BR /&gt;The code compiles and links without any problem in the sm
all test program. But I get the following Link errors when I attempt to compile the existing program with the MKL code added (compiled previously without problem):&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT color="#ff0000"&gt;Error 1 error error_during_IPO_compilation: problem during multi-file optimization compilation (code 3) Link &lt;BR /&gt;Error 2 error error_during_IPO_compilation: problem during multi-file optimization compilation (code 3) Link&lt;/FONT&gt; &lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;The error messages are the same for both Debug &amp;amp; Release mode compiles. They mean nothing to me. Any assistance would be appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;FWIW:&lt;BR /&gt;Compiler command line is:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;FONT size="2" color="#0000ff"&gt;/nologo /Zi /Od /module:"Debug/" /object:"Debug/" /traceback /check:bounds /libs:static /threads /dbglibs /c&lt;BR /&gt;&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;Linker command line is:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;FONT size="2" color="#0000ff"&gt;/OUT:"Debug/Faults.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:Program FilesIntelMKL10.0.3.021ia32lib" /MANIFEST /MANIFESTFILE:"I:xxxxxxProgramFaultsdebugfaults.exe.intermediate.manifest" /DEBUG /PDB:"Debug/Faults.pdb" /SUBSYSTEM:CONSOLE /IMPLIB:"I:xxxxxxProgramFaultsdebugfaults.lib" mkl_c.lib libguide.lib&lt;/FONT&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 29 Jun 2008 14:45:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-error-during-IPO-compilation-quot/m-p/866684#M8061</guid>
      <dc:creator>davidspurr</dc:creator>
      <dc:date>2008-06-29T14:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: "error_during_IPO_compilation"?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-error-during-IPO-compilation-quot/m-p/866685#M8062</link>
      <description>OK, I see the latest update to IVF contains a bug fix that may be related to this (&lt;FONT color="#000080"&gt;"Internal error with IPO and MKL library"&lt;/FONT&gt;). &lt;BR /&gt;&lt;BR /&gt;Unfortunately, updating to this new version seems to require a full uninstall of VSPPE if I want to retain ability to develop x64 code :-(.  Will need to think that over - so far I have found little it any improvement in computation speed with x64 code (Vista64 / QX9650 cpu).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;QN1: Is it likely that w_fc_p_10.1.024 will fix the problem I am experiencing?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;QN2: If I update to w_fc_p_10.1.024 without re-installing VSPPE, can I do it later if I decide to produce further x64 exe's? ie. later uninstall VSPPE, then re-install VSPPE &amp;amp; &lt;STRONG&gt;&lt;SPAN&gt;w_fc_p_10.1.024&lt;/SPAN&gt;&lt;/STRONG&gt;?&lt;BR /&gt;</description>
      <pubDate>Sun, 29 Jun 2008 15:30:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-error-during-IPO-compilation-quot/m-p/866685#M8062</guid>
      <dc:creator>davidspurr</dc:creator>
      <dc:date>2008-06-29T15:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: "error_during_IPO_compilation"? (Resolved by compiler updat</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-error-during-IPO-compilation-quot/m-p/866686#M8063</link>
      <description>OK, I took the plunge and installed the latest update (w_fc_p_10.1.024) sans un-installing VSPPE (for now at least - on reflection, it must be possible to uninstall everything later &amp;amp; start from scratch if it turns to custard).&lt;BR /&gt;&lt;BR /&gt;Anyway, great news is that it fixed the "error_during_IPO_compilation" error &amp;amp; I can move forward on upgrading my program to use the QRN stuff.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[OT]&lt;BR /&gt;Amazing coincidence. I got email notification of the new update only ~4 hours before I first encountered the &lt;FONT color="#000080"&gt;IPO / MKL&lt;/FONT&gt; bug in the compiler. It never occurred to me that I might have hit a compiler bug. Had almost finished writing my first post when I recalled seeing the update notification come through a few hours earlier. Thought I had better have the latest version installed before posting &amp;amp; was most surprised to find that the first listed bug fix was the one I just hit. Initially was thrown by the potential need to uninstall everything, including VSPPE, though.</description>
      <pubDate>Mon, 30 Jun 2008 04:02:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-error-during-IPO-compilation-quot/m-p/866686#M8063</guid>
      <dc:creator>davidspurr</dc:creator>
      <dc:date>2008-06-30T04:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: "error_during_IPO_compilation"? (Resolved by compiler updat</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-error-during-IPO-compilation-quot/m-p/866687#M8064</link>
      <description>David, &lt;BR /&gt;&lt;BR /&gt;This comes a bit late for you, but perhaps other readers will benefit. The problem youre seeing is most likely a limitation of our compatibility libraries (or dummy libraries as theyre listed in our documentation). More information on this can be found here:&lt;BR /&gt;&lt;BR /&gt; &lt;A href="http://www.intel.com/support/performancetools/sb/CS-028971.htm"&gt;http://www.intel.com/support/performancetools/sb/CS-028971.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It sounds like the compiler has a fix now to address the limitation, but theres also a workaround. The workaround is to link against the new libraries (introduced in version 10.0) rather than the dummy libraries. So for example, you could make the following conversion:&lt;BR /&gt;&lt;BR /&gt; mkl_c.lib =&amp;gt; mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib&lt;BR /&gt;&lt;BR /&gt;Todd&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Jun 2008 15:59:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-error-during-IPO-compilation-quot/m-p/866687#M8064</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2008-06-30T15:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: "error_during_IPO_compilation"? (Resolved by compiler updat</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-error-during-IPO-compilation-quot/m-p/866688#M8065</link>
      <description>Thanks Todd. &lt;BR /&gt;&lt;BR /&gt;It was fortunate the update come out just when I needed it.&lt;BR /&gt;&lt;BR /&gt;After a while I realised it was still Sunday or pre-dawn Monday in most of the world, so I had to take a chance &amp;amp; push on or lose another day before having any hope of resolution.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Jun 2008 23:33:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/quot-error-during-IPO-compilation-quot/m-p/866688#M8065</guid>
      <dc:creator>davidspurr</dc:creator>
      <dc:date>2008-06-30T23:33:29Z</dc:date>
    </item>
  </channel>
</rss>

