for size the output is 1 independent from the number of processed that I declare with "mpiexec -n ..."


On Tue, Jan 28, 2014 at 3:12 PM, Reuti <reuti@staff.uni-marburg.de> wrote:
Am 28.01.2014 um 11:18 schrieb ehsan saei:

> I still have the problem with mpi

In the program you cited you don't output the size. Can you output the size in addition?

-- Reuti



> On Mon, Jan 27, 2014 at 4:47 PM, ehsan saei <ehsan.saei@gmail.com> wrote:
> which mpicxx returns: /usr/bin/mpicxx
>
>
> On Mon, Jan 27, 2014 at 4:44 PM, Reuti <reuti@staff.uni-marburg.de> wrote:
> Am 27.01.2014 um 16:41 schrieb ehsan saei:
>
> > I compile the code with:  mpicxx main.cpp
> > and run it with: mpiexec -n 8 ./a.out
>
> Does `which mpicxx` resp. `which mpiexec` point to the intended target?
>
> -- Reuti
>
>
> > I use a single computer with dual core core i3
> >
> >
> > On Mon, Jan 27, 2014 at 4:39 PM, Wesley Bland <wbland@mcs.anl.gov> wrote:
> > The code is fine. The problem is most likely either the way you’re executing your code or the way you installed it. Can you tell us how you executed in on the command line to start?
> >
> > Thanks,
> > Wesley
> >
> >
> >
> > _______________________________________________
> > discuss mailing list     discuss@mpich.org
> > To manage subscription options or unsubscribe:
> > https://lists.mpich.org/mailman/listinfo/discuss
> >
> > _______________________________________________
> > discuss mailing list     discuss@mpich.org
> > To manage subscription options or unsubscribe:
> > https://lists.mpich.org/mailman/listinfo/discuss
>
> _______________________________________________
> discuss mailing list     discuss@mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
>
> _______________________________________________
> discuss mailing list     discuss@mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss