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 th
users] Yet another stdin problem
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 entri
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 source level
>
>