CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   mpirun: command not found (https://www.cfd-online.com/Forums/openfoam-solving/217271-mpirun-command-not-found.html)

TRIDEV G May 6, 2019 09:06

mpirun: command not found
 
Hello everyone

I am trying to run a case in parallel mode using 4 cores.

decomposePar command works fine and does its job (creates 4 processor directories)

When I type $ mpirun -np 4 InterFoam -parallel

An error throws out saying -bash: mpirun: command not found

Can anyone help me resolve the issue.

Thank You

[Moderator note: Moved from https://www.cfd-online.com/Forums/op...-serially.html ]

wyldckat May 6, 2019 19:21

Quick questions:
  1. Which Linux distribution are you using?
  2. Which installation instructions for OpenFOAM or foam-extend did you follow?
  3. Which OpenFOAM or foam-extend version are you using?

TRIDEV G May 7, 2019 00:02

Hi wyldckat thanks for the reply

1. I am using openFoam on windows 7 .

2. I followed Installation instruction from this link : https://www.cfdsupport.com/install- openfoam-for-windows.html

3. openFoam version : dev-59be3e7 (aka 6.0)
file name : OF4Win-18.10v1-r1134-win64-install.exe

Thanks

regard May 7, 2019 01:32

Quote:

Originally Posted by TRIDEV G (Post 732893)
Hi wyldckat thanks for the reply

1. I am using openFoam on windows 7 .

2. I followed Installation instruction from this link : https://www.cfdsupport.com/install- openfoam-for-windows.html

3. openFoam version : dev-59be3e7 (aka 6.0)
file name : OF4Win-18.10v1-r1134-win64-install.exe

Thanks

hi...perhaps this command can help you.....foamJob -s -p interFoam

TRIDEV G May 7, 2019 03:53

hey regard thanks for the reply
i tried the command you have suggested but I am getting the same error

'mpirun' not found

I tried the command $ mpiexec -n 4 interFoam -parallel


its working !!


All times are GMT -4. The time now is 10:38.