Re: [OMPI users] Simple Doubt about MPI_Gather in C

2012-07-17 Thread Ghobad Zarrinchian
Dear friend Generally, if you have an array with x elements of a given type (e.g. MPI_Int) you should use x as your SENDCOUNT parameter. Providing the name of the SEND buffer just determine the start address of the buffer and you should expilicitly specify how many elements should be sent. Tu be s

Re: [OMPI users] starting open-mpi

2012-05-18 Thread Ghobad Zarrinchian
Hi. I've installed Visual Studio 2008 on my machine. But i have still the same problem. How can i solve it? thx On Fri, May 11, 2012 at 10:50 PM, Ghobad Zarrinchian wrote: > Thanks Dmitry for your reply. :) > > > On Fri, May 11, 2012 at 4:47 PM, Dmitry N. Mikushin > w

Re: [OMPI users] starting open-mpi

2012-05-11 Thread Ghobad Zarrinchian
ured with CMake 2.8.1 and > compiled under Visual Studio 2010, and they support for C/C++ > compilers of Visual Studio 2005, 2008 and 2010. > > So, to compile MPI programs you probably need one of this compilers to > be installed. > > Best regards. > - Dima. > > 2012/5/

[OMPI users] starting open-mpi

2012-05-10 Thread Ghobad Zarrinchian
Hi all. I'm a new open-mpi user. I've downloaded the OpenMPI_v1.5.5-1_win32.exe file to install open-mpi on my dual-core windows 7 machine. I installed the file but now i can't compile my mpi programs. I use command below (in command prompt window) to compile my 'test.cpp' program: >> mpic++ -o te