Re: [OMPI users] speed up this problem by MPI

2010-01-28 Thread Natarajan CS
Hi Tom, sorry to add something in the same vein as Eugene's reply. i think this is an excellent resource http://ci-tutor.ncsa.illinois.edu/login.php. It's a great online course and detailed! Before I took proper classes, this helped me a lot!! On Thu, Jan 28, 2010 at 7:05 PM, Tim wrote:

Re: [OMPI users] Q regarding MPI_SHORT and MPI_Isend

2009-11-24 Thread Natarajan CS
Thanks everyone for the reply and happy Turkey day! Cheers! On Tue, Nov 24, 2009 at 10:46 AM, Jeff Squyres wrote: > On Nov 23, 2009, at 4:49 PM, Natarajan CS wrote: > > Oh okay that explains the behaviour of MPI_SHORT, guess sizeof is going to >> give me the same value

Re: [OMPI users] Q regarding MPI_SHORT and MPI_Isend

2009-11-23 Thread Natarajan CS
Oh okay that explains the behaviour of MPI_SHORT, guess sizeof is going to give me the same value no matter what MPI_Datatype I use? Thanks for the quick response! On Mon, Nov 23, 2009 at 2:33 PM, Edmund Sumbar wrote: > On Mon, 23 Nov 2009, Natarajan CS wrote: > > [...] > >

[OMPI users] Q regarding MPI_SHORT and MPI_Isend

2009-11-23 Thread Natarajan CS
Hello all, I have 2 rather simple questions and have been scratching my head for the last hour for an answer. Probably just need a fresh pair of eyes!. My MPI lib is Intel MPI 3.2.1 The code segment that has been the bane of my last hour of existence is : if (MPI_Bcast(ssx,tp, MPI

Re: [OMPI users] MPI-Send for entire entire matrix when allocating memory dynamically

2009-10-30 Thread Natarajan CS
a new double [N*N]; >>> >>> for(int i=0;i>> A[i]=&A_data[i*N]; >>> >>> This way you have contiguous data (in A_data) but can access it as a 2D >>> array using A[i][j]. >>> >>> (I haven't compiled this but I know we represe

Re: [OMPI users] MPI-Send for entire entire matrix when allocating memory dynamically

2009-10-29 Thread Natarajan CS
Hi thanks for the quick response. Yes, that is what I meant. I thought there was no other way around what I am doing but It is always good to ask a expert rather than assume! Cheers, C.S.N On Thu, Oct 29, 2009 at 11:25 AM, Eugene Loh wrote: > Natarajan CS wrote: > >

[OMPI users] MPI-Send for entire entire matrix when allocating memory dynamically

2009-10-28 Thread Natarajan CS
Hello all, Firstly, My apologies for a duplicate post in LAM/MPI list I have the following simple MPI code. I was wondering if there was a workaround for sending a dynamically allocated 2-D matrix? Currently I can send the matrix row-by-row, however, since rows are not contiguous I cannot s