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

mpiifort: Command not found

Jasmeet_S_
Beginner
18,347 Views

I am facing this problem with mpiifort:

make mpi=openmpi MPIdir=/home/singh/src all -f Makefile
mkdir -p ./bin
mkdir -p ./lib
make[1]: Entering directory `/home/singh/ukrmol-out/source/libouter'
mpiifort -i8 -w -p -openmp -i8 -O0  -c borncros.f
make[1]: mpiifort: Command not found
make[1]: *** [borncros.o] Error 127
make[1]: Leaving directory `/home/singh/ukrmol-out/source/libouter'
make: *** [SUBDIRS] Error 2

 

0 Kudos
1 Solution
TimP
Honored Contributor III
18,347 Views

If you have installed both Intel Fortran and Intel mpi, you source both the compilervars and mpivars scripts:

(e. g. under bash)

source ......./bin/compilervars.sh intel64

source .,.../bin64/mpivars.sh

 

If your system is managed professionally you may have module commands set up.

View solution in original post

6 Replies
TimP
Honored Contributor III
18,348 Views

If you have installed both Intel Fortran and Intel mpi, you source both the compilervars and mpivars scripts:

(e. g. under bash)

source ......./bin/compilervars.sh intel64

source .,.../bin64/mpivars.sh

 

If your system is managed professionally you may have module commands set up.

Jasmeet_S_
Beginner
18,347 Views

Thanks Tim. Now mpiifort is working.

I am trying to compile source codes and created .optrpt but executable output file is not created. The following remark I got during MAKEFILE run:

ifort: remark #10397: optimization reports are generated in *.optrpt files in the output location

and please find the attached MAKEFILE and outer

 

0 Kudos
Jasmeet_S_
Beginner
18,347 Views

Please find the .optrpt for your understanding.

Please advice me on this problem.

0 Kudos
Yurkiv__Vitaliy
Beginner
18,347 Views

which bin64? There are several in different directories, for example,

~/intel/compilers_and_libraries_2017/linux/mpi/bin64

~/intel/impi/2017.4.259/bin64

.....

0 Kudos
EduardoEnr_S_Intel
18,347 Views
rm -f gtcmpi module.o main.o function.o setup.o ran_num_gen.o set_random_values.o load.o restart.o diagnosis.o snapshot.o chargei.o poisson.o smooth.o field.o pushi.o shifti.o fft_gl.o chargee.o pushe.o shifte.o tracking.o Lorentz_coll.o collision.o *.mod
make: Circular module.o <- module.o dependency dropped.
mpiifort  -O3 -xHost -qopenmp -c module.F90
make: mpiifort: Command not found
make: *** [module.o] Error 127
cp: cannot stat 
 
Hello everyone, i have  a question regarding the same issue as well mpiifort command not found ,  the error that i already pasted at the top of this question it's the one that's appears on my platform... just in case i'm using architecture 64 on my platform and also i have the same question, i don't know which folder will be the correct one to use on the ./env01 file, by the way in using for compiler Intel® Parallel Studio XE Composer Edition for Fortran and C++ Linux*  and the Intel® MPI Library for Linux*.... 
If any body knows about this i really appreciated if someone it's able to tell me something ...
 
 
Best regards...
0 Kudos
Juergen_R_R
Valued Contributor I
18,347 Views

Eduardo, did you look at comment #2 by Tim P. on sourcing the compilervars?

0 Kudos
Reply