Skip to content

Files

Latest commit

e6059e4 · Sep 15, 2021

History

History
19 lines (12 loc) · 454 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 454 Bytes

Using custom datatypes

Write a program that sends the highlighted elements of a 2D array using user defined datatypes from one MPI task to another. Note the different assignments for C and Fortran, and remember that C stores arrays in a row-major order and Fortran in a column-major order. You can start from skeleton codes in C or Fortran

a)

b)

c)