Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
26857 Discussions

Open MPI wrapper compiler unable to find ifort

Juhan_Matthias_K_
1,008 Views

Hi,

I'm trying to install a piece of computational software that makes use of open mpi for parallel execution (following these instructions http://www.crystal.unito.it/Manuals/crystal14_P.pdf). When I enter the terminal command

sudo make parallel

I get the following output:

 

mkdir -p ../bin/Linux-ifort_XE_emt64/v1.0.4

mkdir -p ../obj
/opt/openmpi-ifort-1.6.5/bin/mpif90 -c -FR  -O3 -align -i-static -cxxlib -I./Includes -I../obj -module ../obj -o ../obj/libmultitask_MPI.o libmultitask_MPI.f90
--------------------------------------------------------------------------
The Open MPI wrapper compiler was unable to find the specified compiler
ifort in your PATH.

Note that this compiler was either specified at configure time or in
one of several possible environment variables.
--------------------------------------------------------------------------
Makefile:177: recipe for target '../obj/libmultitask_MPI.o' failed
make: *** [../obj/libmultitask_MPI.o] Error 1

when I run in the terminal

printenv PATH

the first environment variable is

/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64

and this folder contains the ifort compiler.

when I run in the terminal

ifort -h

then ifort the ifort help is displayed.

Does anyone have any suggestions for why I am getting the error "The Open MPI wrapper compiler was unable to find the specified compiler
ifort in your PATH." and how to fix it?

Thanks

 

0 Kudos
4 Replies
TimP
Black Belt
1,008 Views

You must setup ifort by sourcing the compilervars script or alternate means your sysadmin may have chosen.

Izaak_Beekman
New Contributor II
1,008 Views

On HPC systems often this is something like `module load intel/17` or similar.

Juhan_Matthias_K_
1,008 Views

Thanks for the help... I was able to sort this out.

pDs
Beginner
1,008 Views

Hello Juhan!

How were you able to resolve this?

Reply