<?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: Print error in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530783#M168484</link>
    <description>&lt;P&gt;He didn't show the WRITE for that line. If it's formatted, then the margin doesn't apply.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2023 17:01:01 GMT</pubDate>
    <dc:creator>Steve_Lionel</dc:creator>
    <dc:date>2023-10-05T17:01:01Z</dc:date>
    <item>
      <title>Print error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530723#M168472</link>
      <description>&lt;LI-CODE lang="fortran"&gt;!     ***** Printing results *****
        print *,"                            Method :: vsRng Gaussian Box Mueller."
        print *,"                            ---------------------------------------------!!-------------------------"
        print *,"                            seed=2000*(100-mul) + 100000000*j*mul"
        print *,""
        print *,"                            Parameters:"
        print 11,"                             a        = ",a
        print 11,"                             sigma    = ",sigma
        print 11,"                             Variance = ",sigma*sigma
        print 15,"                             Mult     = ",mul
        print 15,"                             seed     = ",seed
        print 15,"                             Number   = ",n&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-10-05 100302.png" style="width: 948px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/46431iC297997EF7AC313D/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 2023-10-05 100302.png" alt="Screenshot 2023-10-05 100302.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any idea why the second print statement puts in a new line where there is not one.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 15:04:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530723#M168472</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-10-05T15:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Print error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530746#M168476</link>
      <description>&lt;P&gt;Dunno! Is this windows 11? Recent W11 have a defualt console that is "Windows Terminal" as opposed the "Windows Console Host", the behaviour is different in many ways. Maybe it is a 'word wrap' thing.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 15:58:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530746#M168476</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2023-10-05T15:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Print error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530756#M168478</link>
      <description>&lt;P&gt;List-directed wraps at column 80 by default. Here's what the docs say:&lt;/P&gt;&lt;P&gt;There is a property of list-directed sequential WRITE statements called the right margin. If you do not specify RECL as an OPEN statement specifier or in environmental variable FORT_FMT_RECL, the right margin value defaults to 80. When RECL is specified, the right margin is set to the value of RECL. If the length of a list-directed sequential WRITE exceeds the value of the right margin value, the remaining characters will wrap to the next line. Therefore, writing 100 characters will produce two lines of output, and writing 180 characters will produce three lines of output. You can turn off the right margin using the wrap-margin compiler option or the FORT_FMT_NO_WRAP_MARGIN environment variable.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 16:06:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530756#M168478</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-10-05T16:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Print error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530757#M168479</link>
      <description>&lt;P&gt;But there is a longer single line lower down the page so why has it broken the long line where it has? There is something more than just the 80 char wrap going on I think.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 16:11:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530757#M168479</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2023-10-05T16:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Print error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530764#M168480</link>
      <description>&lt;P&gt;No. Is that text longer than the bottom "---..." line?&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 16:35:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530764#M168480</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2023-10-05T16:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Print error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530783#M168484</link>
      <description>&lt;P&gt;He didn't show the WRITE for that line. If it's formatted, then the margin doesn't apply.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 17:01:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530783#M168484</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-10-05T17:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Print error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530881#M168491</link>
      <description>Yes the line is longer but I would expect the first line of the wrap to be at max length which it clearly isn't as the line lower down is longer than it.</description>
      <pubDate>Thu, 05 Oct 2023 20:45:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530881#M168491</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2023-10-05T20:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Print error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530882#M168492</link>
      <description>Yes maybe, some unknowns to ponder.</description>
      <pubDate>Thu, 05 Oct 2023 20:46:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530882#M168492</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2023-10-05T20:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Print error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530896#M168493</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-10-05 160451.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/46455iEFFB2B05BE5B8144/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 2023-10-05 160451.png" alt="Screenshot 2023-10-05 160451.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="fortran"&gt; dum = 2.0/float(n)
        ttest = (sM - tM)/(sqrt(dum)*sqrt((sD + tD)/2.0))

        print *,"---------------------------------------------------------------------------------------------80----------------------"
        
        write(2,221)a,sigma, sigma*sigma,mul,seed,n
         write(*,221)a,sigma, sigma*sigma,mul,seed,n
221     format("                            Method :: vsRng Gaussian Box Mueller.",/,&amp;amp;
               "                            ----------------------------------------------------------------------",/,&amp;amp;    
               "                            seed=2000*(100-mul) + 100000000*j*mul",//,&amp;amp;
               "                            Parameters:",/,&amp;amp;
               "                            a        = ",f12.3,/,&amp;amp;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 05 Oct 2023 21:07:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530896#M168493</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-10-05T21:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Print error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530908#M168495</link>
      <description>&lt;P&gt;vsRngGaussian is not nice nor does seed play nicely.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have had to factor every single seed to get a different number set.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem was I ended up with a dependent set of supposedly independent variables and then I got the same answer 10000 times.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 21:13:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Print-error/m-p/1530908#M168495</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-10-05T21:13:26Z</dc:date>
    </item>
  </channel>
</rss>

