<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi, <BR> <BR>I am using MPICH2 on windows 7, and I have two questions:<BR>1- when i try to launch a process with MPI_comm_spawn using MPI_ARGV_NULL, it work normally but when i use an array of arguments the job abort; the call for the function is like that : <BR> <BR>char *arg_array[4]; <br>for (int i=0; i<4; i++)<br> arg_array[i] = new char[255];<br> <br>int level = 15, next = 4, range = 5;<br>itoa(level, arg_array[0], 10); <br>itoa(next, arg_array[1], 10);<br>itoa(range, arg_array[2], 10);<BR> <BR>MPI_Comm_spawn("testMPI.exe", arg_array, 1, MPI_INFO_NULL, 0, MPI_COMM_SELF, &intercom, MPI_ERRCODES_IGNORE);<BR> <BR>2- Is it possible to launch the spawned child on another console (a new console window in the same pc); maybe using the info keys?<BR> <BR>best Regards,<BR>Toufik,<BR><font size="2" face="Consolas"><font size="2" face="Consolas"></font></font>                                            </div></body>
</html>