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

Build fails with OpenMPI > 1.6.5 #13

Closed
afarah1 opened this issue Jul 1, 2016 · 2 comments
Closed

Build fails with OpenMPI > 1.6.5 #13

afarah1 opened this issue Jul 1, 2016 · 2 comments

Comments

@afarah1
Copy link
Contributor

afarah1 commented Jul 1, 2016

Several errors are issued concerning wrong function prototypes. This is because OpenMPI added const to some parameters in newer versions, but it is not obvious for the end user (Guilherme had this issue trying to install it on some machine with an OpenMPI version different from Debian's 1.6.5). Perhaps adding version checking to CMakeLists would be sufficient? I'm not sure how to do that. Alternatively, I patched Akypuera to OpenMPI 1.10.2 in a branch of my fork (not all MPI routines are implemented).

@afarah1
Copy link
Contributor Author

afarah1 commented Aug 25, 2016

I tried using FIND_PACKAGE(MPI 1.6.5 EXACT REQUIRED) instead of FIND_PACKAGE(MPI REQUIRED) (see find_package documentation), but it does not seem to work.

@afarah1
Copy link
Contributor Author

afarah1 commented Jan 6, 2017

Fixed by 2f8f262

@afarah1 afarah1 closed this as completed Jan 6, 2017
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