Dear all,
We are migrating a code using OpenMPI from Ubuntu 10.04 to Ubuntu 12.04, and
encouter some problems.
Bellow is a test code that work on Ubuntu 10.04, but fails on Ubuntu 12.04
The question is: is there a bug in the test code, or is it due to a bug in
OpenMPI?
Thanks for any help,
Davi
Thanks for the reply.
> The test code looks ok to me.
Ok!
> I will mention that Open MPI 1.4.3 is *very* old; it is now 2 generations
> behind the current. The current stable release is 1.6.5, and the current
> feature series (1.7.x) is likely to transition to stable (1.8.x) in a few
> month
You're right, thanks a lot Edgar!
Quoting Edgar Gabriel (2016-04-07 23:18:46)
> I found the bug in your code. The displacement of the file view has to
> be given in absolute bytes, not in multiples of etypes.
> ---snip---
> The disp displacement argument specifies the position (absolute offset
Hello,
Here is a simple `C` program reading a file in parallel with `MPI IO`:
#include
#include
#include "mpi.h"
#define N 10
main( int argc, char **argv )
{
int rank, size;
MPI_Init(&argc, &argv);
MPI_Comm_rank( MPI_COMM_WORLD, &rank );
What version of Open MPI did you execute your test with?
mpirun (Open MPI) 1.8.6