<html><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><META name="Author" content="Novell GroupWise WebAccess"></head><body style='font-family: Helvetica, Arial, sans-serif; font-size: 13px; '>Hi,<div><div style="font-family: Tahoma, sans-serif; font-size: 13px;"><br></div><div style="font-family: Tahoma, sans-serif; font-size: 13px;">I am trying to run my MPI program on multiple processes, but I get the below errors, attached is the code. The code runs fine on 1 process.</div><div style="font-family: Tahoma, sans-serif; font-size: 13px;"><br></div><div style="font-family: Tahoma, sans-serif; font-size: 13px;"><b>When running through Visual studio 2008:</b></div><div style="font-family: Tahoma, sans-serif; font-size: 13px;"><br></div><div><div><font face="Tahoma, sans-serif">buffer provided too short for path: 4096 provided, 0 needed</font></div><div><font face="Tahoma, sans-serif">launch failed: CreateProcess(""ABC-HP c:\Users\ABC\Desktop\BS\Debug\BS.e</font></div><div><font face="Tahoma, sans-serif">xe) on 'ABC-HP' failed, error 87 - The parameter is incorrect.</font></div><div><font face="Tahoma, sans-serif"><br></font></div><div><font face="Tahoma, sans-serif"><b>When running through command prompt:</b></font></div><div><div>Fatal error in PMPI_Scatter: Invalid count, error stack:</div><div>PMPI_Scatter(791): MPI_Scatter(sbuf=10030040, scount=-858993460, MPI_INT, rbuf=0</div><div>0000000, rcount=-858993460, MPI_INT, root=0, MPI_COMM_WORLD) failed</div><div>PMPI_Scatter(728): Negative count, value is -858993460</div><div>Enter number of elements to be sorted</div><div>job aborted:</div><div>rank: node: exit code[: error message]</div><div>0: ABC-HP: 1: process 0 exited without calling finalize</div></div></div><br><div>Please help.</div><br><div>Regards.</div></div></body></html>