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 in WSL with Ubuntu bash problem (https://www.cfd-online.com/Forums/openfoam-solving/218801-mpirun-wsl-ubuntu-bash-problem.html)

shot July 4, 2019 10:03

mpirun in WSL with Ubuntu bash problem
 
1812 is running fine serial in WSL with Ubuntu bash

with parallel mpirun getting the following problem:
Code:

mpirun –np 2 buoyantBoussinesqSimpleFoam.exe –parallel
Code:

--------------------------------------------------------------------------
mpirun was unable to find the specified executable file, and therefore
did not launch the job.  This error was first reported for process
rank 0; it may have occurred for other processes as well.

NOTE: A common cause for this error is misspelling a mpirun command
      line parameter option (remember that mpirun interprets the first
      unrecognized command line token as the executable).

Node:      LEMM07
Executable: –np
--------------------------------------------------------------------------
2 total processes failed to start

I don't see the real cause of the problem.

Thx for any advice

Krao July 4, 2019 11:01

Hi Heinrich,

May I know why are you using buoyantBoussinesqSimpleFoam.exe instead of only buoyantBoussinesqSimpleFoam in the following command

mpirun –np 2 buoyantBoussinesqSimpleFoam.exe –parallel


All times are GMT -4. The time now is 21:16.