Reputation: 4510
I'm using MPI with C, I've imported mpi.h
and I am able to use MPI functions like MPI_Type_create_subarray()
and MPI_Type_commit()
, but I get a linker error when I try to use MPI_Type_create_resized()
.
Any idea why I wouldn't have that function, or maybe there is an alternative?
I'm trying to scatter and gather blocks of a 2D array.
Upvotes: 1
Views: 224
Reputation: 1151
I looked at the documentation for older versions (maybe you had an old implementation that didn't support that function), but even the "ancient" version contains the aforementioned function. This leads me to believe that maybe there was a problem when you downloaded/linked/etc the library. Maybe try re-downloading and setting up the library and see if that fixes it?
Also could you post your errors so we have a better context of the situation.
Upvotes: 1