Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Unanswered

MPI_Pack vs MPI_Create_struct

Posted on by 5

its not that I am stuck but more of a "What do you think best" type of question. I have an array of Struct that I want to send to the second process but each struct has a dynamical allocated array ( it has int,int and *int). So if I create MPI_Create_struct then I need to create each struct separatly and send it separatly, because each struct has a different size of array inside so is different in size from other structs. Same goes if I pack the content of structs : each struct will be packed and sent separatly because each array size is different and so the struct size i send is different. Is there a way to send the structs in one take or whould I just send the structs one by one , each with its size??

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MPI_Pack vs MPI_Create_struct

    Hi AditiyaPandey5,

    Could you tell us which app are you using?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans