Newsgroups: comp.parallel.mpi
From: gdburns@osc.edu (Greg Burns)
Subject: Re: Capturing LAM output?
Organization: Ohio Supercomputer Center
Date: 13 Jun 1995 13:51:21 -0400
Message-ID: <3rkj6p$5rv@tbag.osc.edu>

In article <3rg8gj$fce@nuscc.nus.sg> koonmeng@nsrc.nus.sg (Cheshire Cat) writes:
>Hi, I am running LAM as an at job (for some intensive CFD computations), but
>the executable code prints the results on the terminal screen.  Since it's an
>at job, I don't own a tty, so is it possible to direct the results into a
>file?
>
>The standard UNIX redirections don't work, and the '-o' option for LAM's
>mpirun won't work either (empty output file).
>
>I am using LAM v5.2.1 (patched).  Help!

It's hard to say exactly without knowing how you set up your job and
if you used LAM remote file services, but two pointers come to mind:

* UNIX standard I/O is inherited from the daemon if mpirun is used, not from
  mpirun.

* -o refers to LAM remote file services.  You need to use tprint(), etc.
  and/or rfwrite(), etc to see its effect.

-=-
Greg Burns				gdburns@tbag.osc.edu
Ohio Supercomputer Center		http://www.osc.edu/lam.html
MPI Developer's Conference, June 21-23 @ Notre Dame

