<div dir="ltr">Thanks but, still the same result<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 28, 2014 at 5:20 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">Try running 'sudo update-alternatives --set mpi /usr/include/mpich2'. This tells the Ubuntu alternatives system to use mpich2 by default.<br>
<br>
Ken<div class="im"><br>
<br>
On 01/28/2014 10:15 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">
Yes you are right. I have both of them. Now what is the solution for<br>
this machine?<br>
<br>
<br>
On Tue, Jan 28, 2014 at 4:23 PM, Kenneth Raffenetti<br></div><div class="im">
<<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a> <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>>> wrote:<br>
<br>
This problem usually comes from having a mix of openmpi and mpich<br>
both installed on the same machine. Is that the case? You can search<br>
for openmpi by running something like this from the command line:<br>
<br>
dpkg -l | grep openmpi<br>
<br>
<br>
On 01/28/2014 08:50 AM, ehsan saei wrote:<br>
<br>
for size the output is 1 independent from the number of<br>
processed that I<br>
declare with "mpiexec -n ..."<br>
<br>
<br>
On Tue, Jan 28, 2014 at 3:12 PM, Reuti<br>
<<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>><br></div>
<mailto:<a href="mailto:reuti@staff.uni-__marburg.de" target="_blank">reuti@staff.uni-__<u></u>marburg.de</a><div class="im"><br>
<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<br>
output<br>
the size in addition?<br>
<br>
-- Reuti<br>
<br>
<br>
<br>
> On Mon, Jan 27, 2014 at 4:47 PM, ehsan saei<br>
<<a href="mailto:ehsan.saei@gmail.com" target="_blank">ehsan.saei@gmail.com</a> <mailto:<a href="mailto:ehsan.saei@gmail.com" target="_blank">ehsan.saei@gmail.com</a>><br></div>
<mailto:<a href="mailto:ehsan.saei@gmail.com" target="_blank">ehsan.saei@gmail.com</a><div class="im"><br>
<mailto:<a href="mailto:ehsan.saei@gmail.com" target="_blank">ehsan.saei@gmail.com</a>>><u></u>> wrote:<br>
> which mpicxx returns: /usr/bin/mpicxx<br>
><br>
><br>
> On Mon, Jan 27, 2014 at 4:44 PM, Reuti<br>
<<a href="mailto:reuti@staff.uni-marburg.de" target="_blank">reuti@staff.uni-marburg.de</a><br>
<mailto:<a href="mailto:reuti@staff.uni-marburg.de" target="_blank">reuti@staff.uni-<u></u>marburg.de</a>><br></div>
<mailto:<a href="mailto:reuti@staff.uni-__marburg.de" target="_blank">reuti@staff.uni-__<u></u>marburg.de</a><div class="im"><br>
<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<br>
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>
<<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>><br></div><div class="im">
<mailto:<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<br>
the way<br>
you’re executing your code or the way you installed it. Can<br>
you tell<br>
us how you executed in on the command line to start?<br>
> ><br>
> > Thanks,<br>
> > Wesley<br>
> ><br>
> ><br>
> ><br></div>
> > ______________________________<u></u>___________________<br>
> > discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
<mailto:<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>
<mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>><br>
<br>
> > To manage subscription options or unsubscribe:<br></div>
> > <a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a><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>
> > discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
<mailto:<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>
<mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>><br>
<br>
> > To manage subscription options or unsubscribe:<br></div>
> > <a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a><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>
> discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
<mailto:<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>
<mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>><br>
<br>
> To manage subscription options or unsubscribe:<br></div>
> <a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a><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>
> discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
<mailto:<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>
<mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>><br>
<br>
> To manage subscription options or unsubscribe:<br></div>
> <a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a><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>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
<mailto:<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>
<mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>><br>
<br>
To manage subscription options or unsubscribe:<br></div>
<a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a><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>___________________<div class="im"><br>
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>><br>
To manage subscription options or unsubscribe:<br></div>
<a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a><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>___________________<div class="im"><br>
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>><br>
To manage subscription options or unsubscribe:<br></div>
<a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a><div class="im"><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>