Strange error with MPI in C++ (Windows 7 bug??) -
i having strange problem mpi lately. using visual studio 2010 on windows 7 x64. working on larger software, uses mpi parallelization. worked fine until february (the source code not changed). however, month started dropping strange error messages. tried on different computers win7, same result... whole code of course large submit, tried reproduce in shorter form. problem simple. cores of program try start software (in actual code not @ same time). simple system() function used. problem easy reproduce couple of different softwares (i use parametric cad softwares), example pasted version gimp. if code looks this:
int main(int argc, char* argv[]) { int l_iresult=mpi_init (&argc, &argv); system("\"d:\\program files\\gimp 2\\bin\\gimp-2.8.exe\""); mpi_finalize(); return 1; } then executed correctly "program.exe" command. if start "mpiexec -n 1 program.exe", not work. programs drop different error messages, program system responds, executable not existing (i use absolute path, , in serial mode can found). although should execute in same way. use argonne lab mpich2 1.4.1p1 (http://www.mpich.org/downloads/). maybe missing detail, fact, same program worked on computer 2 months ago, , not work leaves me conclusion, caused os update. although have no idea how , why happen.
best regards, xoranus
Comments
Post a Comment