While trying to debug a Fortran code within Visual Studio 2010 mpiexec cannot start the executable, failing with error while connecting to host: "No connection could be made because machine actively refused it (10061)"
MPICH2 appears to be installed correctly, as I can run the same and other programs from the command line, e.g."mpiexec -n 8 cpi".
The program I'm trying to debug links fine and runs for a while, until it crashes, when executed from the command line, as in example above.
Any ideas or suggestions greatly appreciated.