LLNL / ygm

Other
31 stars 22 forks source link

How can I store values into variables in other ranks? #247

Open DittoWii opened 3 months ago

DittoWii commented 3 months ago

Sorry to bother. Suppose there are two ranks, I'd like rank0 to send a vector to rank1, and after processing it, rank1 sends this vector back to rank0. In this scenario, rank0 needs to store this vector locally for subsequent use. I'm wondering how can i realize the above feature by ygm since i cannot find a similar case in example or test. Thanks in advance!!!