<?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: Problem using OpenMP and IMSL. Need your help in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-using-OpenMP-and-IMSL-Need-your-help/m-p/855971#M2087</link>
    <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
&lt;P&gt;Unless your IMSL functions are documented thread safe, it's likely they use local static data, so they can't work in a threaded region. Intel thread checker is supposed to be capable of confirming such problems. You may find more expertise on the subject on the vni forum. If you make the IMSL calls in a critical region, it should be OK, but of course it may defeat your goal of gaining performance. Otherwise, you may find it worth while to replace IMSL with your own code.&lt;/P&gt;
&lt;P&gt;If the IMSL function uses working arrays which you supply, you would want to make those local to the thread.&lt;/P&gt;</description>
    <pubDate>Sat, 01 Nov 2008 03:28:00 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2008-11-01T03:28:00Z</dc:date>
    <item>
      <title>Problem using OpenMP and IMSL. Need your help</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-using-OpenMP-and-IMSL-Need-your-help/m-p/855970#M2086</link>
      <description>&lt;P&gt;I use Fortran v10.1 in conjuction with VS2008. To be more specific I use a specific function fromdll libraries of IMSL v6.0 which is called IVPAG in order to solve a largesystem of approximately 1200ordinary differential equations. As far as the following project propery: &lt;STRONG&gt;Fortran&amp;gt;Language&amp;gt;Process OpenMP Directives&amp;gt;Disabled&lt;/STRONG&gt; is used, the Fortran code is executed correctly without any problem. As soon as I change this property to: &lt;STRONG&gt;Fortran&amp;gt;Language&amp;gt;Process OpenMP Directives&amp;gt;Generate Parallel Code (/Qopenmp), &lt;/STRONG&gt;an error message from IVPAG appearsat the beginning of theexecution whichshowsunusual parameters of this function causing the program to crash. It must be pointed out that there are no error messages or warningsduring debugging and that the project property: &lt;STRONG&gt;Local Variable Storage &lt;/STRONG&gt;is set to &lt;STRONG&gt;Default Local Storage&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Do you have a solution to this problem in order to be able to use the IVPAG function from the IMSL v6.0 libraries with OpenMP and parallel programming?&lt;/P&gt;
&lt;P&gt;The command line is the following one: &lt;STRONG&gt;/nologo /Od /Qopenmp /names:uppercase /module:"Debug/" /object:"Debug/" /traceback /check:bounds /c&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2008 14:57:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-using-OpenMP-and-IMSL-Need-your-help/m-p/855970#M2086</guid>
      <dc:creator>apostok</dc:creator>
      <dc:date>2008-10-31T14:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using OpenMP and IMSL. Need your help</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-using-OpenMP-and-IMSL-Need-your-help/m-p/855971#M2087</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
&lt;P&gt;Unless your IMSL functions are documented thread safe, it's likely they use local static data, so they can't work in a threaded region. Intel thread checker is supposed to be capable of confirming such problems. You may find more expertise on the subject on the vni forum. If you make the IMSL calls in a critical region, it should be OK, but of course it may defeat your goal of gaining performance. Otherwise, you may find it worth while to replace IMSL with your own code.&lt;/P&gt;
&lt;P&gt;If the IMSL function uses working arrays which you supply, you would want to make those local to the thread.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Nov 2008 03:28:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-using-OpenMP-and-IMSL-Need-your-help/m-p/855971#M2087</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-11-01T03:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using OpenMP and IMSL. Need your help</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-using-OpenMP-and-IMSL-Need-your-help/m-p/855972#M2088</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;PRE&gt;I have the exact same problem and haven't been able to find a solution yet. It seems that for some reason the IVPAG parameters take some very high values. And let me say that it is not the IMSL subroutine (IVPAG) that i want to parallelize but the &lt;STRONG&gt;rest&lt;/STRONG&gt; of the code.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PLus, the array of parameters that I supply cannot be local because it is required in the IVPAG calling statement:&lt;BR /&gt;&lt;BR /&gt;CALL IVPAG(IDO,N,FCN,FCNJ,A,T1,T2,TOL,&lt;STRONG&gt;PARAM&lt;/STRONG&gt;,Y)&lt;/PRE&gt;</description>
      <pubDate>Sat, 01 Nov 2008 08:56:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Problem-using-OpenMP-and-IMSL-Need-your-help/m-p/855972#M2088</guid>
      <dc:creator>albert2</dc:creator>
      <dc:date>2008-11-01T08:56:21Z</dc:date>
    </item>
  </channel>
</rss>

