JonghoKim
JonghoKim

Reputation: 1995

MPICH2 unable to exectue mpiexec in Windows 7

After installing MPICH2 in Windows 7, I tried mpiexec -n 2 cpi in \MPICH2\examples folder. But I got error message.

Fatal protocol error: check version between Mpiexec.exe, Msmpi.dll, and Smpd.exe.

Upvotes: 2

Views: 2331

Answers (2)

Alexander Korovin
Alexander Korovin

Reputation: 1475

1) In addition you can check the folders using

where mpiexec.exe
where smpd.exe
where msmpi.dll

2) Also you can uninstall one of your MPI instalation (or reinstall it - sometime it works).

3) Another solution is to link statically.

Upvotes: 1

Igor
Igor

Reputation: 15893

You may have another mpiexec.exe in one of the folders of the system path. Try specifying full path in front, such as: "C:\Program Files\MPICH2\bin\mpiexec.exe".

Upvotes: 2

Related Questions