[OMPI users] MPI_ERR_TRUNCATE on MPI_Testsome

2008-09-26 Thread Robert Kubrick

I'm not sure how should I interpret this message:

[local:17344] *** An error occurred in MPI_Testsome
[local:17344] *** on communicator MPI COMMUNICATOR 5 CREATE FROM 0
[local:17344] *** MPI_ERR_TRUNCATE: message truncated
[local:17344] *** MPI_ERRORS_ARE_FATAL (goodbye)
mpiexec noticed that job rank 0 with PID 17338 on node local exited  
on signal 15 (Terminated).

3 additional processes aborted (not shown)

I am assuming that the error was triggered because one of the buffers  
I set in the MPI_Recv_init() calls can not contain the incoming  
message. However, I don't understand why job rank 0 terminates first.  
The only process that contains a call to MPI_Testsome has actually  
rank 3, and it's receiving messages from rank 0.


Also I think it would be a good idea to print the message tag in the  
error log.


Re: [OMPI users] which -lmpi is picked?

2008-09-26 Thread Jeff Squyres
You can run "mpicc --showme" to see the exact underlying compiler/ 
linker command that is used (or, better yet, "mpicc foo.c -o foo -- 
showme").  This will include the -L path to where the Open MPI  
libraries are installed.



On Sep 25, 2008, at 4:13 PM, Shafagh Jafer wrote:

I have multiple MPIs so I want to know which -lmpi is picked up by  
the openmpi wrapper compilres? How can I find out the source path of  
libmpi.so ??


___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



--
Jeff Squyres
Cisco Systems



Re: [OMPI users] how to install openmpi with a specific gcc

2008-09-26 Thread Terry Frankcombe
http://www.open-mpi.org/faq/?category=building#build-compilers

But this won't help build your app with the dusty, crumbling 2.95.
You're telling OpenMPI (and all of OpenMPI, including mpicc) to use a
specific compiler.

You need to fix your code so it's portable.



On Thu, 2008-09-25 at 20:56 -0700, Shafagh Jafer wrote:
> Hi!
> on my system the default gcc is 2.95.3. For openmpi i have installed
> gcc-3.4.6 but i kept the default gcc to stay gcc-2.95.3. Now, how can
> I configure/install openmpi with gcc-3.4.6?what options should i give
> when configuring it so that it doesnt go and pick upt the dafault
> 2.95.3 ???
> 
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users



Re: [OMPI users] how to install openmpi with a specific gcc

2008-09-26 Thread Davi Vercillo C. Garcia (デビッド)
Hi,

> on my system the default gcc is 2.95.3. For openmpi i have installed
> gcc-3.4.6 but i kept the default gcc to stay gcc-2.95.3. Now, how can I
> configure/install openmpi with gcc-3.4.6?what options should i give when
> configuring it so that it doesnt go and pick upt the dafault 2.95.3 ???

Why do you need use this version ? the most part of moderns softwares
recommends the use of gcc version 3 or greater (the best is version
4).

-- 
Davi Vercillo Carneiro Garcia
http://davivercillo.blogspot.com/

Universidade Federal do Rio de Janeiro
Departamento de Ciência da Computação
DCC-IM/UFRJ - http://www.dcc.ufrj.br

Grupo de Usuários GNU/Linux da UFRJ (GUL-UFRJ)
http://www.dcc.ufrj.br/~gul

Linux User: #388711
http://counter.li.org/

"Theory is when you know something, but it doesn't work. Practice is
when something works, but you don't know why.
Programmers combine theory and practice: Nothing works and they don't
know why." - Anon



[OMPI users] how to install openmpi with a specific gcc

2008-09-26 Thread Shafagh Jafer
Hi!
on my system the default gcc is 2.95.3. For openmpi i have installed gcc-3.4.6 
but i kept the default gcc to stay gcc-2.95.3. Now, how can I configure/install 
openmpi with gcc-3.4.6?what options should i give when configuring it so that 
it doesnt go and pick upt the dafault 2.95.3 ???