Re: [OMPI users] Re : Yet another stdin problem

2009-10-07 Thread Ralph Castain
FWIW: an upcoming version will have the ability for you to specify all ranks to receive stdin...but that's a little ways off. For now, only rank=0 does. On Oct 7, 2009, at 9:42 AM, Roman Cheplyaka wrote: As a slight modification, you can write a wrapper script #!/bin/sh my_exe < inputs.txt

Re: [OMPI users] Re : Yet another stdin problem

2009-10-07 Thread Ashley Pittman
Or better still if you want to be able to pass the filename and args on the mpirun command line use the following and then run it as mpirun -np 64 ./input_wrapper inputs.txt my_exe #!/bin/bash FILE=$1 shift "$@" < $FILE In general though using stdin on parallel applications is rarely a good

Re: [OMPI users] Re : Yet another stdin problem

2009-10-07 Thread Roman Cheplyaka
As a slight modification, you can write a wrapper script #!/bin/sh my_exe < inputs.txt and pass it to mpirun. 2009/10/7 Kilou Zelabia : > Ok thanks! > That's a solution but i was wondering if there could exist a more elegant > one ? means without any modification at the

[OMPI users] Re : Yet another stdin problem

2009-10-07 Thread Kilou Zelabia
Ok thanks! That's a solution but i was wondering if there could exist a more elegant one ? means without any modification at the source level De : Roman Cheplyaka À : Open MPI Users Envoyé le : Mer 7 Octobre