<div dir="ltr">Yes you are right. I have both of them. Now what is the solution for this machine?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 28, 2014 at 4:23 PM, Kenneth Raffenetti <span dir="ltr"><<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This problem usually comes from having a mix of openmpi and mpich both installed on the same machine. Is that the case? You can search for openmpi by running something like this from the command line:<br>
<br>
dpkg -l | grep openmpi<div class="im"><br>
<br>
On 01/28/2014 08:50 AM, ehsan saei wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
for size the output is 1 independent from the number of processed that I<br>
declare with "mpiexec -n ..."<br>
<br>
<br>
On Tue, Jan 28, 2014 at 3:12 PM, Reuti <<a href="mailto:reuti@staff.uni-marburg.de" target="_blank">reuti@staff.uni-marburg.de</a><br></div><div class="im">
<mailto:<a href="mailto:reuti@staff.uni-marburg.de" target="_blank">reuti@staff.uni-<u></u>marburg.de</a>>> wrote:<br>
<br>
Am 28.01.2014 um 11:18 schrieb ehsan saei:<br>
<br>
> I still have the problem with mpi<br>
<br>
In the program you cited you don't output the size. Can you output<br>
the size in addition?<br>
<br>
-- Reuti<br>
<br>
<br>
<br>
> On Mon, Jan 27, 2014 at 4:47 PM, ehsan saei <<a href="mailto:ehsan.saei@gmail.com" target="_blank">ehsan.saei@gmail.com</a><br></div><div class="im">
<mailto:<a href="mailto:ehsan.saei@gmail.com" target="_blank">ehsan.saei@gmail.com</a>>> wrote:<br>
> which mpicxx returns: /usr/bin/mpicxx<br>
><br>
><br>
> On Mon, Jan 27, 2014 at 4:44 PM, Reuti<br></div><div class="im">
<<a href="mailto:reuti@staff.uni-marburg.de" target="_blank">reuti@staff.uni-marburg.de</a> <mailto:<a href="mailto:reuti@staff.uni-marburg.de" target="_blank">reuti@staff.uni-<u></u>marburg.de</a>>> wrote:<br>
> Am 27.01.2014 um 16:41 schrieb ehsan saei:<br>
><br>
> > I compile the code with: mpicxx main.cpp<br>
> > and run it with: mpiexec -n 8 ./a.out<br>
><br>
> Does `which mpicxx` resp. `which mpiexec` point to the intended<br>
target?<br>
><br>
> -- Reuti<br>
><br>
><br>
> > I use a single computer with dual core core i3<br>
> ><br>
> ><br>
> > On Mon, Jan 27, 2014 at 4:39 PM, Wesley Bland<br></div><div class="im">
<<a href="mailto:wbland@mcs.anl.gov" target="_blank">wbland@mcs.anl.gov</a> <mailto:<a href="mailto:wbland@mcs.anl.gov" target="_blank">wbland@mcs.anl.gov</a>>> wrote:<br>
> > The code is fine. The problem is most likely either the way<br>
you’re executing your code or the way you installed it. Can you tell<br>
us how you executed in on the command line to start?<br>
> ><br>
> > Thanks,<br>
> > Wesley<br>
> ><br>
> ><br>
> ><br>
> > ______________________________<u></u>_________________<br></div>
> > discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><div class="im"><br>
> > To manage subscription options or unsubscribe:<br>
> > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a><br>
> ><br>
> > ______________________________<u></u>_________________<br></div>
> > discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><div class="im"><br>
> > To manage subscription options or unsubscribe:<br>
> > <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a><br>
><br>
> ______________________________<u></u>_________________<br></div>
> discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><div class="im"><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a><br>
><br>
><br>
> ______________________________<u></u>_________________<br></div>
> discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><div class="im"><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a><br>
<br>
______________________________<u></u>_________________<br></div>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><div class="im"><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a><br>
</div></div></blockquote></div><br></div>