Newsgroups: comp.parallel.mpi
From: hallstro@loon.mcs.anl.gov (Philip L. Hallstrom)
Subject: Standard Input for a slave process
Keywords: standard input slave process
Organization: Argonne National Laboratory
Date: 27 Mar 1995 20:33:29 GMT
Message-ID: <3l77ep$g5i@milo.mcs.anl.gov>

I have a two programs that run in parallel.  One runs on a sun and  
optimizes a funtion math calculation.  The other runs on a SGI and  
visualizes the calculation in real time.  My problem is that the sun  
program requires information from standard input; however it is not the  
master program, i.e. I start the processes by invoking the SGI program.   
When I run the programs, I get the following error:

Today       Now     
  Enter name of control file: 
dofio: [-1] end of file
logical unit 5, named 'stdin'
lately: reading sequential formatted external IO
part of last data: ^?^?^?^?^?^?^?^?^?^?^?^?|
IOT trap

"Enter name of control file:" is the prompt for the standard input that I  
need to give.  However, the program does not permit me to enter the  
filename before it prints the error.  How do I get info to a slave process  
via standard input?  I tried using redirection in the procgroup file, but
this does not work.

Philip L. Hallstrom

