Re: [OMPI users] getc in openmpi

2010-05-15 Thread Ralph Castain
On May 12, 2010, at 1:01 PM, Fernando Lemos wrote: > On Wed, May 12, 2010 at 2:51 PM, Jeff Squyres wrote: >> On May 12, 2010, at 1:48 PM, Hanjun Kim wrote: >> >>> I am working on parallelizing my sequential program using OpenMPI. >>> Although I got performance speedup using many threads, there

Re: [OMPI users] getc in openmpi

2010-05-12 Thread Jeff Squyres
On May 12, 2010, at 3:01 PM, Fernando Lemos wrote: > Please correct me if I'm wrong, but I believe OpenMPI sends > stdin/stdout from the other ranks back to rank 0 so that the output is > displayed as the stdin of mpirun and the other way around with > stdout/stderr. Otherwise it wouldn't be possi

Re: [OMPI users] getc in openmpi

2010-05-12 Thread Fernando Lemos
On Wed, May 12, 2010 at 2:51 PM, Jeff Squyres wrote: > On May 12, 2010, at 1:48 PM, Hanjun Kim wrote: > >> I am working on parallelizing my sequential program using OpenMPI. >> Although I got performance speedup using many threads, there was >> slowdown on a small number of threads like 4 threads.

Re: [OMPI users] getc in openmpi

2010-05-12 Thread Jeff Squyres
On May 12, 2010, at 1:48 PM, Hanjun Kim wrote: > I am working on parallelizing my sequential program using OpenMPI. > Although I got performance speedup using many threads, there was > slowdown on a small number of threads like 4 threads. > I found that it is because getc worked much slower than s

[OMPI users] getc in openmpi

2010-05-12 Thread Hanjun Kim
Hi, I am working on parallelizing my sequential program using OpenMPI. Although I got performance speedup using many threads, there was slowdown on a small number of threads like 4 threads. I found that it is because getc worked much slower than sequential version. Does OpenMPI override or wrap ge