LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Adams Samuel D Contr AFRL/HEDR (Samuel.Adams.ctr_at_[hidden])
Date: 2006-02-22 18:07:00


I have been having problems running code on some of our new boxes. This is
an old parallel Forntran 90 code that asks for user input from stdin. What
we do is just put the input in to a file a just use redirection something
like this:

$ mpirun C fortran_program < input_file -options ...

We have been doing it like this forever, and is presently working fine on
our Fedora Core 2 cluster. I need to update the cluster to Fedora Core 3,
and eventually Fedora Core 4. I can get the code to compile fine on FC3,
and FC4, but the problem is with the redirection. It seems to ignore the
redirection. You can type the data by hand and the program will work like
normal, but I need it to work with the batch system without human input. Is
this a bash thing, or is it something with mpirun? I don't have a clue; it
seems weird to me.

Sam Adams
General Dynamics - Network Systems
Phone: 210.536.5945