<?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: Latest IFX debugger problem (TOKENIZE example) in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687528#M175718</link>
    <description>&lt;P&gt;The thing I noticed was the less than smiley face next to the debugger.&amp;nbsp; We are not interested in the console output.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can get the debugger working as long as the tokens are single atoms of data.&amp;nbsp; So it it clearly a known bug, but at least we know it works in part.&amp;nbsp; I thought it might have been in the Fortran code, but Andrew showed I was wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is intel's problem, we can but wait for the debugger to get better.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IFX debugger is buggy, but one is always able to use the console or the debug screen - which is really useful for stuff like this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why the heck did they just not call it Split and not tokenize, Fortran is ?????????????? sometimes.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 May 2025 17:12:48 GMT</pubDate>
    <dc:creator>JohnNichols</dc:creator>
    <dc:date>2025-05-05T17:12:48Z</dc:date>
    <item>
      <title>Latest IFX debugger problem (TOKENIZE example)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1640718#M174094</link>
      <description>&lt;P&gt;Having loaded the latest release&amp;nbsp; from 31/10/2024 (2025.0.) I though I would try the TOKENIZE intrinsic having seen another&amp;nbsp; user post a problem on this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrew_4619_0-1730492965237.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/60058i82627D552BCAB294/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="andrew_4619_0-1730492965237.png" alt="andrew_4619_0-1730492965237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see we correctly write a bunch of herbs to the console but the debugger watch and hover show a whole load of parsley. The Scarborough Fair ballad with Parsley, Parley, Parsley and Parsley doesn't&amp;nbsp; have the same ring to it.&lt;/P&gt;&lt;P&gt;Thought I would mention this as IFX/Debugger issues are my main outstanding IFX issues. I know some have been fixed for this release.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="fortran"&gt;program test
    implicit none(type, external)
    external :: tokentest!, dataproc
    call tokentest()
    pause
    !call dataproc()
    !pause
end program test
subroutine tokentest()
    implicit none(type, external)
    CHARACTER(LEN=:),ALLOCATABLE,DIMENSION(:) :: tokens, separators
    CHARACTER(LEN=3):: delims = ',&amp;amp;'
    CHARACTER(LEN=:),ALLOCATABLE :: herbs
    INTEGER,ALLOCATABLE,DIMENSION(:)  :: begins, ends
    herbs  = 'parsley,sage,rosemary,&amp;amp;thyme'
    CALL TOKENIZE (herbs, delims, tokens, separators)
    write(*,'(A)') tokens
    write(*,'(A)') separators
    CALL TOKENIZE (herbs, delims, begins, ends)
end subroutine tokentest&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 20:42:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1640718#M174094</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2024-11-01T20:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Latest IFX debugger problem (TOKENIZE example)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1645592#M174353</link>
      <description>&lt;P&gt;bump&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 15:17:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1645592#M174353</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2024-11-25T15:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Latest IFX debugger problem (TOKENIZE example)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687316#M175708</link>
      <description>&lt;P&gt;Still wrong in IFX 2025.1.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrew_4619_0-1746374269197.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/65400i37F2DD01A3CE2B8A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="andrew_4619_0-1746374269197.png" alt="andrew_4619_0-1746374269197.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2025 15:58:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687316#M175708</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2025-05-04T15:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Latest IFX debugger problem (TOKENIZE example)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687319#M175709</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-05-04 111220.png" style="width: 969px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/65402i9455A996C8F54466/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2025-05-04 111220.png" alt="Screenshot 2025-05-04 111220.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think there may be an incorrect definition for tokens, as your model picks up single tokens, but not doubles. So ch in position 1 stuffs the code, but as last input, we just get C.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2025 16:17:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687319#M175709</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2025-05-04T16:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Latest IFX debugger problem (TOKENIZE example)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687321#M175710</link>
      <description>&lt;P&gt;The code was copied directly from IFORT manual and it has perhaps an error.&amp;nbsp; Sorry maybe Steve knows, but at the moment the code thinks tokens has 1 character only.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will not compile in IFORT.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2025 16:21:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687321#M175710</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2025-05-04T16:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Latest IFX debugger problem (TOKENIZE example)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687323#M175711</link>
      <description>&lt;P&gt;I should add that the code I showed runs correctly it is only the debugger output that is wrong.&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2025 17:29:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687323#M175711</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2025-05-04T17:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Latest IFX debugger problem (TOKENIZE example)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687494#M175712</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/89041"&gt;@JohnNichols&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your code is not similar to&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/66560"&gt;@andrew_4619&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should have herbs = '1,2,3,,CH'&lt;/P&gt;&lt;P&gt;Note the ",,"&lt;/P&gt;&lt;P&gt;Also&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;CHARACTER&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;LEN&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;ALLOCATABLE&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;DIMENSION&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt; &lt;SPAN class=""&gt;::&lt;/SPAN&gt;&lt;SPAN&gt; tokens&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; separators&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;May be generating a LEN=len_trim(first token)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to test, use herbs = 'CH,1,2,3'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;EDIT - However, the above is a false assumption, as Andrew's output shows LEN of "rosemary" which is 8 as opposed to that of "parsley" which is 7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jim Dempsey&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 13:11:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687494#M175712</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2025-05-05T13:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Latest IFX debugger problem (TOKENIZE example)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687495#M175713</link>
      <description>&lt;P&gt;It's odd that the debugger is wrong.&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 13:08:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687495#M175713</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2025-05-05T13:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Latest IFX debugger problem (TOKENIZE example)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687528#M175718</link>
      <description>&lt;P&gt;The thing I noticed was the less than smiley face next to the debugger.&amp;nbsp; We are not interested in the console output.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can get the debugger working as long as the tokens are single atoms of data.&amp;nbsp; So it it clearly a known bug, but at least we know it works in part.&amp;nbsp; I thought it might have been in the Fortran code, but Andrew showed I was wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is intel's problem, we can but wait for the debugger to get better.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IFX debugger is buggy, but one is always able to use the console or the debug screen - which is really useful for stuff like this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why the heck did they just not call it Split and not tokenize, Fortran is ?????????????? sometimes.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 17:12:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687528#M175718</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2025-05-05T17:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Latest IFX debugger problem (TOKENIZE example)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687529#M175719</link>
      <description>&lt;P&gt;Andrew's code will not compile in IFORT.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 17:13:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687529#M175719</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2025-05-05T17:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Latest IFX debugger problem (TOKENIZE example)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687587#M175726</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;tokenize&lt;SPAN&gt;&amp;nbsp;function was added in&amp;nbsp;&lt;/SPAN&gt;Fortran 2023&lt;SPAN&gt;.&amp;nbsp;IFORT never supported it.&amp;nbsp; There has been a much used Fortran utility called split since the dawn of time. That takes a Fortran file and explodes each subroutine or function into its own individual source file.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I raised this topic in the hope that this would get evaluated and maybe added to the list of debugger issues. Maybe it is just another form of a known issue that is in the pipeline. Who knows?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 21:38:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687587#M175726</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2025-05-05T21:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Latest IFX debugger problem (TOKENIZE example)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687609#M175728</link>
      <description>&lt;P&gt;In F2023 split and tokenize are two different intrinsic subroutines. You can get the effect of tokenize by calling split as described in the F2023 standard 16.1.196 or "Modern Fortran Explained" 2023 edition 23.3.1.&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 23:03:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687609#M175728</guid>
      <dc:creator>JFH</dc:creator>
      <dc:date>2025-05-05T23:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Latest IFX debugger problem (TOKENIZE example)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687612#M175730</link>
      <description>&lt;P&gt;It is simple in C#&lt;/P&gt;&lt;P&gt;string line = "a lot of rubbish";&lt;/P&gt;&lt;P&gt;string[] words = line.Split(etc..)&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be nice if Fortran had some of these features.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 23:12:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Latest-IFX-debugger-problem-TOKENIZE-example/m-p/1687612#M175730</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2025-05-05T23:12:34Z</dc:date>
    </item>
  </channel>
</rss>

