Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

MPI_Pack vs MPI_Create_struct

(0) ShareShare
ReportReport
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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans