- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I had that error also
Requires 'install path' setting gathered from 'gcc'
and gcc was not installed!
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