[mpich-discuss] spawn function problem

sherif mohamed sherif51987 at gmail.com
Sun Mar 4 15:23:18 CST 2012


I made an independent scheduler to manage MPI_COMM_Spawn processes to
optimize the cluster resources but i have a problem while i want to
run fibonnaci program that uses MPI_COMM_Spawn in it like recursion
program but the new process will be spawned in another machine
according to my scheduler but i have problem when i tried to spawn
more than 8 procesess it gives me this problem :
Fatal error in MPI_Comm_spawn: Other MPI error, error stack:
MPI_Comm_spawn(145).............................:
MPI_Comm_spawn(cmd="./fibonacci", argv=0xbfad8fc4, maxprocs=1,
info=0x9c000002, root=0, MPI_COMM_SELF, intercomm=0xbfad8e60,
errors=0xbfad8e64) failed
MPIDI_Comm_spawn_multiple(230)..................:
MPID_Comm_accept(153)...........................:
MPIDI_Comm_accept(937)..........................:
MPIDI_Create_inter_root_communicator_accept(205):
MPIDI_CH3I_Progress(150)........................:
MPID_nem_mpich2_blocking_recv(948)..............:
MPID_nem_tcp_connpoll(1720).....................:
state_commrdy_handler(1556).....................:
MPID_nem_tcp_recv_handler(1446).................: socket closed
Fatal error in MPI_Comm_spawn: Other MPI error, error
stack:MPI_Comm_spawn(145).............................:
MPI_Comm_spawn(cmd="./fibonacci", argv=0xbfad8fc4, maxprocs=1,
info=0x9c000002, root=0, MPI_COMM_SELF, intercomm=0xbfad8e60,
errors=0xbfad8e64)
failedMPIDI_Comm_spawn_multiple(230)..................:
MPID_Comm_accept(153)...........................:
MPIDI_Comm_accept(937)..........................:
MPIDI_Create_inter_root_communicator_accept(205):
MPIDI_CH3I_Progress(150)........................:
MPID_nem_mpich2_blocking_recv(948)..............:
MPID_nem_tcp_connpoll(1720).....................:
state_commrdy_handler(1556).....................:
MPID_nem_tcp_recv_handler(1446).................: socket closed
and i tried to run this fibonnaci program by using MPI 2 library but i
have the same error but the question is why it can't spawn more than 8
processes in the same machine or when i run each spawn processes in
each machine?

-- 

"Life is our life's work"
Best Regards,
Sherif Abd Elazim Mohamed
Bsc. Computer Science - Cairo University
TA.   Computer Science - Future University


More information about the mpich-discuss mailing list