<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><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 class="" style="white-space:pre">    </span>MPI_Comm_rank(MPI_COMM_WORLD, &rang_proc);</div><div><span class="" style="white-space:pre">     </span>MPI_Comm_size(MPI_COMM_WORLD, &nbr_proc);</div><div>//parallel code </div><div>MPI_Barrier(MPI_COMM_WORLD);</div><div><span class="" style="white-space:pre">       </span>MPI_Finalize();</div><div><br></div><div><br></div></div></div>