I am currently running the code by using
mpirun -np 4 abc.exe < test.in>out
abc.exe is my executed file, I list my input values in test.in as
I run the same code by using intel mpi, it's fine, it can read
parameters from stdin. But when I use open mpi, it's incorrect. It
seems openmpi just put some strange character into the stdin, so my
code dosen't accept that parameters and it stops.
Dose anyone has this kind of problems.