-
Notifications
You must be signed in to change notification settings - Fork 248
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
[MEDApp] Minor Fixes #11580
[MEDApp] Minor Fixes #11580
Conversation
I will review tonight, sorry for the delays |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to figure out a better solution for the MPI-issue, but thx otherwise
//struct MPI_Comm; | ||
//struct MPI_Info; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the issue here is when you compile without MPI
I am not sure how we can go about this. Maybe ifdef
? Might be the only option we have for now, can you give it a try?
Also, how did you install the med-lib? By hand or via the package manager?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe ifdef?
Yep, I think we'll have to resort to the preprocessor.
Also, how did you install the med-lib? By hand or via the package manager?
I installed salome-medcoupling (should include both the serial and OpenMPI med lib) using the system package manager.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok ifdef it is (at least for now, until someone complains :D), can you please add it?
Also, can you please add how you installed the lib to the readme? I did it already for ubuntu
I found that the created geometries were automatically assigned IDs (really high ones) that eventually lead to exceptions when trying to output the resulting The current impl obviously won't work with |
ok thanks that makes sense Ids of entities and mypy, my programming arch-enemies :D |
MPI_Comm
andMPI_Info
that lead to multiple definitions. Forward declaration also fails becausemed.h
indirectly includesmpi.h
that defines these astypedef struct
s that are incompatible withstruct
s. I haven't tried this on non-MPI builds.noexcept
)