<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">The error is probably caused by your "parallel code" section.<div><br><div><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">--</div><div dir="ltr">Huiwei</div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Feb 3, 2015 at 6:39 PM, Chafik sanaa <span dir="ltr"><<a href="mailto:san.chafik@gmail.com" target="_blank">san.chafik@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><div>when i run my code i have this error "process 1 exited without calling finalize" what is the cause? although I put a barrier before the end of my code</div><div><br></div><div>MPI_Init(&argc, &argv);</div><div><span style="white-space:pre-wrap"> </span>MPI_Comm_rank(MPI_COMM_WORLD, &rang_proc);</div><div><span style="white-space:pre-wrap"> </span>MPI_Comm_size(MPI_COMM_WORLD, &nbr_proc);</div><div>//parallel code </div><div>MPI_Barrier(MPI_COMM_WORLD);</div><div><span style="white-space:pre-wrap"> </span>MPI_Finalize();</div><div><br></div><div><br></div></div></div>
<br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br></div></div></div></div>