[MPICH] Where is entry point of smpd to access socket request? - smpd_enter_at_state()

Jayesh Krishna jayesh at mcs.anl.gov
Mon Nov 19 09:28:57 CST 2007


 Hi,
  Yes, smpd_launch_process gets called (eventually) from
smpd_enter_at_state().

(PS:  smpd_enter_at_state() --> smpd_handle_op_read() -->
smpd_state_reading_cmd() --> smpd_handle_command() -->
smpd_handle_launch_command() --> smpd_launch_process() 

      If you are using Visual Studio, Right-Click on function name and
select "Call Browser --> Show Caller's graph")

Regards,
Jayesh

-----Original Message-----
From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Ruini Xue
Sent: Monday, November 19, 2007 2:06 AM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] Where is entry point of smpd to access socket request?

Hello,

  SMPD uses CreateProcess() (in pm/smpd/smpd_launch_process.c) to create an
MPI process, and the newly created process calls:

 
MPI_Init()-->MPID_Init()-->InitPG()-->PMI_Init()->iPMI_Init()-->pmi_create_p
ost_command()-->smpd_enter_at_state()

  to exchange information with SMPD.

  I want to know where is the entry point in SMPD to accept these requests
in smpd_enter_at_state()?


Best

Andrew





More information about the mpich-discuss mailing list