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

oneapi on ubuntu 23.10

rmoortgat
New Contributor I
1,947 Views

Hello,

I installed oneapi in Ubuntu 23.10.
The installation ran without a problem.
Oneapi is in /opt/intel/
I sourced setvars.sh.
When I open a terminal setvars.sh executes setting the environment variables.
Disaster strikes when I enter ifort --version which gives me 'Command 'ifort' not found'
I think something went wrong with the installation.
On mpiifort --version I get:
/opt/intel/oneap/mpi/2021.10.0/bin/mpiifort: 1: eval: ifort: not found.
As far as I understand ifort didn't get installed.

Roger

0 Kudos
1 Solution
rmoortgat
New Contributor I
1,883 Views

Looks like something went wrong during installation.

I did a clean install and everything is working fine.

 

Roger

View solution in original post

4 Replies
Barbara_P_Intel
Employee
1,916 Views

I wonder if the new directory layout is the problem.

For detailed information about the Unified layout, including how to initialize the environment and advantages with the Unified layout, refer to Use the setvars and oneapi-vars Scripts with Linux and Use the setvars and oneapi-vars Scripts with Windows.

0 Kudos
Ron_Green
Moderator
1,891 Views

From that terminal, after you manually enter this source command

source /opt/intel/oneapi/setvars.sh

 

Can you show the output of the following:

echo $0

which ifort

echo $PATH

0 Kudos
rmoortgat
New Contributor I
1,884 Views

Looks like something went wrong during installation.

I did a clean install and everything is working fine.

 

Roger

Barbara_P_Intel
Employee
1,881 Views

Thanks for letting us know!

 

0 Kudos
Reply