Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28384 Discussions

Ifort error 10417 Problem setting up the Intel(R) Compiler compilation environment. Requires 'instal

jelopezaguilar
Beginner
2,590 Views

Hi everyone,

I'm new round here and on the programming world.

Just downloaded and installed the oneAPI package to get ifort compiler.
Have succesfully installed everything and ifort is invoked properly.
Nevertheless, when trying to compile, the following message is displayed:

ifort: error #10417: Problem setting up the Intel(R) Compiler compilation environment. Requires 'install path' setting gathered from 'gcc'

I can not seem to fix the problem on what I find in forums.

Hope you can help me out to sort this out.

I'm using the latest version of Red Hat distribution.

0 Kudos
3 Replies
VincentP
Beginner
2,545 Views

Hi, do you found a solution? I've the same problem.

0 Kudos
JPek
Novice
2,077 Views

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.

Is it possible to know what ifort is doing to make this determination?

 

Jeff

0 Kudos
wtstephens
New Contributor I
1,277 Views

I had that error also


Requires 'install path' setting gathered from 'gcc'

and gcc was not installed!     Installing gcc fixed it.

 

sudo apt install gcc

 

I did then open a new terminal window, and re-sourced setvars.sh again, before compiling.

source /opt/intel/oneapi/setvars.sh
ifort -o hello hello.f90

 

0 Kudos
Reply