Failed to launch mpi.exe

I am running a code with 64 processors using mpiexec -np 64 mpi.exe, but I'm getting the error "failed to launch mpi.exe, cannot find the file specified".
Any help would be appreciated.
Last edited on
You could use Process Monitor (the sysinternals tool, AKA ProcMon) and monitor all activity from mpiexec (use a filter) to see what file it's trying to find when it says it can't find the file specified.

But I did a quick search of the error, maybe it's a problem with either the place you're running the program from, or that it can't find mpi.exe on your PATH. So maybe try adding the location of mpi.exe to your path.

Edit: s/Explorer/Monitor
Last edited on
Thanks for your answer.
Topic archived. No new replies allowed.