<?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 Any way to assign the output dir for intermediate files of fpp preprocessor in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Any-way-to-assign-the-output-dir-for-intermediate-files-of-fpp/m-p/1418619#M162969</link>
    <description>&lt;P&gt;It has been noticed earily that currently ifort would inevitably generates and keep intermediate files (e.g. ".i"s and ".i90"s) when using -fpp and -syntax-only together:&amp;nbsp;&lt;A title="ifort does not remove temps when using -syntax-only" href="https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-does-not-remove-temps-when-using-syntax-only/td-p/1153217" target="_blank" rel="noopener"&gt;ifort does not remove temps when using -syntax-only&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to locate those ".i90" to a specific path to&amp;nbsp;keep the project directory clean?&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2022 09:37:05 GMT</pubDate>
    <dc:creator>mz_</dc:creator>
    <dc:date>2022-09-30T09:37:05Z</dc:date>
    <item>
      <title>Any way to assign the output dir for intermediate files of fpp preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Any-way-to-assign-the-output-dir-for-intermediate-files-of-fpp/m-p/1418619#M162969</link>
      <description>&lt;P&gt;It has been noticed earily that currently ifort would inevitably generates and keep intermediate files (e.g. ".i"s and ".i90"s) when using -fpp and -syntax-only together:&amp;nbsp;&lt;A title="ifort does not remove temps when using -syntax-only" href="https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-does-not-remove-temps-when-using-syntax-only/td-p/1153217" target="_blank" rel="noopener"&gt;ifort does not remove temps when using -syntax-only&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to locate those ".i90" to a specific path to&amp;nbsp;keep the project directory clean?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 09:37:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Any-way-to-assign-the-output-dir-for-intermediate-files-of-fpp/m-p/1418619#M162969</guid>
      <dc:creator>mz_</dc:creator>
      <dc:date>2022-09-30T09:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to assign the output dir for intermediate files of fpp preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Any-way-to-assign-the-output-dir-for-intermediate-files-of-fpp/m-p/1418655#M162971</link>
      <description>&lt;P&gt;If you are using MS Visual Studio, you can add a post build procedure (e.g. batch file). If using make files, you can do something similar.&lt;/P&gt;
&lt;P&gt;The file types (.i90, .asm) are distinguishable from the traditional (.f90, .f) file type.&lt;/P&gt;
&lt;P&gt;As you have noticed, these files are placed in the project folder.&lt;/P&gt;
&lt;P&gt;If you place your source files in a different folder from the project (e.g. "sources"), then the project folder(s) contain the ...vfproj file(s) plus any generated .fpp/asm generated files. This might be preferrable to co-mingling the .f90 files with the .i90 files ymmv.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 12:58:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Any-way-to-assign-the-output-dir-for-intermediate-files-of-fpp/m-p/1418655#M162971</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2022-09-30T12:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to assign the output dir for intermediate files of fpp preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Any-way-to-assign-the-output-dir-for-intermediate-files-of-fpp/m-p/1418892#M162984</link>
      <description>&lt;P&gt;This problem&amp;nbsp;shows up as I am currently using &lt;SPAN&gt;Visual Studio Code&lt;/SPAN&gt;&amp;nbsp;to maintian my Fortran codes, and vscode use the compiler with &lt;SPAN&gt;&amp;nbsp;-syntax-only to&amp;nbsp;implements the linter for Fortran. (So I don't know if VS is in the same case.) It’s quite&amp;nbsp;distracting that i90 files pop up even just for a simple look at the code.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks for the detailed advices. Since there doesn't seem to be a built-in solution for this issue at the moment, I'll have VSCode hide the i90s and use some batch script to clean them up.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Oct 2022 14:29:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Any-way-to-assign-the-output-dir-for-intermediate-files-of-fpp/m-p/1418892#M162984</guid>
      <dc:creator>mz_</dc:creator>
      <dc:date>2022-10-02T14:29:12Z</dc:date>
    </item>
  </channel>
</rss>

