<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=265164501-04112008><FONT face=Arial
color=#0000ff size=2>You can't pass MPI::ROOT to Spawn_multiple. You have to
give the rank of the process in COMM_WORLD that is the root.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=265164501-04112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=265164501-04112008><FONT face=Arial
color=#0000ff size=2>Rajeev</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mpich-discuss-bounces@mcs.anl.gov
[mailto:mpich-discuss-bounces@mcs.anl.gov] <B>On Behalf Of
</B>fernando_luz<BR><B>Sent:</B> Monday, November 03, 2008 2:35
PM<BR><B>To:</B> mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [mpich-discuss]
Problems with mpi spawn multiple<BR></FONT><BR></DIV>
<DIV></DIV>Hello,<BR><BR>I have problems when i try use spwan multiple in
mpich2 (1.0.7 version)<BR><BR>I receive this error when i execute my
code:<BR><BR>[0]Fatal error in MPI_Comm_spawn_multiple: Other MPI error, error
stack:<BR>[0]MPI_Comm_spawn_multiple(152)..: MPI_Comm_spawn_multiple(count=2,
cmds=0x816b080, argvs=(nil), maxprocs=0x816afc0, infos=0x81a1600, root=-3,
MPI_COMM_WORLD, intercomm=0xbfa96f24, errors=(nil))
failed<BR>[0]MPID_Comm_spawn_multiple(56)..:
<BR>[0]MPIDI_Comm_spawn_multiple(203): <BR>[0]MPID_Comm_accept(149).........:
<BR>[0]MPIDI_Comm_accept(974)........: Unable to allocate -45393952 bytes of
memory for remote_translation (probably out of memory)<BR><BR>job
aborted:<BR>rank: node: exit code[: error message]<BR>0: a53: -2: Fatal error
in MPI_Comm_spawn_multiple: Other MPI error, error
stack:<BR>MPI_Comm_spawn_multiple(152)..: MPI_Comm_spawn_multiple(count=2,
cmds=0x816b080, argvs=(nil), maxprocs=0x816afc0, infos=0x81a1600, root=-3,
MPI_COMM_WORLD, intercomm=0xbfa96f24, errors=(nil))
failed<BR>MPID_Comm_spawn_multiple(56)..: <BR>MPIDI_Comm_spawn_multiple(203):
<BR>MPID_Comm_accept(149).........: <BR>MPIDI_Comm_accept(974)........: Unable
to allocate -45393952 bytes of memory for remote_translation (probably out of
memory)<BR><BR><BR>my code when I supose have a problem:<BR><BR>universe_size
= 3;<BR><BR> for (int i = 0; i < universe_size-1;
i++){<BR> strcpy(program_name[i], "worker_02");
<BR> information[i] =
information[i].Create();<BR>
information[i].Set("wdir","/home/fernando_luz/");<BR>
information[i].Set("path","/home/fernando_luz/SVN/TPN3/casos_testes/02/worker_02/");<BR>
information[i].Set("host","10.2.7.53");<BR> n_proc[i] =
1;<BR> }<BR> everyone =
MPI::COMM_WORLD.Spawn_multiple(universe_size-1, (const char**) program_name,
MPI::ARGVS_NULL, n_proc, information, MPI::ROOT);<BR>anybody have
ideas?<BR><BR>Thanks <BR><BR>Fernando Luz </BLOCKQUOTE></BODY></HTML>