[MPICH] how stdio is redirected in MPICH2-windows?

Jayesh Krishna jayesh at mcs.anl.gov
Tue Oct 23 11:35:02 CDT 2007


Hi,
 Look into the code for the SMPD process manager where it launches the
process and redirects the stdin/stdout (src\pm\smpd\smpd_launch_process.c).
You might want to take a look at the following functions,

smpd_launch_process() ---> smpd_launch_process.c
smpd_make_socket_loop_choose()  ---> smpd_connect.c
smpd_make_socket_loop() ---> smpd_connect.c

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: Tuesday, October 23, 2007 1:26 AM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] how stdio is redirected in MPICH2-windows?

Hello,

How does the windows version of MPICH2 redirect stdio of processes whose
ranks is greater than 0 to rank 0? Which part of the code make it?

Best

Andrew





More information about the mpich-discuss mailing list