Newsgroups: comp.parallel.mpi
From: Andy Lee <ug940211@omega.scs.carleton.ca>
Reply-To: ug940211@omega.scs.carleton.ca
Subject: MPI and Standard Input
Organization: Carleton University
Date: Thu, 26 Sep 1996 08:47:23 -0400
Mime-Version: 1.0
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: 7bit
Message-ID: <324A7B5B.11EE@omega.scs.carleton.ca>

I am using LAM to run my parallel application on LINUX.
Anyone know how to prompt a user for a string input?
It seems that scanf() is not working if I do something like that
 
 ....
 char aString[100];
 ....
 printf ("Please enter a string: ");
 scanf ("%s", aString);
 ....

Andy Lee

