|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Ankit Dave
Join Date: Aug 2016
Location: India
Posts: 11
Rep Power: 10 ![]() |
Hi,
I am new to OpenFOAM and trying to simulate run employing all 4 processor my machine have. I have looked into user guide and many forums about it, but still didn't find a way to fix this problem. when I try to run following command; mpirun -np 4 simpleFoam -parallel it gives me followng error; -bash: mpirun: command not found will you guys please help me figure it out? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Ruben Di Battista
Join Date: May 2013
Location: Paris
Posts: 137
Rep Power: 13 ![]() |
Well, it says what it says. Did you install an mpi implementation like openmpi or mpich? Did you compile OpenFoam by yourself?
Sent by my Honor 8 using Tapatalk |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Ankit Dave
Join Date: Aug 2016
Location: India
Posts: 11
Rep Power: 10 ![]() |
Hi Ruben,
Thank you for your reply. Yes I did installed "msmpi" on windows platform. Yet, it is not working. |
|
![]() |
![]() |
![]() |
![]() |
#4 | |
Senior Member
Ruben Di Battista
Join Date: May 2013
Location: Paris
Posts: 137
Rep Power: 13 ![]() |
Quote:
Sent by my Honor 8 using Tapatalk |
||
![]() |
![]() |
![]() |
![]() |
#5 | |
New Member
Ankit Dave
Join Date: Aug 2016
Location: India
Posts: 11
Rep Power: 10 ![]() |
Quote:
while executing ./Allwmake in following directory; /cygdrive/c/OpenFOAM/16.10/cygwin64/opt/OpenFOAM/OpenFOAM-3.0.x/src/Pstream it returned with this; touch: cannot touch '/opt/OpenFOAM/OpenFOAM-3.0.x/platforms/cygwin64mingw-w64DPInt32OptMSMPI/src/Pstream/mpi/using:msmpi': No such file or directory I executed above command as I am getting error, "-bash: mpirun: command not found" while executing "mpirun -np 4 simpleFoam -parallel" after decomposing the domain. I am not able to fix it, so far. I am checking documentation available on this. No luck so far. |
||
![]() |
![]() |
![]() |
![]() |
#6 | |
Senior Member
Ruben Di Battista
Join Date: May 2013
Location: Paris
Posts: 137
Rep Power: 13 ![]() |
Quote:
As I said I'm no expert with cygwin, but could you install an MPICH or OpenMPI on it? It seems to be available: https://cygwin.com/cgi-bin2/package-...i?grep=openmpi |
||
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Ankit Dave
Join Date: Aug 2016
Location: India
Posts: 11
Rep Power: 10 ![]() |
Hi Ruben,
I solved the problem by executing command mpiexec instead of msmpi. Btw, Thanks for your support. Best Wishes, Ankit |
|
![]() |
![]() |
![]() |
Tags |
cygwin, msmpi, openfoam |
|
|