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

ifort command not found

LukeTheWalker
Beginner
2,348 Views

I have installed both the oneapi base toolkit as well as the intel fortran standalone compiler.

Even after sourcing the setters.sh I still get ifort command not found. Also mpiifort gives the same error:

mpiifort --version
~/intel/oneapi/mpi/2021.15/bin/mpiifx: line 697: ifort: command not found

 

0 Kudos
1 Solution
Mark_Lewy
Valued Contributor I
2,293 Views

ifort was discontinued in OneAPI 2025, use ifx instead

View solution in original post

4 Replies
Mark_Lewy
Valued Contributor I
2,294 Views

ifort was discontinued in OneAPI 2025, use ifx instead

Ron_Green
Moderator
2,257 Views

@Mark_Lewy  is correct.  the MPI wrapper for ifx is 'mpiifx'

0 Kudos
LluisFB
Beginner
242 Views

Dear all, 

 

I am finding the issue in a previous version of oneAPI. I understand I am using version `2021.4.0`

I have been working and compiling for a long time, but now it gives the error message.

```
$ /opt/mpich/mpich-3.4.2/intel/2021.4.0/bin/mpif90 -v
mpifort for MPICH version 3.4.2
/opt/mpich/mpich-3.4.2/intel/2021.4.0/bin/mpif90: line 386: ifort: command not found
```

In the installation folder in my HPC (named `hydra`) I do not have any equivalency with `ifx`:
```
$ ls /opt/mpich/mpich-3.4.2/intel/2021.4.0/bin/
hydra_nameserver mpic++ mpicxx mpif77 mpirun
hydra_persist mpicc mpiexec mpif90 mpivars
hydra_pmi_proxy mpichversion mpiexec.hydra mpifort parkill

```

Is there any expiration date in oneAPI?

 

Many thanks for any answer

0 Kudos
LluisFB
Beginner
218 Views

My appologies, 

 

I was doing something wrong when charging the environment of the compilers. My IT staff pointed me to the mistake.

 

Sorry,

 

Lluís

0 Kudos
Reply