[mpich-discuss] System call and Connection refused
Pavan Balaji
balaji at mcs.anl.gov
Sun Feb 20 13:27:45 CST 2011
You'll need to fork out execute the child as a different process to
allow for the server and client to make progress independently.
Alternatively, you should consider using MPI dynamic processes -- you
should be able to google for it.
-- Pavan
On 02/19/2011 08:10 PM, Tiago Soares wrote:
> Dear All
>
> I'm face with a problem that I can't imagine why it is happening.
> Probably it is not a MPI problem, but I will be grateful for any help.
>
> Basically, I have a Client, which is a master(rank 0) of mpi
> application, and Server (all programming in C), which they communicate
> by sockets.
> When I run the both separated, I mean in different shells , works fine.
>
> But, when I made the Server call the Client (by the function
> "system()"), I received this error:
> "Connect: Connection refused"
>
> I'm wondering what is the different between the both running methods,
> permission?
>
> Regards
>
> Tiago
>
> --
>
> Tiago Steinmetz Soares
> Computer Science - UFSC
>
>
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
--
Pavan Balaji
http://www.mcs.anl.gov/~balaji
More information about the mpich-discuss
mailing list