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

Open MPI wrapper compiler unable to find ifort

Juhan_Matthias_K_
Principiante
4.402 Visualizações

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 Respostas
TimP
Colaborador honorário III
4.402 Visualizações

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

Izaak_Beekman
Novo colaborador II
4.402 Visualizações

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

Juhan_Matthias_K_
Principiante
4.402 Visualizações

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

pDs
Principiante
4.402 Visualizações

Hello Juhan!

How were you able to resolve this?

Responder