<?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 Ifort error 10417 Problem setting up the Intel(R) Compiler compilation environment. Requires 'instal in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ifort-error-10417-Problem-setting-up-the-Intel-R-Compiler/m-p/1306423#M157157</link>
    <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I'm new round here and on the programming world.&lt;/P&gt;
&lt;P&gt;Just downloaded and installed the oneAPI package to get ifort compiler.&lt;BR /&gt;Have succesfully installed everything and ifort is invoked properly.&lt;BR /&gt;Nevertheless, when trying to compile, the following message is displayed:&lt;BR /&gt;&lt;BR /&gt;ifort: error #10417: Problem setting up the Intel(R) Compiler compilation environment. Requires 'install path' setting gathered from 'gcc'&lt;/P&gt;
&lt;P&gt;I can not seem to fix the problem on what I find in forums.&lt;BR /&gt;&lt;BR /&gt;Hope you can help me out to sort this out.&lt;/P&gt;
&lt;P&gt;I'm using the latest version of Red Hat distribution.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Aug 2021 00:53:47 GMT</pubDate>
    <dc:creator>jelopezaguilar</dc:creator>
    <dc:date>2021-08-13T00:53:47Z</dc:date>
    <item>
      <title>Ifort error 10417 Problem setting up the Intel(R) Compiler compilation environment. Requires 'instal</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ifort-error-10417-Problem-setting-up-the-Intel-R-Compiler/m-p/1306423#M157157</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I'm new round here and on the programming world.&lt;/P&gt;
&lt;P&gt;Just downloaded and installed the oneAPI package to get ifort compiler.&lt;BR /&gt;Have succesfully installed everything and ifort is invoked properly.&lt;BR /&gt;Nevertheless, when trying to compile, the following message is displayed:&lt;BR /&gt;&lt;BR /&gt;ifort: error #10417: Problem setting up the Intel(R) Compiler compilation environment. Requires 'install path' setting gathered from 'gcc'&lt;/P&gt;
&lt;P&gt;I can not seem to fix the problem on what I find in forums.&lt;BR /&gt;&lt;BR /&gt;Hope you can help me out to sort this out.&lt;/P&gt;
&lt;P&gt;I'm using the latest version of Red Hat distribution.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 00:53:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ifort-error-10417-Problem-setting-up-the-Intel-R-Compiler/m-p/1306423#M157157</guid>
      <dc:creator>jelopezaguilar</dc:creator>
      <dc:date>2021-08-13T00:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ifort error 10417 Problem setting up the Intel(R) Compiler compilation environment. Requires 'in</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ifort-error-10417-Problem-setting-up-the-Intel-R-Compiler/m-p/1308083#M157188</link>
      <description>&lt;P&gt;Hi, do you found a solution? I've the same problem.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 12:36:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ifort-error-10417-Problem-setting-up-the-Intel-R-Compiler/m-p/1308083#M157188</guid>
      <dc:creator>VincentP</dc:creator>
      <dc:date>2021-08-19T12:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ifort error 10417 Problem setting up the Intel(R) Compiler compilation environment. Requires 'in</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ifort-error-10417-Problem-setting-up-the-Intel-R-Compiler/m-p/1357537#M159886</link>
      <description>&lt;P&gt;I'm also seeing this, with the compiler being run in a docker container. Oddly, everything is fine if I run in a container on my local machine, but when using the same image in a docker environment on a (Linux) build machine, then I get this failure. gcc and g++ are definitely installed.&lt;/P&gt;
&lt;P&gt;Is it possible to know what ifort is doing to make this determination?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 19:15:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ifort-error-10417-Problem-setting-up-the-Intel-R-Compiler/m-p/1357537#M159886</guid>
      <dc:creator>JPek</dc:creator>
      <dc:date>2022-02-04T19:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ifort error 10417 Problem setting up the Intel(R) Compiler compilation environment. Requires 'in</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ifort-error-10417-Problem-setting-up-the-Intel-R-Compiler/m-p/1457229#M165156</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I had that error also&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Requires 'install path' setting gathered from 'gcc'&lt;/BLOCKQUOTE&gt;
&lt;P&gt;and gcc was not installed!&amp;nbsp; &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&amp;nbsp; &amp;nbsp;Installing gcc fixed it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo apt install gcc&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did then open a new terminal window, and re-sourced setvars.sh again, before compiling.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;source /opt/intel/oneapi/setvars.sh
ifort -o hello hello.f90&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 00:31:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ifort-error-10417-Problem-setting-up-the-Intel-R-Compiler/m-p/1457229#M165156</guid>
      <dc:creator>wtstephens</dc:creator>
      <dc:date>2023-02-19T00:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ifort error 10417 Problem setting up the Intel(R) Compiler compilation environment. Requires 'in</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ifort-error-10417-Problem-setting-up-the-Intel-R-Compiler/m-p/1628958#M173582</link>
      <description>&lt;P&gt;I just run into this same problem.&amp;nbsp; Since I can't seem to make a brand new post, I am appending to this one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then again, maybe it is not an Intel issue but a CFX issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let it be known that&lt;/P&gt;&lt;P&gt;Intel compiler on its own works fine,&lt;/P&gt;&lt;P&gt;GCC compilers on their own work fine&lt;/P&gt;&lt;P&gt;But, when ask CFX to compile for me, I get that thing about expecting "install path" from gcc:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/usw/ansys_inc/2024R2/v242/CFX/bin/cfx5mkext usr_iterative_bc.F 
/usw/intel/oneapi/2023.2.0/compiler/2023.2.0/linux/bin/intel64/ifort -fpic -assume 2underscore -check uninit -warn declarations -diag-error 6717 -ftz -O2 -fp-speculation=safe -fp-model=precise -fp-model=source -fimf-arch-consistency=true -qno-opt-dynamic-align -fpe0 -fomit-frame-pointer -real-size 32 -integer-size 32 -DCFX5_ATTR_SINGLE -DCFX5_ATTR_64BIT -DCFX5_ATTR_INT32 -DCFX5_ATTR_IFORT -DCFX5_ATTR_OPTIMISED -DCFX5_ATTR_STD -DCFX5_ATTR_LCOMP -I/usw/ansys_inc/2024R2/v242/CFX/include -o linux-amd64/ifort/usr_iterative_bc.o -c usr_iterative_bc.F
ifort: error #10417: Problem setting up the Intel(R) Compiler compilation environment.  Requires 'install path' setting gathered from 'gcc'
An error has occurred in cfx5mkext:

/usw/intel/oneapi/2023.2.0/compiler/2023.2.0/linux/bin/intel64/ifort exited
with return code 1.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running gcc with search path replies the following:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;gcc --print-search-dirs
install: /usr/lib/gcc/x86_64-redhat-linux/11/
programs: =/usr/libexec/gcc/x86_64-redhat-linux/11/:/usr/libexec/gcc/x86_64-redhat-linux/11/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/11/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/11/../../../../x86_64-redhat-linux/bin/x86_64-redhat-linux/11/:/usr/lib/gcc/x86_64-redhat-linux/11/../../../../x86_64-redhat-linux/bin/
libraries: =/usw/intel/oneapi/2023.2.0/tbb/2021.10.0/env/../lib/intel64/gcc. . . . . . .&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For sure, the first line in the replay shows "install", but not "install path".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any resolution to this one?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 18:20:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ifort-error-10417-Problem-setting-up-the-Intel-R-Compiler/m-p/1628958#M173582</guid>
      <dc:creator>Germán</dc:creator>
      <dc:date>2024-09-05T18:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ifort error 10417 Problem setting up the Intel(R) Compiler compilation environment. Requires 'in</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Ifort-error-10417-Problem-setting-up-the-Intel-R-Compiler/m-p/1631512#M173686</link>
      <description>&lt;P&gt;Well, I found a resolution, at least in my environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, what I have is&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I call CFX&lt;/LI&gt;&lt;LI&gt;CFX calls Intel/ifort&lt;/LI&gt;&lt;LI&gt;Intel/ifort calls (somehow) gcc&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simple inspection of `ifort -v` does not reveal anything gcc-related:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;gt; /home/myuserid: ifort -v
ifort: remark #10448: Intel(R) Fortran Compiler Classic (ifort) is now deprecated
and will be discontinued late 2024. Intel recommends that customers transition now
to using the LLVM-based Intel(R) Fortran Compiler (ifx) for continued Windows* and
Linux* support, new language support, new language features, and optimizations. Use
'-diag-disable=10448' to disable this message.
ifort version 2021.12.0
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, probing icx does&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;gt; /home/myuserid: icx -v
Intel(R) oneAPI DPC++/C++ Compiler 2024.1.0 (2024.1.0.20240308)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /intel/oneapi/2024.1.0/compiler/2024.1/bin/compiler
Configuration file: /intel/oneapi/2024.1.0/compiler/2024.1/bin/compiler/../icx.cfg
Found candidate GCC installation: /opt/rh/gcc-toolset-12/root/usr/lib/gcc/x86_64-redhat-linux/12
Selected GCC installation: /opt/rh/gcc-toolset-12/root/usr/lib/gcc/x86_64-redhat-linux/12
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This reveals that the Intel insallation is, somehow, related to a gcc installation different than the one that came with the system.&lt;/P&gt;&lt;P&gt;So, in my environment, the problem is solved by first enabling the /opt/rh gcc instance and THEN executing the cfx5mkext command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;gt; /home/myuserid: source /opt/rh/gcc-toolset-12/enable
&amp;gt; /home/myuserid: /ansys_inc/2024R2/v242/CFX/bin/cfx5mkext user_defined_fun.F&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Germán&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 13:53:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Ifort-error-10417-Problem-setting-up-the-Intel-R-Compiler/m-p/1631512#M173686</guid>
      <dc:creator>Germán</dc:creator>
      <dc:date>2024-09-16T13:53:18Z</dc:date>
    </item>
  </channel>
</rss>

