[SCore-users] mpirun STDIN usage with Score
Bogdan Costescu
bogdan.costescu at iwr.uni-heidelberg.de
Fri Sep 27 23:54:48 JST 2002
On Fri, 27 Sep 2002, Emile CARCAMO wrote:
> Following is an elementary MPI test which uses stdin as
> input data. If an open on unit 5 is not performed, it is
> not possible to read this file using an redirection :
You need to use "scatter" in conjunction with "scrun" to distribute stdin
from the master node to the client node(s). F.e. to distribute your input
file to only the first process of the job (rank 0), you should do
something like:
scrun -nodes=8 scatter -node 0 == program < input
This is covered in the man pages.
--
Bogdan Costescu
IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
E-mail: Bogdan.Costescu at IWR.Uni-Heidelberg.De
More information about the SCore-users
mailing list