Re: [OMPI users] Yet another stdin problem

2009-10-07 Thread Roman Cheplyaka
Why not modify your program to read inputs.txt instead of stdin?

2009/10/7 Kilou Zelabia :
> Dear all,
>
> I'm trying to lunch an MPI program using the command
>
> mpirun -np 64 my_exe < inputs.txt
>
> inputs.txt actually contains the entries that  are read by all processes
> however it seems that openmpi redirect the stdin only to the processes with
> rank 0. with leads to a segmentation fault on the other processes.
> The option "-stdin rank" doesn't help since i need all processes read the
> inputs.txt file.
>
> I'v tested with openmpi 1.3 and 1.2 whitout success.
>
> Thanks in advance for you help.
>
> Zellabia. S
>
>
>
>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>



-- 
Roman I. Cheplyaka



[OMPI users] Yet another stdin problem

2009-10-07 Thread Kilou Zelabia
Dear all,

I'm trying to lunch an MPI program using the command

mpirun -np 64 my_exe < inputs.txt

inputs.txt actually contains the entries that  are read by all processes 
however it seems that openmpi redirect the stdin only to the processes with 
rank 0. with leads to a segmentation fault on the other processes.
The option "-stdin rank" doesn't help since i need all processes read the 
inputs.txt file.

I'v tested with openmpi 1.3 and 1.2 whitout success.

Thanks in advance for you help.

Zellabia. S