precice / precice/python-bindings
Installation fails on MacOS X
Nobody has claimed this yet.
- Dominant language
- Cython
- Stars
- 30
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
When installing preCICE from source on MacOS X, installation of the Python bindings fails. Installation was conducted using pip.
I observed two different problems:
- The preCICE headers could not be found. This could normally be solved by setting
CPATHto preCICE'sinclude/directory. clangfailed to link the bindings against preCICE as it does not findlprecice. I was not able to fix it. Even settingDYLD_LIBRARY_PATHto thelib/directory of preCICE did not fix this issue.
I started to reproduce the issue in a workflow, see https://github.com/precice/python-bindings/pull/138, for a system installation into /usr.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reproduction workflow described in pull request #138 and reproduce the pip installation on macOS. Investigate how the build locates preCICE headers and the lprecice library when CPATH and DYLD_LIBRARY_PATH are set. Done means the Python bindings install successfully from source on macOS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100