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_Type_struct is depricated': errors to look forward to #74

Open
markyoder opened this issue Apr 6, 2015 · 0 comments
Open

'MPI_Type_struct is depricated': errors to look forward to #74

markyoder opened this issue Apr 6, 2015 · 0 comments

Comments

@markyoder
Copy link
Contributor

when compiling vq on kapalua (an osx [not sure of specifics] ) machine, i get the following warnings:
[ 84%] /Users/markyoder/vq/src/core/Comm.cpp:185:5: warning: 'MPI_Type_struct' is deprecated: MPI_Type_struct is superseded by MPI_Type_create_struct in
MPI-2.0 [-Wdeprecated-declarations]
MPI_Type_struct(2, block_lengths, displacements, datatypes, &block_val_type);
^
/opt/local/include/openmpi-mp/mpi.h:1783:20: note: 'MPI_Type_struct' has been explicitly marked deprecated here
OMPI_DECLSPEC int MPI_Type_struct(int count, int array_of_blocklengths[],
^
/Users/markyoder/vq/src/core/Comm.cpp:204:5: warning: 'MPI_Type_struct' is deprecated: MPI_Type_struct is superseded by MPI_Type_create_struct in
MPI-2.0 [-Wdeprecated-declarations]
MPI_Type_struct(3, block_lengths, displacements, datatypes, &element_sweep_type);
^
/opt/local/include/openmpi-mp/mpi.h:1783:20: note: 'MPI_Type_struct' has been explicitly marked deprecated here
OMPI_DECLSPEC int MPI_Type_struct(int count, int array_of_blocklengths[],

basically, some of the MPI syntax is being deprecated. while these are warnings today, we might keep an eye on them and revise the syntax sooner rather than later, when the opportunity arises, to avoid future code-rot.

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

1 participant