Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPI > 3.0... MPI_Type_extent to MPI_Type_get_extent #232

Open
vtdrfuka opened this issue Sep 29, 2021 · 1 comment
Open

MPI > 3.0... MPI_Type_extent to MPI_Type_get_extent #232

vtdrfuka opened this issue Sep 29, 2021 · 1 comment

Comments

@vtdrfuka
Copy link

I was wondering if anybody has patched TauDEM for the functions deprecated in MPI > 3.0. Specifically: MPI_Type_extent and MPI_Type_struct?

If not, I will poke at it and update the issue with patch.
Thanks!
dan

linklib.h: In function ‘bool sendLink(int32_t, int)’:
linklib.h:281:17: error: call to ‘MPI_Type_extent’ declared with attribute error: MPI_Type_extent was removed in MPI-3.0. Use MPI_Type_get_extent instead.
281 | MPI_Type_extent(MPI_LONG, &extent);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
linklib.h:286:17: error: call to ‘MPI_Type_struct’ declared with attribute error: MPI_Type_struct was removed in MPI-3.0. Use MPI_Type_create_struct instead.
286 | MPI_Type_struct(2,blockcounts,offsets,oldtypes,&PointType);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linklib.h: In function ‘bool recvLink(int)’:
linklib.h:349:17: error: call to ‘MPI_Type_extent’ declared with attribute error: MPI_Type_extent was removed in MPI-3.0. Use MPI_Type_get_extent instead.
349 | MPI_Type_extent(MPI_LONG, &extent);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
linklib.h:354:17: error: call to ‘MPI_Type_struct’ declared with attribute error: MPI_Type_struct was removed in MPI-3.0. Use MPI_Type_create_struct instead.
354 | MPI_Type_struct(2,blockcounts,offsets,oldtypes,&PointType);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [makefile:218: streamnet.o] Error 1

@dtarb
Copy link
Owner

dtarb commented Sep 29, 2021

No one has patched it, so if you are willing to do this in a fork and make a pull request against that, I would appreciate it.

kandread added a commit to kandread/TauDEM that referenced this issue Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants