[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

[OMPI users] Re : Yet another stdin problem

2009-10-07 Thread Kilou Zelabia
er 7 Octobre 2009, 17 h 06 min 55 s Objet : Re: [OMPI users] Yet another stdin problem Why not modify your program to read inputs.txt instead of stdin? 2009/10/7 Kilou Zelabia <kilou_zella...@yahoo.fr>: > Dear all, > > I'm trying to lunch an MPI program using the command > >

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

2009-10-08 Thread Kilou Zelabia
tdin problem 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 <kilou_zella...@yahoo.fr>: > Ok thanks! > That's a solution but i was wondering if there could exist a more elegant > one ?