<?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 openmp option and segmentation fault in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/openmp-option-and-segmentation-fault/m-p/751199#M7570</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;I've been working on the openmp version of my fortran code for a while now.  While the code runs correctly under many circumstances, it gives a segmentation fault when large arrays are allocated outside the parallel region.  Incidentally, I had exactly the same version of the code without any openmp commands.  When I compiled this code with the -openmp option, it gave the same segmentation fault at exactly the same  place.  Without the -openmp option, it runs correctly.&lt;/P&gt;
&lt;P&gt;I am using intel fortran compiler 10.1 together with intel mkl 10.0.011 on a 64-bit machine.  The stacksize is unlimited.  I had a problem with the KMP_STACKSIZE for a while but now that is also sufficiently large.  I can't quite figure out what the problem might be.  Any help/suggestions would be appreciated.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;ilker&lt;/P&gt;
&lt;P&gt;ps: I also tried the latest compiler version (11.0) and the MKL that comes with it. I get a segmentation fault even earlier. Again, only with the openmp option, and even when I run on a single thread.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Nov 2008 21:55:30 GMT</pubDate>
    <dc:creator>Ilker_Temizer</dc:creator>
    <dc:date>2008-11-17T21:55:30Z</dc:date>
    <item>
      <title>openmp option and segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/openmp-option-and-segmentation-fault/m-p/751199#M7570</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;I've been working on the openmp version of my fortran code for a while now.  While the code runs correctly under many circumstances, it gives a segmentation fault when large arrays are allocated outside the parallel region.  Incidentally, I had exactly the same version of the code without any openmp commands.  When I compiled this code with the -openmp option, it gave the same segmentation fault at exactly the same  place.  Without the -openmp option, it runs correctly.&lt;/P&gt;
&lt;P&gt;I am using intel fortran compiler 10.1 together with intel mkl 10.0.011 on a 64-bit machine.  The stacksize is unlimited.  I had a problem with the KMP_STACKSIZE for a while but now that is also sufficiently large.  I can't quite figure out what the problem might be.  Any help/suggestions would be appreciated.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;ilker&lt;/P&gt;
&lt;P&gt;ps: I also tried the latest compiler version (11.0) and the MKL that comes with it. I get a segmentation fault even earlier. Again, only with the openmp option, and even when I run on a single thread.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2008 21:55:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/openmp-option-and-segmentation-fault/m-p/751199#M7570</guid>
      <dc:creator>Ilker_Temizer</dc:creator>
      <dc:date>2008-11-17T21:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: openmp option and segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/openmp-option-and-segmentation-fault/m-p/751200#M7571</link>
      <description>&lt;DIV style="margin:0px;"&gt;I am answering to my post because I found the problem. Actually I had a non-critical bug in the code. Somehow, it turned out openmp was more sensitive to this bug. I thought it might be a good idea to record the issue. Thanks. -ilker&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Nov 2008 15:52:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/openmp-option-and-segmentation-fault/m-p/751200#M7571</guid>
      <dc:creator>Ilker_Temizer</dc:creator>
      <dc:date>2008-11-19T15:52:21Z</dc:date>
    </item>
  </channel>
</rss>

