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

error: conflicting types for ‘MPI_Comm’ #24

Closed
nschloe opened this issue Mar 7, 2014 · 1 comment
Closed

error: conflicting types for ‘MPI_Comm’ #24

nschloe opened this issue Mar 7, 2014 · 1 comment
Assignees
Labels

Comments

@nschloe
Copy link
Contributor

nschloe commented Mar 7, 2014

When configuring with -DCMAKE_C_COMPILER=mpicc, I'm getting the compilation error

include/ncdispatch.h:90:13: error: conflicting types for ‘MPI_Comm’
 typedef int MPI_Comm;
             ^
/usr/lib/openmpi/include/mpi.h:221:37: note: previous declaration of ‘MPI_Comm’ was here
 typedef struct ompi_communicator_t *MPI_Comm;
@WardF WardF self-assigned this Mar 12, 2014
@WardF WardF added the bug label Mar 12, 2014
@WardF
Copy link
Member

WardF commented Mar 17, 2014

Corrected on test systems with commit b70fe8e. Will reopen if the error persists on user machines.

@WardF WardF closed this as completed Mar 17, 2014
edhartnett added a commit to NetCDF-World-Domination-Council/netcdf-c that referenced this issue Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants