-
Notifications
You must be signed in to change notification settings - Fork 78
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
HAVE_OPM_GRID is set to 0 although opm-grid is found #331
Comments
Thanks. Will try to replicate.
|
i can reproduce, and i can fix, though part of it is a bug and/or expectation violation in/for dunecontrol. first, you have to pass -DUSE_MPI=1 in CMAKE_FLAGS. dune enables MPI unconditionally if found, in opm it is conditional and off by default. we get out of sync for the HAVE_MPI variable, and consequently opm-grid is not allowed to be used. secondly, dc and/or dune build system bugs out for suggests. moving opm stuff to requires, it will work, but in that case i have to manually give opm-common_PREFIX and opm-grid_PREFIX for dc to find the dune.module files. i do not care to debug this tbh. |
Well, the _PREFIX thing sound familiar, OPM/opm-common#302. IMHO this is rather a non-satisfied prerequisite of the DUNE buildsystem. |
Shall I update that PR? |
which is why i tried to cover my a** in my first sentence :) |
and yes, it's obviously a requirement and very non-intrusive. update, test, will merge. |
With OPM/opm-common#302, it works. Thank you! Is it possible that you cherry-pick this to release/2018.04? |
Fixed with merge of OPM/opm-common#302 |
Steps to reproduce this, at least for me:
This gives me
The text was updated successfully, but these errors were encountered: