<?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: Undocumented behavior of fpp with alternative preprocessor in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1414104#M162770</link>
    <description>&lt;P&gt;Thanks Barbara for the bug report. I hope the option can be put to good use. It can simplify work with build systems considerably.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/63968"&gt;@jimdempseyatthecove&lt;/a&gt;&amp;nbsp;, below I've pasted the contents of the response file. In this particular example only -DHELLO was a user option, everything else is included by the compiler by default for my platform.&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;-D__INTEL_COMPILER=2021
-D__INTEL_COMPILER_UPDATE=4
-D__unix__
-D__unix
-D__linux__
-D__linux
-D__gnu_linux__
-Dunix
-Dlinux
-D__ELF__
-D__x86_64
-D__x86_64__
-D__amd64
-D__amd64__
-D__INTEL_COMPILER_BUILD_DATE=20210910
-D__INTEL_OFFLOAD
-D__MMX__
-D__SSE__
-D__SSE_MATH__
-D__SSE2__
-D__SSE2_MATH__
-D__pentium4
-D__pentium4__
-D__tune_pentium4__
-DHELLO
-I.
-I/dss/dsshome1/lrz/sys/spack/release/22.2.1/opt/x86_64/intel-oneapi-compilers/2021.4.0-gcc-xrzccgg/compiler/2021.4.0/linux/bin/intel64/../../compiler/include/intel64
-I/dss/dsshome1/lrz/sys/spack/release/22.2.1/opt/x86_64/intel-oneapi-compilers/2021.4.0-gcc-xrzccgg/compiler/2021.4.0/linux/bin/intel64/../../compiler/include/icc
-I/dss/dsshome1/lrz/sys/spack/release/22.2.1/opt/x86_64/intel-oneapi-compilers/2021.4.0-gcc-xrzccgg/compiler/2021.4.0/linux/bin/intel64/../../compiler/include
-I/usr/local/include
-I/usr/lib64/gcc/x86_64-suse-linux/7/include
-I/usr/lib64/gcc/x86_64-suse-linux/7/include-fixed
-I/usr/include/
-I/usr/include
hello.F90&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The suggestion to modify the contents of this file into a Makefile which then gets called by a shell script is an interesting one, however I think it may be easier to just start directly from Fypp's Python API (&lt;A href="https://fypp.readthedocs.io/en/stable/fypp.html#fypp" target="_blank"&gt;https://fypp.readthedocs.io/en/stable/fypp.html#fypp&lt;/A&gt;) and write a Python script. The author of Fypp has also offered his view of how to implement the option parsing here:&amp;nbsp;&lt;A href="https://github.com/aradi/fypp/issues/24" target="_blank"&gt;https://github.com/aradi/fypp/issues/24&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2022 08:05:31 GMT</pubDate>
    <dc:creator>ivanp</dc:creator>
    <dc:date>2022-09-12T08:05:31Z</dc:date>
    <item>
      <title>Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1411981#M162675</link>
      <description>&lt;P&gt;The Intel Fortran compilers (both ifx and ifort) provide the compile switch -fpp-name to supply an alternative preprocessor instead of the built-in one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the Intel Fortran compiler documentation, the alternative preprocessor needs to support an invocation of the form:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;alt_fpp [ [–D&amp;lt;define&amp;gt;]..] [[-I&amp;lt;include directory&amp;gt;]..] inputfile &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In practice I have observed this is not entirely the case (see &lt;A href="https://github.com/aradi/fypp/issues/24" target="_blank" rel="noopener"&gt;https://github.com/aradi/fypp/issues/24&lt;/A&gt;) and that the alternative preprocessor should be capable of reading the input commands from a response file (a file prefixed with the @ symbol).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can we rely upon this undocumented behavior long term?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 19:43:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1411981#M162675</guid>
      <dc:creator>ivanp</dc:creator>
      <dc:date>2022-08-31T19:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412040#M162677</link>
      <description>&lt;P&gt;It may be difficult to use a different preprocessor.&lt;/P&gt;
&lt;P&gt;Intel fpp&lt;/P&gt;
&lt;P&gt;1) defaults to processing the source, as an example, xyz.f90 to xyz.i90, then compiles the xyz.i90 file as if it were the xyz.f90&lt;/P&gt;
&lt;P&gt;2) Furthermore, module files may (will depending on content) generate multiple xxx.i90 file for compilation by ifort/ifx&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using MS VS, you may find it productive to use the Project's Configuration Properties | Pre-Build Event to specify a command to pre-process your .f90 (etc...)&amp;nbsp; and *** output as ....f90.&lt;/P&gt;
&lt;P&gt;Have the pre-alt_fpp sources in a folder that is not your build source folder, but rather a pre_source folder. Your alternate fpp command, for example would process&lt;/P&gt;
&lt;P&gt;&amp;nbsp; alt_source\foo.f90 -&amp;gt; source\foo.f90&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then your build would build from the source folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IOW you edit the files in the alt_source folder, but build from the source folder (after preprocessing)&lt;/P&gt;
&lt;P&gt;*** Note, build your&amp;nbsp;@fileList from files that are newer than the corresponding .obj files (or .exe/.lib file)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note-2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you are not using an alt_fpp (because you are using a pre-build event), you could potentially preprocess using your alternat fpp, then supply the option to use ifort's fpp as well. Though it would be a little tricky handling the #'s as to which preprocessor processes what.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope I made this clear enough.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note 3, If you are not using MS VS, then you can do a similar thing using make files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 02:01:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412040#M162677</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2022-09-01T02:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412049#M162679</link>
      <description>&lt;P&gt;Thanks for describing the options. Currently I am using a separate preprocessing step in the spirit of Note 2. This doesn't change the fact the Intel Fortran compiler documentation is incomplete.&lt;/P&gt;
&lt;P&gt;The alternative preprocessor I am trying to use - fypp (&lt;A href="https://fypp.readthedocs.io/en/stable/" target="_blank"&gt;https://fypp.readthedocs.io/en/stable/&lt;/A&gt;) - matches the expected command-line interface and behavior described in the documentation of &lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/compiler-reference/compiler-options/preprocessor-options/fpp-name.html" target="_self"&gt;-fpp-name&lt;/A&gt;: "Output from the preprocessor goes to STDOUT and will be captured for any further processing."&lt;/P&gt;
&lt;P&gt;In practice however, it doesn't work and fypp exits with the error&lt;/P&gt;
&lt;PRE class="notranslate"&gt;&lt;CODE&gt;error: Failed to open file '@/tmp/ifxargBf8BjW' for read [FyppFatalError]&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;since it attempts to read &lt;CODE&gt;'@/tmp/ifxargBf8BjW'&lt;/CODE&gt; as the location of the file to be preprocessed and not a response file for passing the command-line arguments.&lt;/P&gt;
&lt;P&gt;Either I interpret the documentation as incomplete, or as your post suggests, avoid the built-in compiler solution and defer my preprocessing step to the IDE or build-system.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 01 Sep 2022 03:24:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412049#M162679</guid>
      <dc:creator>ivanp</dc:creator>
      <dc:date>2022-09-01T03:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412177#M162684</link>
      <description>&lt;P&gt;Please attach a reproducer and I can investigate the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 14:11:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412177#M162684</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2022-09-01T14:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412240#M162688</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;error: Failed to open file '@/tmp/ifxargBf8BjW' for read [FyppFatalError]&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apparently, ifort/ifx (?IDE) created a temp file and placed it somewhere else (or not).&lt;/P&gt;
&lt;P&gt;I suggest you create a same named program (fypp.a?) and place it in path (or CD) before the real fypp.&lt;/P&gt;
&lt;P&gt;The content of this file is to print out the&amp;nbsp; command line args, then pause for user input.&lt;/P&gt;
&lt;P&gt;When the program is paused, then search for the temporary file name.&lt;/P&gt;
&lt;P&gt;This may provide some insight as to what is going on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 18:59:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412240#M162688</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2022-09-01T18:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412339#M162696</link>
      <description>&lt;P&gt;I've taken up Jim's advice and written a bash script which pauses so the contents of the file can be read.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A minimal example with a description is in the attached tar file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*I find it a bit odd the compiler automatically adds include directories for /usr/include twice:&lt;/P&gt;
&lt;P&gt;-I/usr/include/&lt;BR /&gt;-I/usr/include&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 06:28:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412339#M162696</guid>
      <dc:creator>ivanp</dc:creator>
      <dc:date>2022-09-02T06:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412410#M162699</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;...&lt;SPAN&gt;pauses so the contents of the file can be read.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;EM class="sub_section_element_selectors"&gt;error: Failed to open file '@/tmp/ifxargBf8BjW' for read [FyppFatalError]&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The intention was to figure out why the file could not be found, or opened.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note, if the case is the file is in the correct location (&lt;EM class="sub_section_element_selectors"&gt;'@/tmp/ifxargBf8BjW')&amp;nbsp;&lt;/EM&gt;...&lt;/P&gt;
&lt;P&gt;then the issue is likely that ifort/ifx has written the file...&lt;/P&gt;
&lt;P&gt;AND has it open (possibly for reuse)&lt;/P&gt;
&lt;P&gt;AND your fypp is attempting to open the file for exclusive use&lt;/P&gt;
&lt;P&gt;Therefore, if you have the source to fypp, change the open mode to shared.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 12:10:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412410#M162699</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2022-09-02T12:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412420#M162700</link>
      <description>&lt;P&gt;The Fypp preprocessor does not recognize a file name prepended with&amp;nbsp;@ as a response file. Even if it did, whatever the compiler has written into this file (arguments to be passed to the alternative preprocessor) is potentially subject to change and hence can not be relied upon by third-party tools. In other words it's an internal implementation detail of the Intel Fortran compiler.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either the behaviour of passing arguments through a temporary file prefixed with&amp;nbsp;@ is documented or the &lt;STRONG&gt;-fpp-name=&amp;lt;alt_fpp&amp;gt;&lt;/STRONG&gt; flag as it stands currently is useless, misleading, and should be removed from the documentation entirely.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 12:52:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412420#M162700</guid>
      <dc:creator>ivanp</dc:creator>
      <dc:date>2022-09-02T12:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412457#M162705</link>
      <description>&lt;P&gt;Thank you. I'm investigating.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 15:30:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1412457#M162705</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2022-09-02T15:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1413619#M162749</link>
      <description>&lt;P&gt;I worked with the Fortran compiler team and I submitted a bug report on the documentation. Here's is the new Description for fpp-name:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Description&lt;/P&gt;
&lt;P&gt;This option lets you specify an alternate preprocessor to use with Fortran.&lt;/P&gt;
&lt;P&gt;The compiler invokes the user-specified Fortran preprocessor by spawning a command with the following signature:&lt;/P&gt;
&lt;P&gt;alt_fpp @fpp.arg&lt;/P&gt;
&lt;P&gt;where alt_fpp is the name of the Fortran preprocessor you want to use, and fpp.arg is an input file containing the preprocessor's command line arguments. fpp.arg is generated by the Fortran compiler driver, and contains the -D&amp;lt;define&amp;gt;, -I&amp;lt;include directory&amp;gt;, and input file name(s) from the compiler command line.&amp;nbsp; Compiler&amp;nbsp;predefined -D&amp;lt;define&amp;gt; and -I&amp;lt;include directory&amp;gt; options are also included. Output from the preprocessor goes to STDOUT and will be captured for&amp;nbsp;any further processing.&lt;/P&gt;
&lt;P&gt;You can use option Qoption,fpp,… to pass options, other than definitions (-D xxx), include directories (-I xxx), or any other options accepted by the preprocessor.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can use option Qlocation, fpp,… to specify a directory for supporting tools.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 21:08:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1413619#M162749</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2022-09-08T21:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1413876#M162758</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;The Fypp preprocessor does not recognize a file name prepended with&amp;nbsp;@ as a response file.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Apparently Fypp does not use response files (&lt;A href="https://fypp.readthedocs.io/en/stable/fypp.html" target="_self"&gt;see&lt;/A&gt;). Nothing mentioned about response files on the command line.&lt;/P&gt;
&lt;P&gt;Also see:&amp;nbsp;&lt;A href="https://fypp.readthedocs.io/en/stable/fypp.html#integration-into-build-environments" target="_self"&gt;integrating into build environments&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Therefore, you should write a script that you specify to be used as a preprocessor...&lt;/P&gt;
&lt;P&gt;which takes the&amp;nbsp;@(generatedFileNameHere) as input, edits it to create a makefile out of the file list within the&amp;nbsp;@(generatedFileNameHere), and then calls make to perform the Fypp-ing of the list of files (and defines, if any enclosed within the&amp;nbsp;@(generatedFileNameHere).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This shouldn't be too hard.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want some help on this, please post the contents of the&amp;nbsp;@(generatedFileNameHere).&lt;/P&gt;
&lt;P&gt;*** On this forum's compose response window's tool bar, press the ... button, then click on the &amp;lt;/&amp;gt; button, then click on the pulldown and select Plain Text. And post the contents in there. This will make it easy for forum readers to select/copy/paste the file.&lt;/P&gt;
&lt;P&gt;*** Inserting with normal forum text makes it difficult to copy and paste.&lt;/P&gt;
&lt;P&gt;*** Use the same process to insert Fortran, C++, etc file formats (supported by the pull-down). If your desired format is not listed, then use Plain Text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 22:09:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1413876#M162758</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2022-09-09T22:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1414104#M162770</link>
      <description>&lt;P&gt;Thanks Barbara for the bug report. I hope the option can be put to good use. It can simplify work with build systems considerably.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/63968"&gt;@jimdempseyatthecove&lt;/a&gt;&amp;nbsp;, below I've pasted the contents of the response file. In this particular example only -DHELLO was a user option, everything else is included by the compiler by default for my platform.&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;-D__INTEL_COMPILER=2021
-D__INTEL_COMPILER_UPDATE=4
-D__unix__
-D__unix
-D__linux__
-D__linux
-D__gnu_linux__
-Dunix
-Dlinux
-D__ELF__
-D__x86_64
-D__x86_64__
-D__amd64
-D__amd64__
-D__INTEL_COMPILER_BUILD_DATE=20210910
-D__INTEL_OFFLOAD
-D__MMX__
-D__SSE__
-D__SSE_MATH__
-D__SSE2__
-D__SSE2_MATH__
-D__pentium4
-D__pentium4__
-D__tune_pentium4__
-DHELLO
-I.
-I/dss/dsshome1/lrz/sys/spack/release/22.2.1/opt/x86_64/intel-oneapi-compilers/2021.4.0-gcc-xrzccgg/compiler/2021.4.0/linux/bin/intel64/../../compiler/include/intel64
-I/dss/dsshome1/lrz/sys/spack/release/22.2.1/opt/x86_64/intel-oneapi-compilers/2021.4.0-gcc-xrzccgg/compiler/2021.4.0/linux/bin/intel64/../../compiler/include/icc
-I/dss/dsshome1/lrz/sys/spack/release/22.2.1/opt/x86_64/intel-oneapi-compilers/2021.4.0-gcc-xrzccgg/compiler/2021.4.0/linux/bin/intel64/../../compiler/include
-I/usr/local/include
-I/usr/lib64/gcc/x86_64-suse-linux/7/include
-I/usr/lib64/gcc/x86_64-suse-linux/7/include-fixed
-I/usr/include/
-I/usr/include
hello.F90&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The suggestion to modify the contents of this file into a Makefile which then gets called by a shell script is an interesting one, however I think it may be easier to just start directly from Fypp's Python API (&lt;A href="https://fypp.readthedocs.io/en/stable/fypp.html#fypp" target="_blank"&gt;https://fypp.readthedocs.io/en/stable/fypp.html#fypp&lt;/A&gt;) and write a Python script. The author of Fypp has also offered his view of how to implement the option parsing here:&amp;nbsp;&lt;A href="https://github.com/aradi/fypp/issues/24" target="_blank"&gt;https://github.com/aradi/fypp/issues/24&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 08:05:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1414104#M162770</guid>
      <dc:creator>ivanp</dc:creator>
      <dc:date>2022-09-12T08:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1415234#M162813</link>
      <description>&lt;P&gt;Please report back when you have a solution to integrating Fypp with Intel's Fortran via -fpp-name=...&lt;/P&gt;
&lt;P&gt;This may be appreciated by other readers of this forum thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:47:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1415234#M162813</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2022-09-16T13:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Undocumented behavior of fpp with alternative preprocessor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1443585#M164275</link>
      <description>&lt;P&gt;The updated description of &lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/compiler-reference/compiler-options/preprocessor-options/fpp-name.html" target="_blank" rel="noopener"&gt;fpp-name&lt;/A&gt; is in the current Fortran DGR (Developer Guide and Reference).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 19:33:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Undocumented-behavior-of-fpp-with-alternative-preprocessor/m-p/1443585#M164275</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2023-01-03T19:33:44Z</dc:date>
    </item>
  </channel>
</rss>

