Re: [OMPI users] Open MPI dynamic data structure error

2010-10-20 Thread Jeff Squyres
If you want to use the STL with MPI, your best bet is the boost.mpi library. On Oct 19, 2010, at 4:40 PM, Jack Bryan wrote: > Hi, > > I need to design a data structure to transfer data between nodes on Open MPI > system. > > Some elements of the the structure has dynamic size. > > For

[OMPI users] Open MPI dynamic data structure error

2010-10-19 Thread Jack Bryan
Hi, I need to design a data structure to transfer data between nodes on Open MPI system. Some elements of the the structure has dynamic size. For example, typedef struct{ double data1;vector dataVec; } myDataType; The size of the dataVec depends on some intermidiate computing results. If I