<?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: Code segfault with ifort 11.0 in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Code-segfault-with-ifort-11-0/m-p/757783#M13270</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;Quoting - &lt;A href="https://community.intel.com/en-us/profile/160574"&gt;Ronald W. Green (Intel)&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; Ron,&lt;BR /&gt;&lt;BR /&gt;Thought about this problem all weekend and on sunday I looked into the intel fortran compiler for linux knowledge base forum for answers and found it. It seems to be a stack exhaustion issue that can be overcome by the&lt;BR /&gt;-heap-arrays compiler option. The code runs almost 2X faster with ifort 11.0 versus the gfortran compiler with fedora 11. I did download the Stack+usage.pdf file suggested in the forum.&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;Dennis&lt;BR /&gt; &lt;BR /&gt;I have a few comments and suggestions.&lt;BR /&gt;&lt;BR /&gt;First, make sure you have read &lt;A href="http://software.intel.com/en-us/articles/determining-root-cause-of-sigsegv-or-sigbus-errors/"&gt;http://software.intel.com/en-us/articles/determining-root-cause-of-sigsegv-or-sigbus-errors/&lt;/A&gt; and tried the ulimit and -heap-array techniques.&lt;BR /&gt;&lt;BR /&gt;Next, the gnuplotfortran library - you must compile the library with Intel Fortran. If you simply downloaded a binary .lib or .so file, was it build for Intel Fortran? And if so, it must be built with the 11.0 version. You cannot use a library built by gfortran linked into an Intel Fortran application.&lt;BR /&gt;&lt;BR /&gt;I'm not familiar with gnuplotfortran and it's binary files. What format is it expecting for the binary file as far as record markers, or is it expecting a file without file record markers? And what, if anything, are you doing to set the file format in Intel Fortran?&lt;BR /&gt;&lt;BR /&gt;Finally, you can attach files to posts: &lt;A href="http://software.intel.com/en-us/forums/showannouncement.php?a=78"&gt;http://software.intel.com/en-us/forums/showannouncement.php?a=78&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;ron&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
    <pubDate>Tue, 11 Aug 2009 20:59:19 GMT</pubDate>
    <dc:creator>foleydncifcrf_gov</dc:creator>
    <dc:date>2009-08-11T20:59:19Z</dc:date>
    <item>
      <title>Code segfault with ifort 11.0</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Code-segfault-with-ifort-11-0/m-p/757781#M13268</link>
      <description>I have written a fortran90 code that uses the gnuplotfortran API by Madhusudan Singh. I am able to compile and execute the code with gfortran using a variety of text dataset for 2D and 3D plotting. With the intel compiler, simple (ie small) test cases work but other fail. The large text file feram.dat causes a segfault after the binary database is build and the user selects a set of plot variables. I use the command &lt;BR /&gt;./pltrd.intel -i feram.dat -b feram.bin -s time_step -e pi_nose&lt;BR /&gt;./pltrd.gfortran -i feram.dat -b feram.bin -s time_step -e pi_nose works!&lt;BR /&gt;&lt;BR /&gt;to generate the database. I have created a compressed tar file that contains all the necessary source and make scripts. This code should be tested on any linux box with gnuplot installed. How can I get the test case to intel compiler support?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Dennis&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Aug 2009 19:39:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Code-segfault-with-ifort-11-0/m-p/757781#M13268</guid>
      <dc:creator>foleydncifcrf_gov</dc:creator>
      <dc:date>2009-08-07T19:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Code segfault with ifort 11.0</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Code-segfault-with-ifort-11-0/m-p/757782#M13269</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;I have a few comments and suggestions.&lt;BR /&gt;&lt;BR /&gt;First, make sure you have read &lt;A href="http://software.intel.com/en-us/articles/determining-root-cause-of-sigsegv-or-sigbus-errors/"&gt;http://software.intel.com/en-us/articles/determining-root-cause-of-sigsegv-or-sigbus-errors/&lt;/A&gt; and tried the ulimit and -heap-array techniques.&lt;BR /&gt;&lt;BR /&gt;Next, the gnuplotfortran library - you must compile the library with Intel Fortran. If you simply downloaded a binary .lib or .so file, was it build for Intel Fortran? And if so, it must be built with the 11.0 version. You cannot use a library built by gfortran linked into an Intel Fortran application.&lt;BR /&gt;&lt;BR /&gt;I'm not familiar with gnuplotfortran and it's binary files. What format is it expecting for the binary file as far as record markers, or is it expecting a file without file record markers? And what, if anything, are you doing to set the file format in Intel Fortran?&lt;BR /&gt;&lt;BR /&gt;Finally, you can attach files to posts: &lt;A href="http://software.intel.com/en-us/forums/showannouncement.php?a=78"&gt;http://software.intel.com/en-us/forums/showannouncement.php?a=78&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;ron&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Aug 2009 19:54:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Code-segfault-with-ifort-11-0/m-p/757782#M13269</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2009-08-07T19:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Code segfault with ifort 11.0</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Code-segfault-with-ifort-11-0/m-p/757783#M13270</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;Quoting - &lt;A href="https://community.intel.com/en-us/profile/160574"&gt;Ronald W. Green (Intel)&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; Ron,&lt;BR /&gt;&lt;BR /&gt;Thought about this problem all weekend and on sunday I looked into the intel fortran compiler for linux knowledge base forum for answers and found it. It seems to be a stack exhaustion issue that can be overcome by the&lt;BR /&gt;-heap-arrays compiler option. The code runs almost 2X faster with ifort 11.0 versus the gfortran compiler with fedora 11. I did download the Stack+usage.pdf file suggested in the forum.&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;Dennis&lt;BR /&gt; &lt;BR /&gt;I have a few comments and suggestions.&lt;BR /&gt;&lt;BR /&gt;First, make sure you have read &lt;A href="http://software.intel.com/en-us/articles/determining-root-cause-of-sigsegv-or-sigbus-errors/"&gt;http://software.intel.com/en-us/articles/determining-root-cause-of-sigsegv-or-sigbus-errors/&lt;/A&gt; and tried the ulimit and -heap-array techniques.&lt;BR /&gt;&lt;BR /&gt;Next, the gnuplotfortran library - you must compile the library with Intel Fortran. If you simply downloaded a binary .lib or .so file, was it build for Intel Fortran? And if so, it must be built with the 11.0 version. You cannot use a library built by gfortran linked into an Intel Fortran application.&lt;BR /&gt;&lt;BR /&gt;I'm not familiar with gnuplotfortran and it's binary files. What format is it expecting for the binary file as far as record markers, or is it expecting a file without file record markers? And what, if anything, are you doing to set the file format in Intel Fortran?&lt;BR /&gt;&lt;BR /&gt;Finally, you can attach files to posts: &lt;A href="http://software.intel.com/en-us/forums/showannouncement.php?a=78"&gt;http://software.intel.com/en-us/forums/showannouncement.php?a=78&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;ron&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Aug 2009 20:59:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Code-segfault-with-ifort-11-0/m-p/757783#M13270</guid>
      <dc:creator>foleydncifcrf_gov</dc:creator>
      <dc:date>2009-08-11T20:59:19Z</dc:date>
    </item>
  </channel>
</rss>

