Hi, <br><br>I would like to make example program cpi.c to be able to run wih one or more arguments, for example:<br><br>mpiexec cpi.exe 1000<br><br>where 1000 is, say, number of rectangles.<br><br>I saw that MPI_Init(&amp;argc,&amp;arv) uses argumets passed to main method, but not more than that..<br>
<br>how can I acheve passing number of rectangles to cpi.exe?<br><br>I attached original version of cpi.c<br><br>Sole<br><br>