On Jun 15, 2006, at 5:22 PM, YoungHui Amend wrote:
> I'm running mpirun with application schema file so, the stdout/stderr
> redirections are being interpreted as parameters to the TWTgenfm
> command.
>
> this is my mpirun command:
> mpirun -ssi rpi tcp $applicationSchemafile
>
> Here's my application schema file:
> n0 TWTgen parallelprocess=yes experiment=ya switchppatratio=0.2
> lapgs=no
> n1 TWTgenfm experiment=ya switchppatratio=0.2 lapgs=no 2>&1 >
> /tmp/lam_out.29805.1
> n2 TWTgenfm experiment=ya switchppatratio=0.2 lapgs=no 2>&1 >
> /tmp/lam_out.29805.2
>
> Any other suggestion???
You can not redirect stdout/stderr inside an app schema. In LAM, all
stdout and stderr from all MPI applications *always* are emitted via
mpirun's stdout and stderr.
If you need more fine grained stdout/stderr redirection, John's idea
of a shell script that is launched in your app schema that starts the
real MPI process and redirects stdout/stderr is probably your best bet.
Hope this helps,
Brian
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|