<?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: IFX did not pass &amp;quot;man or boy&amp;quot; test in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627383#M173495</link>
    <description>&lt;P&gt;Looking at the "List of Runtime Error Messages" in Intel's documentation, I've found:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;severe (174): SIGSEGV, segmentation fault occurred&lt;/PRE&gt;&lt;P&gt;This message indicates that the program attempted an invalid memory reference. Check the program for possible errors.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it seems that this is not related to stack size overflow, because in this case the error message would be:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;severe (174): SIGSEGV, possible program stack overflow occurred&lt;/PRE&gt;&lt;P&gt;The following explanatory text also appears:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Program requirements exceed current stacksize resource limit.&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Fri, 30 Aug 2024 12:55:46 GMT</pubDate>
    <dc:creator>rudi-gaelzer</dc:creator>
    <dc:date>2024-08-30T12:55:46Z</dc:date>
    <item>
      <title>IFX did not pass "man or boy" test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627091#M173474</link>
      <description>&lt;P&gt;Version:&amp;nbsp;&lt;SPAN&gt;Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2024.2.1 Build 20240711&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have just verified this: ifx did not pass the "man or boy" test:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://rosettacode.org/wiki/Man_or_boy_test#Fortran" target="_blank"&gt;https://rosettacode.org/wiki/Man_or_boy_test#Fortran&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Compiling and running&amp;nbsp; the Fortran code contained in the URL above with ifx gives the error:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;forrtl: severe (174): SIGSEGV, segmentation fault occurred&lt;BR /&gt;Image &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PC &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Routine &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Line &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Source &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;libc.so.6 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;00007FD6A076BD00 &amp;nbsp;Unknown &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Unknown &amp;nbsp;Unknown&lt;BR /&gt;Unknown &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;00007FFDC2BD2480 &amp;nbsp;Unknown &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Unknown &amp;nbsp;Unknown&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Compiling with ifort or gfortran runs successfully and gives the correct answer (-67).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 12:06:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627091#M173474</guid>
      <dc:creator>rudi-gaelzer</dc:creator>
      <dc:date>2024-08-29T12:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: IFX did not pass "man or boy" test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627119#M173475</link>
      <description>&lt;P&gt;This may be a stack size issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you investigate this (e.g k=8)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 14:01:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627119#M173475</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2024-08-29T14:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: IFX did not pass "man or boy" test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627122#M173476</link>
      <description>&lt;P&gt;Changing the value of k in the main program, I verified that ifx runs and generates the same answer as with ifort and gfortran up to k = 3.&amp;nbsp; For k &amp;gt;= 4 I get the error message.&lt;/P&gt;&lt;P&gt;If it is a stack size problem, is there a compilation option to change?&amp;nbsp; I have the latest OneAPI installed in linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 14:21:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627122#M173476</guid>
      <dc:creator>rudi-gaelzer</dc:creator>
      <dc:date>2024-08-29T14:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: IFX did not pass "man or boy" test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627176#M173481</link>
      <description>&lt;P&gt;My Linux system is not up so I cannot test.&lt;/P&gt;&lt;P&gt;There is a &lt;A href="https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2024-2/wl-link.html" target="_self"&gt;compiler option&lt;/A&gt; Wl,option1[,option2,...] (lower case L)&lt;/P&gt;&lt;P&gt;That passes options onto the linker.&lt;/P&gt;&lt;P&gt;Try adding: , -Wl, --stack,&amp;lt;sizeYouWantHere&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check the linker documentation for proper syntax and for how you represent the size argument.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 17:43:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627176#M173481</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2024-08-29T17:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: IFX did not pass "man or boy" test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627195#M173483</link>
      <description>&lt;P&gt;The man or boy test program runs fine when compiled with ifx 2024.2.1 on Linux. The program prints the answer -67.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 18:47:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627195#M173483</guid>
      <dc:creator>S-Poulsen</dc:creator>
      <dc:date>2024-08-29T18:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: IFX did not pass "man or boy" test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627380#M173493</link>
      <description>&lt;P&gt;Then this is strange.&amp;nbsp; Did you use the standard options for compilation?&lt;/P&gt;&lt;P&gt;My system is:&lt;/P&gt;&lt;P&gt;Fedora Linux 40&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;~&amp;gt;ifx -V&lt;BR /&gt;Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2024.2.1 Build 20240711&lt;BR /&gt;Copyright (C) 1985-2024 Intel Corporation. All rights reserved.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The OneAPI suite was installed via yum/rpm using Intel repo.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Compiling and running:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;ifx test_man_or_boy.f90&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;./a.out &amp;nbsp;&lt;BR /&gt;forrtl: severe (174): SIGSEGV, segmentation fault occurred&lt;BR /&gt;Image &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PC &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Routine &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Line &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Source &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;libc.so.6 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;00007FF26F64FD00 &amp;nbsp;Unknown &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Unknown &amp;nbsp;Unknown&lt;BR /&gt;Unknown &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;00007FFDAF38E300 &amp;nbsp;Unknown &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Unknown &amp;nbsp;Unknown&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I get the same error in two different boxes with identical configurations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 12:36:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627380#M173493</guid>
      <dc:creator>rudi-gaelzer</dc:creator>
      <dc:date>2024-08-30T12:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: IFX did not pass "man or boy" test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627383#M173495</link>
      <description>&lt;P&gt;Looking at the "List of Runtime Error Messages" in Intel's documentation, I've found:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;severe (174): SIGSEGV, segmentation fault occurred&lt;/PRE&gt;&lt;P&gt;This message indicates that the program attempted an invalid memory reference. Check the program for possible errors.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it seems that this is not related to stack size overflow, because in this case the error message would be:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;severe (174): SIGSEGV, possible program stack overflow occurred&lt;/PRE&gt;&lt;P&gt;The following explanatory text also appears:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Program requirements exceed current stacksize resource limit.&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 30 Aug 2024 12:55:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627383#M173495</guid>
      <dc:creator>rudi-gaelzer</dc:creator>
      <dc:date>2024-08-30T12:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: IFX did not pass "man or boy" test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627386#M173496</link>
      <description>&lt;P&gt;Please check your stack size limit:&lt;BR /&gt;ulimit -s&amp;nbsp;&lt;BR /&gt;and probably increase it.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 13:02:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627386#M173496</guid>
      <dc:creator>TobiasK</dc:creator>
      <dc:date>2024-08-30T13:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: IFX did not pass "man or boy" test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627394#M173497</link>
      <description>&lt;P&gt;Ok, I am on Ubuntu 22.04, but compiled without any optional compiler options, exactly as you did above. My stack size is 8192 kbytes, according to the ulimit -s command (referred to by TobiasK below).&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 13:17:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627394#M173497</guid>
      <dc:creator>S-Poulsen</dc:creator>
      <dc:date>2024-08-30T13:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: IFX did not pass "man or boy" test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627447#M173504</link>
      <description>&lt;P&gt;The stack size on my systems is the same (8192 k) and it's the same for gfortran and ifort.&amp;nbsp; Compounding that with the meaning of the error message (see below), I don't think this is the issue.&lt;/P&gt;&lt;P&gt;Anyway, the nesting depth of the program does not seem to me large enough to provoke a stack overflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 16:14:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627447#M173504</guid>
      <dc:creator>rudi-gaelzer</dc:creator>
      <dc:date>2024-08-30T16:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: IFX did not pass "man or boy" test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627462#M173508</link>
      <description>&lt;P&gt;Intel Fortran uses stack for temporaries.&amp;nbsp; Other compilers use heap.&amp;nbsp; We have the option&lt;/P&gt;
&lt;P&gt;-heap-arrays&lt;/P&gt;
&lt;P&gt;to allocated temporaries in heap instead of stack.&amp;nbsp; Try that.&amp;nbsp; that ulimit -s is another good option, but maybe hard to remember.&amp;nbsp; Perhaps put that in your .bashrc&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 17:12:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627462#M173508</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2024-08-30T17:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: IFX did not pass "man or boy" test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627497#M173513</link>
      <description>&lt;P&gt;Also keep in mind that ulimit -s does not set the stack size to "unlimited" - rather it uses a maximum value established when the kernel was built.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 21:55:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-did-not-pass-quot-man-or-boy-quot-test/m-p/1627497#M173513</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2024-08-30T21:55:01Z</dc:date>
    </item>
  </channel>
</rss>

