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

Open MPI wrapper compiler unable to find ifort

Juhan_Matthias_K_
2,592 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
Honored Contributor III
2,592 Views

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

0 Kudos
Izaak_Beekman
New Contributor II
2,592 Views

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

0 Kudos
Juhan_Matthias_K_
2,592 Views

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

0 Kudos
pDs
Beginner
2,592 Views

Hello Juhan!

How were you able to resolve this?

0 Kudos
Reply