[OMPI users] Hybrid MPI/Pthreads program behaves differently on two different machines with same hardware

2011-10-24 Thread 吕慧伟
Dear List, I have a hybrid MPI/Pthreads program named "my_hybrid_app", this program is memory-intensive and take advantage of multi-threading to improve memory throughput. I run "my_hybrid_app" on two machines, which have same hardware configuration but different OS and GCC. The problem is: when I

Re: [OMPI users] Hybrid MPI/Pthreads program behaves differently on two different machines with same hardware

2011-10-24 Thread Ralph Castain
Does the difference persist if you run the single process using mpirun? In other words, does "mpirun -np 1 ./my_hybrid_app..." behave the same as "mpirun -np 2 ./..."? There is a slight difference in the way procs start when run as singletons. It shouldn't make a difference here, but worth test

Re: [OMPI users] Hybrid MPI/Pthreads program behaves differently on two different machines with same hardware

2011-10-24 Thread 吕慧伟
- Huiwei Lv On Tue, Oct 25, 2011 at 12:00 AM, wrote: > > Date: Mon, 24 Oct 2011 07:14:21 -0600 > From: Ralph Castain > Subject: Re: [OMPI users] Hybrid MPI/Pthreads program behaves > differently on two different machines with same hardware > To: Open MPI Users > Message

Re: [OMPI users] Hybrid MPI/Pthreads program behaves differently on two different machines with same hardware

2011-10-25 Thread Ralph Castain
> > Date: Mon, 24 Oct 2011 07:14:21 -0600 > From: Ralph Castain > Subject: Re: [OMPI users] Hybrid MPI/Pthreads program behaves >differently on two different machines with same hardware > To: Open MPI Users > Message-ID: <42c53d0b-1586-4001-b9d2-d77af0033...@o

Re: [OMPI users] Hybrid MPI/Pthreads program behaves differently on two different machines with same hardware

2011-10-25 Thread 吕慧伟
e number of threads, but run "mpirun -np 2 ./..." decrease the > performance. > > -- > Huiwei Lv > > On Tue, Oct 25, 2011 at 12:00 AM, wrote: > >> >> Date: Mon, 24 Oct 2011 07:14:21 -0600 >> From: Ralph Castain >> Subject: Re: [OMPI users] Hybr

Re: [OMPI users] Hybrid MPI/Pthreads program behaves differently on two different machines with same hardware

2011-10-25 Thread Ralph Castain
2 ./..." decrease the >> performance. >> >> -- >> Huiwei Lv >> >> On Tue, Oct 25, 2011 at 12:00 AM, wrote: >> >> Date: Mon, 24 Oct 2011 07:14:21 -0600 >> From: Ralph Castain >> Subject: Re: [OMPI users] Hybrid MPI/Pthreads p

Re: [OMPI users] Hybrid MPI/Pthreads program behaves differently on two different machines with same hardware (solved)

2011-10-28 Thread 吕慧伟
quot; >> and "mpirun -np 2 ./...". >> >> Run "mpirun -np 1 ./my_hybrid_app..." will increase the performance with >> more number of threads, but run "mpirun -np 2 ./..." decrease the >> performance. >> >> -- >> Huiwei Lv &g