Failed to launch mpi.exe

Feb 6, 2022 at 9:35pm
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 Feb 6, 2022 at 9:36pm
Feb 6, 2022 at 9:43pm
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 Feb 7, 2022 at 9:43pm
Feb 9, 2022 at 4:32am
Thanks for your answer.
Topic archived. No new replies allowed.