[OMPI devel] Problem when using struct types at specific offsets

2013-04-08 Thread Thomas Jahns
ults_2[6] = 12 results_2[7] = 9 ref_results_2[7] = 13 MPICH gives the expected result: $ /sw/squeeze-x64/mpi/mpich2-1.4.1p1-gccsys/bin/mpicc -std=gnu99 ./mpi_test.c && ./a.out first tests: second tests: Regards, Thomas -- Thomas Jahns DKRZ GmbH, Department: Application sof

Re: [OMPI devel] Problem when using struct types at specific offsets

2013-06-21 Thread Thomas Jahns
Hello, On 04/08/2013 04:08 PM, Thomas Jahns wrote: > a colleague of mine has investigated a difficult problem we traced to OpenMPI > giving incorrectly delivered data on some struct datatypes which use specific > offsets (on the stack in our case but the problem can be reproduced w

[OMPI devel] Problem when using MPI_Type_create_struct + MPI_Type_dup

2013-06-24 Thread Thomas Jahns
straight assignment of MPI_INT to sends[0], the problem goes away. We are using a patched version of OpenMPI which includes the changes from r28319. Regards, Thomas Jahns -- Thomas Jahns DKRZ GmbH, Department: Application software Deutsches Klimarechenzentrum Bundesstraße 45a D-20146 Hamburg Phone

Re: [OMPI devel] Problem when using MPI_Type_create_struct + MPI_Type_dup

2013-06-25 Thread Thomas Jahns
ck 1.6.4 on Debian Squeeze (config.log attached) and that fails. Can 1.6.4 be fixed or is 1.6.5 about to be released sometime soon? Regards, Thomas -- Thomas Jahns DKRZ GmbH, Department: Application software Deutsches Klimarechenzentrum Bundesstraße 45a D-20146 Hamburg Phone: +49-40-460094-151