-
Notifications
You must be signed in to change notification settings - Fork 924
Closed
Labels
Description
I have problem redirecting stdout to a file using mpirun > and openmpi-2.0.2, while openmpi-1.4.3 works as expected.
- Simple test script
test.sh
:
#!/bin/bash
while true
do
sleep 5
echo -n "."
done
-
Run test:
mpirun -n 4 ./test.sh > out& tail -f out
-
Expected behaviour (1.4.3): out gets progressively filled with dots
-
Wrong behaviour (2.0.2): out is empty all the time; stderr:
[warn] Epoll ADD(4) on fd 1 failed. Old events were 0; read change was 0 (none); write change was 1 (add); close change was 0 (none): Operation not permitted
On the other hand, this works also in 2.0.2
mpirun -n 4 ./test.sh | tee out
I'm on Gentoo Linux. Original bugreport.