<?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 No traceback with for Intel Fortran code in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/No-traceback-with-for-Intel-Fortran-code/m-p/1199027#M7002</link>
    <description>&lt;P&gt;I am running a large Fortran code compiled with Intel Fortran&amp;nbsp;19.1.1.217 and linked to Intel MPI 2019 update 7. I include the -traceback option in the compilation, along with -static-intel -m64 -O2 -ipo -mt_mpi. The job I run uses only one OpenMP thread and 12 MPI processes. After several days of running, the execution freezes because one MPI process hits a seg fault and the other processes hang. I am trying to figure out where the seg fault is occurring. The traceback is:&lt;/P&gt;
&lt;P&gt;forrtl: severe (174): SIGSEGV, segmentation fault occurred&lt;BR /&gt;Image PC Routine Line Source&lt;BR /&gt;fds_impi_intel_li 00000000085B11CA Unknown Unknown Unknown&lt;BR /&gt;libpthread-2.17.s 00002BA8B8773630 Unknown Unknown Unknown&lt;BR /&gt;fds_impi_intel_li 00000000089D4647 Unknown Unknown Unknown&lt;BR /&gt;fds_impi_intel_li 00000000089C70DE Unknown Unknown Unknown&lt;BR /&gt;fds_impi_intel_li 0000000008689E88 Unknown Unknown Unknown&lt;BR /&gt;fds_impi_intel_li 000000000040A122 Unknown Unknown Unknown&lt;BR /&gt;libc-2.17.so 00002BA8BA5F2555 __libc_start_main Unknown Unknown&lt;BR /&gt;fds_impi_intel_li 000000000040A029 Unknown Unknown Unknown&lt;BR /&gt;srun: error: burn001: task 4: Exited with exit code 174&lt;/P&gt;
&lt;P&gt;What do I need to do to get a line number?&lt;/P&gt;</description>
    <pubDate>Mon, 10 Aug 2020 14:08:25 GMT</pubDate>
    <dc:creator>Kevin_McGrattan</dc:creator>
    <dc:date>2020-08-10T14:08:25Z</dc:date>
    <item>
      <title>No traceback with for Intel Fortran code</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/No-traceback-with-for-Intel-Fortran-code/m-p/1199027#M7002</link>
      <description>&lt;P&gt;I am running a large Fortran code compiled with Intel Fortran&amp;nbsp;19.1.1.217 and linked to Intel MPI 2019 update 7. I include the -traceback option in the compilation, along with -static-intel -m64 -O2 -ipo -mt_mpi. The job I run uses only one OpenMP thread and 12 MPI processes. After several days of running, the execution freezes because one MPI process hits a seg fault and the other processes hang. I am trying to figure out where the seg fault is occurring. The traceback is:&lt;/P&gt;
&lt;P&gt;forrtl: severe (174): SIGSEGV, segmentation fault occurred&lt;BR /&gt;Image PC Routine Line Source&lt;BR /&gt;fds_impi_intel_li 00000000085B11CA Unknown Unknown Unknown&lt;BR /&gt;libpthread-2.17.s 00002BA8B8773630 Unknown Unknown Unknown&lt;BR /&gt;fds_impi_intel_li 00000000089D4647 Unknown Unknown Unknown&lt;BR /&gt;fds_impi_intel_li 00000000089C70DE Unknown Unknown Unknown&lt;BR /&gt;fds_impi_intel_li 0000000008689E88 Unknown Unknown Unknown&lt;BR /&gt;fds_impi_intel_li 000000000040A122 Unknown Unknown Unknown&lt;BR /&gt;libc-2.17.so 00002BA8BA5F2555 __libc_start_main Unknown Unknown&lt;BR /&gt;fds_impi_intel_li 000000000040A029 Unknown Unknown Unknown&lt;BR /&gt;srun: error: burn001: task 4: Exited with exit code 174&lt;/P&gt;
&lt;P&gt;What do I need to do to get a line number?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 14:08:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/No-traceback-with-for-Intel-Fortran-code/m-p/1199027#M7002</guid>
      <dc:creator>Kevin_McGrattan</dc:creator>
      <dc:date>2020-08-10T14:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: No traceback with for Intel Fortran code</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/No-traceback-with-for-Intel-Fortran-code/m-p/1199215#M7003</link>
      <description>&lt;P&gt;for any Fortran code traceback you need -g along with -traceback&lt;/P&gt;
&lt;P&gt;and yes you can use -g -O2 together with -traceback&lt;/P&gt;
&lt;P&gt;you need to link with ifort or mpiifort as well with -g -traceback.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That should get you the fortran portion of the stacks USUALLY.&amp;nbsp; There are cases where the stack gets corrupted and in those cases you won't get line numbers on the traceback.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 23:50:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/No-traceback-with-for-Intel-Fortran-code/m-p/1199215#M7003</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2020-08-10T23:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: No traceback with for Intel Fortran code</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/No-traceback-with-for-Intel-Fortran-code/m-p/1199395#M7004</link>
      <description>&lt;P&gt;Thanks for the info. But why isn't the -g option mentioned in the description of -traceback in the User's Guide:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/fortran-compiler-developer-guide-and-reference/top/compiler-reference/compiler-options/compiler-option-details/compiler-diagnostic-options/traceback.html#traceback" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/fortran-compiler-developer-guide-and-reference/top/compiler-reference/compiler-options/compiler-option-details/compiler-diagnostic-options/traceback.html#traceback&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I'll try it on my case in any event.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 13:10:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/No-traceback-with-for-Intel-Fortran-code/m-p/1199395#M7004</guid>
      <dc:creator>Kevin_McGrattan</dc:creator>
      <dc:date>2020-08-11T13:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: No traceback with for Intel Fortran code</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/No-traceback-with-for-Intel-Fortran-code/m-p/1200075#M7009</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Well, traceback option is to show a traceback information in case of crash. It was printed in your case.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The additional debug information (symbols and line numbers) is generated by the compiler with -g. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note that you need to explicitly set the optimization level with -g (-g -O2), otherwise the optimization is disabled with -g.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 15:30:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/No-traceback-with-for-Intel-Fortran-code/m-p/1200075#M7009</guid>
      <dc:creator>Igor_V_Intel</dc:creator>
      <dc:date>2020-08-13T15:30:59Z</dc:date>
    </item>
  </channel>
</rss>

