Re: [OMPI users] function fgets hangs a mpi program when it is used ompi-ps command

2010-09-23 Thread Matheus Bersot Siqueira Barros
gt; >> What does ps show when your program is hung? >> >> >> >> On Sep 17, 2010, at 3:13 PM, Matheus Bersot Siqueira Barros wrote: >> >> > Open MPI Version = 1.4.2 >> > OS = Ubuntu 10.04 LTS and CentOS 5.3 >> > >> > When I run the

[OMPI users] function fgets hangs a mpi program when it is used ompi-ps command

2010-09-17 Thread Matheus Bersot Siqueira Barros
Open MPI Version = 1.4.2 OS = Ubuntu 10.04 LTS and CentOS 5.3 When I run the mpi program below in the terminal, the function fgets hangs. How do I know it? I do a printf before and later the call of fgets and only the message "before fgets()" is showed. However, when I run the same program at Ecl