-
Notifications
You must be signed in to change notification settings - Fork 46
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
OpenMPI header 'mpi.h' not detected if in /usr/include #4
Comments
Wouldn't it be a nice PR? |
You are everywhere. :p |
I ammmmmmmmmm watchinggggggggg :P |
Haha :p |
I don't think it's really necessary to have nodefaultpath. I probably put it there cause I didn't think it should search paths where it won't find it anyway. I only tested on Ubuntu. Its probably harmless to expand the search path. The line is there to prevent a incomprehensible linker error, since the compiler won't complain if it can't find the header AFAIK. |
It's the compiler who will complain, not the linker ;) The linker does not have any knowledge of what a header is. |
Was this upstreamed? Close or merge? |
@Salamandar Have you submitted a PR to upstream for this? I'll merge your patch here. |
@Salamandar ping |
Hi, sorry for the disappearing. It looks like this issue is not anymore : searching for OpenMPI is done by |
@Salamandar ticket is still open |
Not anymore :) |
* [PartDesign] Expose WizardShaft/ strings to translation * Correct use of double quotes * [PD] Suggested changes in `Crowdin/pd-wizard-shaft` (#4) * [PartDesign] Use correct method name in `WizardShaft` Use `QtCore.QT_TRANSLATE_NOOP` instead of `QT_TRANSLATE_NOOP` because latter is not what is imported. * [PartDesign] Remove undesired translations in `WizardShaftTable.py` See comments by @chennes on PR#4964. Co-authored-by: Ajinkya Dahale <[email protected]>
On archlinux, the OpenMPI header is
/usr/include/mpi.h
.pkg-config
filters-I/usr/include
from cflags (because it's a standard include path), so the cflags detected fromompi-cxx
do NOT contain this token…The problem is that the header detection code in CMake is :
The NO_DEFAULT_PATH prevents CMake from searching in
/usr/include
. The header is thus not found.You just have to remove
NO_DEFAULT_PATH
and everything works as intended.The text was updated successfully, but these errors were encountered: