LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Kemp, Eric M. (eric.kemp_at_[hidden])
Date: 2004-06-08 14:20:30


Dear LAM-MPI's:

I am using LAM 6.5.6 on an Intel Xeon cluster, and I am encountering a problem with lamexec. My intent is to run several non-MPI programs on individual nodes, but the programs require reading in a Fortran NAMELIST file that is normally redirected to standard input like this:

program < program.input

When using lamexec, I have been using this approach:

lamexec n# program < program.input

When I run a program on the n0 node, the program successfully reads in the file. However, when I use another node, I receive a Fortran error message stating that the input file ended prematurely. The nodes have access to the same directories via NFS, and a test command "lamexec n1 /bin/pwd" confirms that the directory is viewable from the external node. My guess is that I am not redirecting the NAMELIST file correctly, but I have not found any example in the LAM documentation where the < operator is used with lamexec.

Can anyone help me?

Eric Kemp
Northrop Grumman IT TASC