To double check that the alternatives system did the right thing, can you can check the output of these commands and send us the results? ls -l /etc/alternatives/mpicxx ls -l /etc/alternatives/mpiexec On 01/28/2014 10:42 AM, ehsan saei wrote:
Yes I recompiled but the result is the same as before.
On Tue, Jan 28, 2014 at 5:36 PM, Kenneth Raffenetti <[email protected] <mailto:[email protected]>> wrote:
Just making sure, you recompiled your program with mpicxx before running it again?
On 01/28/2014 10:30 AM, ehsan saei wrote:
Thanks but, still the same result
On Tue, Jan 28, 2014 at 5:20 PM, Kenneth Raffenetti <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> wrote:
Try running 'sudo update-alternatives --set mpi /usr/include/mpich2'. This tells the Ubuntu alternatives system to use mpich2 by default.
Ken
On 01/28/2014 10:15 AM, ehsan saei wrote:
Yes you are right. I have both of them. Now what is the solution for this machine?
On Tue, Jan 28, 2014 at 4:23 PM, Kenneth Raffenetti <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>>__> wrote:
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:
dpkg -l | grep openmpi
On 01/28/2014 08:50 AM, ehsan saei wrote:
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 <[email protected] <mailto:[email protected]> <mailto:[email protected]__marburg.de <mailto:[email protected]>> <mailto:[email protected]____marburg.de <mailto:[email protected]__marburg.de> <mailto:[email protected]__marburg.de <mailto:[email protected]>>> <mailto:[email protected]______marburg.de <mailto:[email protected]____marburg.de> <mailto:[email protected]____marburg.de <mailto:[email protected]__marburg.de>>
<mailto:[email protected]____marburg.de <mailto:[email protected]__marburg.de> <mailto:[email protected]__marburg.de <mailto:[email protected]>>>>> 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 <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>
<mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>>__>__> wrote: > which mpicxx returns: /usr/bin/mpicxx > > > On Mon, Jan 27, 2014 at 4:44 PM, Reuti <[email protected] <mailto:[email protected]> <mailto:[email protected]__marburg.de <mailto:[email protected]>> <mailto:[email protected]____marburg.de <mailto:[email protected]__marburg.de> <mailto:[email protected]__marburg.de <mailto:[email protected]>>> <mailto:[email protected]______marburg.de <mailto:[email protected]____marburg.de> <mailto:[email protected]____marburg.de <mailto:[email protected]__marburg.de>>
<mailto:[email protected]____marburg.de <mailto:[email protected]__marburg.de> <mailto:[email protected]__marburg.de <mailto:[email protected]>>>>> 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 <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>>>> 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 [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>
<mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>>>
> > To manage subscription options or unsubscribe: > > https://lists.mpich.org/______mailman/listinfo/discuss <https://lists.mpich.org/____mailman/listinfo/discuss> <https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss>>
<https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss> <https://lists.mpich.org/__mailman/listinfo/discuss <https://lists.mpich.org/mailman/listinfo/discuss>>> > > > > _____________________________________________________
> > discuss mailing list [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>
<mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>>>
> > To manage subscription options or unsubscribe: > > https://lists.mpich.org/______mailman/listinfo/discuss <https://lists.mpich.org/____mailman/listinfo/discuss> <https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss>>
<https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss> <https://lists.mpich.org/__mailman/listinfo/discuss <https://lists.mpich.org/mailman/listinfo/discuss>>> > > _____________________________________________________
> discuss mailing list [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>
<mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>>>
> To manage subscription options or unsubscribe: > https://lists.mpich.org/______mailman/listinfo/discuss <https://lists.mpich.org/____mailman/listinfo/discuss> <https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss>>
<https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss> <https://lists.mpich.org/__mailman/listinfo/discuss <https://lists.mpich.org/mailman/listinfo/discuss>>> > > > _____________________________________________________
> discuss mailing list [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>
<mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>>>
> To manage subscription options or unsubscribe: > https://lists.mpich.org/______mailman/listinfo/discuss <https://lists.mpich.org/____mailman/listinfo/discuss> <https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss>>
<https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss> <https://lists.mpich.org/__mailman/listinfo/discuss <https://lists.mpich.org/mailman/listinfo/discuss>>>
_____________________________________________________
discuss mailing list [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>
<mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>>>
To manage subscription options or unsubscribe: https://lists.mpich.org/______mailman/listinfo/discuss <https://lists.mpich.org/____mailman/listinfo/discuss> <https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss>>
<https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss> <https://lists.mpich.org/__mailman/listinfo/discuss <https://lists.mpich.org/mailman/listinfo/discuss>>>
_____________________________________________________
discuss mailing list [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> To manage subscription options or unsubscribe: https://lists.mpich.org/______mailman/listinfo/discuss <https://lists.mpich.org/____mailman/listinfo/discuss> <https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss>>
<https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss> <https://lists.mpich.org/__mailman/listinfo/discuss <https://lists.mpich.org/mailman/listinfo/discuss>>>
_____________________________________________________
discuss mailing list [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> To manage subscription options or unsubscribe: https://lists.mpich.org/______mailman/listinfo/discuss <https://lists.mpich.org/____mailman/listinfo/discuss> <https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss>>
<https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss> <https://lists.mpich.org/__mailman/listinfo/discuss <https://lists.mpich.org/mailman/listinfo/discuss>>>
___________________________________________________ discuss mailing list [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> To manage subscription options or unsubscribe: https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss> <https://lists.mpich.org/__mailman/listinfo/discuss <https://lists.mpich.org/mailman/listinfo/discuss>>
___________________________________________________ discuss mailing list [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> To manage subscription options or unsubscribe: https://lists.mpich.org/____mailman/listinfo/discuss <https://lists.mpich.org/__mailman/listinfo/discuss> <https://lists.mpich.org/__mailman/listinfo/discuss <https://lists.mpich.org/mailman/listinfo/discuss>>
_________________________________________________ discuss mailing list [email protected] <mailto:[email protected]> To manage subscription options or unsubscribe: https://lists.mpich.org/__mailman/listinfo/discuss <https://lists.mpich.org/mailman/listinfo/discuss>
_________________________________________________ discuss mailing list [email protected] <mailto:[email protected]> To manage subscription options or unsubscribe: https://lists.mpich.org/__mailman/listinfo/discuss <https://lists.mpich.org/mailman/listinfo/discuss>
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss