[SCore-users-jp] Re: [SCore-users] mpirun STDIN usage with Score
Bogdan Costescu
bogdan.costescu @ iwr.uni-heidelberg.de
2002年 9月 27日 (金) 23:54:48 JST
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 @ IWR.Uni-Heidelberg.De
_______________________________________________
SCore-users mailing list
SCore-users @ pccluster.org
http://www.pccluster.org/mailman/listinfo/score-users
SCore-users-jp メーリングリストの案内