[mpich-discuss] MPI error, help needed

Suvarna Arakh arakhs at cwu.EDU
Wed Mar 27 14:48:54 CDT 2013


Hi,

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.


When running through Visual studio 2008:


buffer provided too short for path: 4096 provided, 0 needed
launch failed: CreateProcess(""ABC-HP c:\Users\ABC\Desktop\BS\Debug\BS.e
xe) on 'ABC-HP' failed, error 87 - The parameter is incorrect.


When running through command prompt:
Fatal error in PMPI_Scatter: Invalid count, error stack:
PMPI_Scatter(791): MPI_Scatter(sbuf=10030040, scount=-858993460, MPI_INT, rbuf=0
0000000, rcount=-858993460, MPI_INT, root=0, MPI_COMM_WORLD) failed
PMPI_Scatter(728): Negative count, value is -858993460
Enter number of elements to be sorted
job aborted:
rank: node: exit code[: error message]
0: ABC-HP: 1: process 0 exited without calling finalize



Please help.

Regards.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130327/41e5bd47/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bubblesort.c
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130327/41e5bd47/attachment.c>


More information about the discuss mailing list