CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

mpirun: command not found

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By TRIDEV G

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2019, 09:06
Default mpirun: command not found
  #1
New Member
 
@moon
Join Date: Apr 2019
Posts: 8
Rep Power: 7
TRIDEV G is on a distinguished road
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 mpirun gives error despite I can run my case serially ]

Last edited by wyldckat; May 6, 2019 at 19:20. Reason: see "Moderator note:"
TRIDEV G is offline   Reply With Quote

Old   May 6, 2019, 19:21
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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?
__________________
wyldckat is offline   Reply With Quote

Old   May 7, 2019, 00:02
Default
  #3
New Member
 
@moon
Join Date: Apr 2019
Posts: 8
Rep Power: 7
TRIDEV G is on a distinguished road
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
TRIDEV G is offline   Reply With Quote

Old   May 7, 2019, 01:32
Default
  #4
Member
 
...
Join Date: May 2018
Posts: 37
Rep Power: 7
regard is on a distinguished road
Quote:
Originally Posted by TRIDEV G View Post
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
regard is offline   Reply With Quote

Old   May 7, 2019, 03:53
Default
  #5
New Member
 
@moon
Join Date: Apr 2019
Posts: 8
Rep Power: 7
TRIDEV G is on a distinguished road
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 !!
wyldckat and bikooo3878 like this.
TRIDEV G is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Gmsh] Insatlling gmsh from the source code-issue? CFD-Lover OpenFOAM Meshing & Mesh Conversion 20 June 12, 2018 06:39
wmake error zxj160 OpenFOAM 0 March 26, 2012 10:52
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
Problems Installing OF 1.6 32 bit bucksfan OpenFOAM Installation 19 August 4, 2009 01:36
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32


All times are GMT -4. The time now is 01:08.