Boost logo

Boost-MPI :

From: 彭斌 (binpeng_at_[hidden])
Date: 2023-02-20 10:40:23


Alain,

Thank you!

The interface is provided in allocator.hpp, boost version 1.73.0. Sorry there is no in_value and it is in_values.

I use the "v" version because I have to divide a vector of "T" objects into parts with different sizes.

The "T" is not a primitive type. It is a class defined by myself and the class is complicated.

Cheers

 

Peng

-----原始邮件-----
发件人:"Alain O' Miniussi via Boost-mpi" <boost-mpi_at_[hidden]>
发送时间:2023-02-20 17:41:38 (星期一)
收件人: "Discussion of Boost.MPI development" <boost-mpi_at_[hidden]>
抄送: "Alain O' Miniussi" <alain.miniussi_at_oca.eu>
主题: Re: [Boost-mpi] Is there size limit for the messages being sent and received?

Hi

The in value is a T const&, meaning you're sending one single object. So I wonder why the "v" version is used.
Actually, I'm not sure why we are providing that interface.

What kind of type is T ? is it a primitive type, a POD or is it more complex ?

Cheers

----
Alain Miniussi
DSI, Pôles Calcul et Genie Log.
Observatoire de la Côte d'Azur
Tél. : +33492003009 (Mont-Gros)
       +33483618544 (Sophia Antipolis)
       +33609650665
----- On Feb 19, 2023, at 2:15 PM, 1 Reviewer via Boost-mpi <boost-mpi_at_[hidden]> wrote:
Hi,
 
I am running my program on a cluster. I use the following command in the program,
 
all_gatherv (const communicator& comm, const T& in_value, T* out_values,
            const std::vector<int>& sizes).
 
The program works well if the size of in_value  and out_values is small.
However, it fails if the size is big.  I just can’t fix it.
 
Any help or advices are greatly appreciated.
 
Peng
 
 
_______________________________________________
Boost-mpi mailing list
Boost-mpi_at_[hidden]
https://lists.boost.org/mailman/listinfo.cgi/boost-mpi



Boost-Commit list run by troyer at boostpro.com