<?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 Quote:Tim Prince wrote: in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974210#M97895</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Tim Prince wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I haven't encountered adverse effects from this. &amp;nbsp;I make extensive use of fpp insertion of omp simd in view of the need to make it conditional on __MIC__.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thanks for your reply. If the blank line does not influence how !DIR$ SIMD works, then that's fine.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Apr 2014 14:21:17 GMT</pubDate>
    <dc:creator>Wentao_Z_</dc:creator>
    <dc:date>2014-04-08T14:21:17Z</dc:date>
    <item>
      <title>Fortran Preprocessor: #endif creates a blank line</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974205#M97890</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;I have a quick question regarding the #ifdef and #endif for preprocessing. I have the following code piece in my fpp file:&lt;/P&gt;&lt;PRE class="brush:fortran;"&gt;#ifdef USE_SIMD
              !DIR$ SIMD
#endif
              do i = is, ie
                dF(i + offset_kj) = dF(i + offset_kj) + value * F(i + offset_ii)
              end do&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After preprocessing, I got the following code piece in the f90 file:&lt;/P&gt;&lt;PRE class="brush:fortran;"&gt;!DIR$ SIMD

              do i = is, ie
                dF(i + offset_kj) = dF(i + offset_kj) + value * F(i + offset_ii)
              end do&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a blank line between the SIMD directive and the do i loop. I think it is generated by the #endif directive. Is there an easy way to avoid this? I want the SIMD directive to be next to the do i loop.&lt;/P&gt;
&lt;P&gt;I would truly appreciate your help!&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Wentao&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 05:06:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974205#M97890</guid>
      <dc:creator>Wentao_Z_</dc:creator>
      <dc:date>2014-04-08T05:06:25Z</dc:date>
    </item>
    <item>
      <title>I have not found a way. fpp</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974206#M97891</link>
      <description>&lt;P&gt;I have not found a way. fpp seems to be operating consist with cpp in this regard also. I inquired with our Developers whether this is possible and will let you know what they say.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 08:57:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974206#M97891</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-04-08T08:57:05Z</dc:date>
    </item>
    <item>
      <title>I haven't encountered adverse</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974207#M97892</link>
      <description>&lt;P&gt;I haven't encountered adverse effects from this. &amp;nbsp;I make extensive use of fpp insertion of omp simd in view of the need to make it conditional on __MIC__.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 09:58:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974207#M97892</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-04-08T09:58:04Z</dc:date>
    </item>
    <item>
      <title>Development indicates there</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974208#M97893</link>
      <description>&lt;P&gt;Development indicates there is no way to suppress this blank line with fpp. Sorry.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 10:53:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974208#M97893</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-04-08T10:53:24Z</dc:date>
    </item>
    <item>
      <title>Have you tried:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974209#M97894</link>
      <description>&lt;P&gt;Have you tried:&lt;/P&gt;

&lt;P&gt;#endif&amp;nbsp; do&amp;nbsp;i = is, ie&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 11:44:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974209#M97894</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2014-04-08T11:44:06Z</dc:date>
    </item>
    <item>
      <title>Quote:Tim Prince wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974210#M97895</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Tim Prince wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I haven't encountered adverse effects from this. &amp;nbsp;I make extensive use of fpp insertion of omp simd in view of the need to make it conditional on __MIC__.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thanks for your reply. If the blank line does not influence how !DIR$ SIMD works, then that's fine.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 14:21:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974210#M97895</guid>
      <dc:creator>Wentao_Z_</dc:creator>
      <dc:date>2014-04-08T14:21:17Z</dc:date>
    </item>
    <item>
      <title>Quote:jimdempseyatthecove</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974211#M97896</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;jimdempseyatthecove wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Have you tried:&lt;/P&gt;

&lt;P&gt;#endif&amp;nbsp; do&amp;nbsp;i = is, ie&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thanks for your reply. But this does not work since the preprocessing will "eat" the do i loop.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2014 14:22:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974211#M97896</guid>
      <dc:creator>Wentao_Z_</dc:creator>
      <dc:date>2014-04-08T14:22:44Z</dc:date>
    </item>
    <item>
      <title>If you are inclined to use</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974212#M97897</link>
      <description>&lt;P&gt;If you are inclined to use FPP to create a source file that you keep, as opposed to an intermediary file to use as source, then you could easily write a script to remove blank lines following !DEC$ SIMD (and tidy up other things).&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2014 12:44:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974212#M97897</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2014-04-09T12:44:40Z</dc:date>
    </item>
    <item>
      <title>Quote:jimdempseyatthecove</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974213#M97898</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;jimdempseyatthecove wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;If you are inclined to use FPP to create a source file that you keep, as opposed to an intermediary file to use as source, then you could easily write a script to remove blank lines following !DEC$ SIMD (and tidy up other things).&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thanks for your suggestion:-)&lt;/P&gt;

&lt;P&gt;Best,&lt;BR /&gt;
	Wentao&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2014 05:13:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Fortran-Preprocessor-endif-creates-a-blank-line/m-p/974213#M97898</guid>
      <dc:creator>Wentao_Z_</dc:creator>
      <dc:date>2014-04-10T05:13:48Z</dc:date>
    </item>
  </channel>
</rss>

