[OMPI users] Object Send Doubt
Dear, I m looking for a solution. I m developing a C++ code and I have an object called Field. I need to send/recv this object over some process allowed in my cluster. For example, I have to send Field from process 1 to process 2 and 3, but not process 4. My questions are: Is possible to send an object by Open-MPI? If it yes, could you send me an source code example to do it or reference ? Thank you. Carlos
Re: [OMPI users] Object Send Doubt
¡Hola Carlos! Es posible. Por favor, lee el manual follando. ;-) For instance at www.mpi-forum.org. Specifically look for documentation for MPI_Type_create_struct(). HTH -Andi On 16:30 Sat 12 Jul , Carlos Henrique da Silva Santos wrote: > Dear, > > I m looking for a solution. > I m developing a C++ code and I have an object called Field. I need > to send/recv this object over some process allowed in my cluster. For > example, I have to send Field from process 1 to process 2 and 3, but > not process 4. > My questions are: > Is possible to send an object by Open-MPI? > If it yes, could you send me an source code example to do it or reference ? > > Thank you. > > Carlos > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users -- Andreas Schäfer Cluster and Metacomputing Working Group Friedrich-Schiller-Universität Jena, Germany 0049/3641-9-46376 PGP/GPG key via keyserver I'm a bright... http://www.the-brights.net (\___/) (+'.'+) (")_(") This is Bunny. Copy and paste Bunny into your signature to help him gain world domination! pgpqBNYFc0fXS.pgp Description: PGP signature
Re: [OMPI users] Object Send Doubt
Mr. Andreas, (English) I tried to apply MPI_Type_create_struct(), which is correct for C Struct, as showed (https://hec.wiki.leeds.ac.uk/pub/Techniques/ParallelComputing/MPI_course.pdf). But, I can't solve it for C++ object. (Portuguese) Eu tentei aplicar MPI_Type_create_struct(), que funcionou em Struct do C, como mostrado em (https://hec.wiki.leeds.ac.uk/pub/Techniques/ParallelComputing/MPI_course.pdf). Mas eu não consegui resolvê-lo para objetos em C++. Thank you, Grato, Carlos