1

I have a poblem with mpich2. I've written program in C++ using MPI. The program has been compiled successfully, but when I try to run the program I get an

 error:unable to read the cmd header on the pmi context, error = -1.

I have tried to reinstall the mpich, but the problem wasn't solved.

Does someone know how to solve the problem? Thanks!

4

2 回答 2

3

您的系统中有多个来自不同供应商的 mpiexec.exe 文件。例如,一个来自c:\program files\mpich2\bin和一个来自c:\program files\microsoft hpc pack 2008 r2\bin

尝试禁用其中之一。

于 2013-04-16T03:33:03.327 回答
0

就我而言,这种类型的消息是由 AVAST shield 引起的。我禁用了它,一切都开始顺利进行。

于 2014-07-19T00:17:40.780 回答