Re: [OMPI users] Valgrind and openmpi

2007-05-03 Thread George Bosilca
Usually ... I would say no. But this is a special case (of course :)). In order to get better performances we align some fields in our TCP header. As a result there is a small gap in the TCP headers, which of course don't get initialized. Valgrind detect it and complain, but it's harmless.

[OMPI users] Valgrind and openmpi

2007-05-03 Thread Chudin, Eugene
I was wondering if it is expected to have error messages from valgrind when checking openmpi code? For instance, I have following trivial code: #include #include template void distribute_val(T& val, int _procid, int _np) { MPI_Bcast(&val, sizeof(T), MPI_CHAR, 0, MPI_COMM_WORLD); }

Re: [OMPI users] MPI compiling error

2007-05-03 Thread Adrian Knoth
On Thu, May 03, 2007 at 01:57:27PM +0200, Chaloupka Zden?k wrote: > Hello, Hi! > MPI_Init(&argv, &argc); > > [chaloz@chaloupka src]$ mpicc main.cc > /tmp/ccBJb7ZI.o: In function > `__static_initialization_and_destruction_0(int, > int)':main.cc:(.text+0x23): undefined reference to > `std::io

Re: [OMPI users] MPI compiling error

2007-05-03 Thread Bert Wesarg
Hello, Chaloupka Zdenìk wrote: > Hello, > I tried to compile following code: > > #include > #include "mpi.h" > int main(int argv, char *argc[]) > { > int rank; > > MPI_Init(&argv, &argc); > MPI_Comm_rank(MPI_COMM_WORLD, &rank); > if (rank == 0) printf("Starting program\n"); >

[OMPI users] MPI compiling error

2007-05-03 Thread Chaloupka Zdeněk
Hello, I tried to compile following code: #include #include "mpi.h" int main(int argv, char *argc[]) { int rank; MPI_Init(&argv, &argc); MPI_Comm_rank(MPI_COMM_WORLD, &rank); if (rank == 0) printf("Starting program\n"); printf("Pocet vstupnich parametru: %d a argumenty: %s\n", ar

Re: [OMPI users] issues with peruse MSG_ARRIVED events

2007-05-03 Thread Harald Servat
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I forgot to attach the sample code. Regards, Harald Servat wrote: > Hello, > > I'm using the PERUSE API from OpenMPI in order to know when messages > arrive. I've executed some simple tests in three different machines > (FreeBSD/x86 1cpu