<?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: Show Progress in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Show-Progress/m-p/742613#M1679</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/336209"&gt;Steve Lionel (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; As Ron says, there is no standard way to do it. But you can do some tricks with extensions. For example:&lt;BR /&gt;&lt;BR /&gt;
&lt;/EM&gt;&lt;PRE&gt;&lt;EM&gt;[plain]open (unit=6,carriagecontrol='fortran')
do i=1,10
write (6,'($,A,A,i2)') '+',char(13),i
end do[/plain]&lt;/EM&gt;&lt;/PRE&gt;
&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;Thank you. You're the best!&lt;/DIV&gt;</description>
    <pubDate>Wed, 13 Jan 2010 23:10:16 GMT</pubDate>
    <dc:creator>brunocalado</dc:creator>
    <dc:date>2010-01-13T23:10:16Z</dc:date>
    <item>
      <title>Show Progress</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Show-Progress/m-p/742610#M1676</link>
      <description>Hi,
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I'm trying to show the progress of my program. It looks like:&lt;/DIV&gt;
&lt;DIV&gt;0.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;
&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;
1.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;
&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;
2.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;
&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;
3.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;
&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;
4.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;...&lt;/DIV&gt;
&lt;DIV&gt;
&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;
99.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;
&lt;META content="text/html; charset=utf-8" http-equiv="content-type" /&gt;
100.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;My problem is: I don't know a nice way to return the cursor back and rewrite the last line. I want to know if is there a way to return to last printed line, clear it and rewrite again.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I know how to do it using system("clear"). But it erases other messages...&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thank you&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Jan 2010 00:37:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Show-Progress/m-p/742610#M1676</guid>
      <dc:creator>brunocalado</dc:creator>
      <dc:date>2010-01-04T00:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Show Progress</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Show-Progress/m-p/742611#M1677</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/406810"&gt;brunocalado&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;Hi,
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I'm trying to show the progress of my program. It looks like:&lt;/DIV&gt;
&lt;DIV&gt;0.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;1.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;2.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;3.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;4.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;...&lt;/DIV&gt;
&lt;DIV&gt;99.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;100.0/100 %&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;My problem is: I don't know a nice way to return the cursor back and rewrite the last line. I want to know if is there a way to return to last printed line, clear it and rewrite again.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I know how to do it using system("clear"). But it erases other messages...&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thank you&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;There is no standard Fortran method for doing what you want to do - to update a terminal output on the same line.&lt;BR /&gt;&lt;BR /&gt;In the old days, we had control codes for VT100/VT220 terminals that would allow such a thing - but this was not standard Fortran. Rather, you send the control codes/sequences that were unique to those terminals to explicitly control the output location. I don't know of a way to do that for terminal windows - and then terminal windows are not consistent across different OSes.&lt;BR /&gt;&lt;BR /&gt;ron&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jan 2010 19:50:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Show-Progress/m-p/742611#M1677</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2010-01-04T19:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Show Progress</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Show-Progress/m-p/742612#M1678</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
As Ron says, there is no standard way to do it. But you can do some tricks with extensions. For example:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;[plain]open (unit=6,carriagecontrol='fortran')
do i=1,10
write (6,'($,A,A,i2)') '+',char(13),i
end do[/plain]&lt;/PRE&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jan 2010 20:00:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Show-Progress/m-p/742612#M1678</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-01-04T20:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Show Progress</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Show-Progress/m-p/742613#M1679</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/336209"&gt;Steve Lionel (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; As Ron says, there is no standard way to do it. But you can do some tricks with extensions. For example:&lt;BR /&gt;&lt;BR /&gt;
&lt;/EM&gt;&lt;PRE&gt;&lt;EM&gt;[plain]open (unit=6,carriagecontrol='fortran')
do i=1,10
write (6,'($,A,A,i2)') '+',char(13),i
end do[/plain]&lt;/EM&gt;&lt;/PRE&gt;
&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;Thank you. You're the best!&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Jan 2010 23:10:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Show-Progress/m-p/742613#M1679</guid>
      <dc:creator>brunocalado</dc:creator>
      <dc:date>2010-01-13T23:10:16Z</dc:date>
    </item>
  </channel>
</rss>

