-
Notifications
You must be signed in to change notification settings - Fork 370
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
NEST module generated from NESTML fails to build on macOS when NEST is installed from conda-forge #2497
Comments
The problem is that @steffengraber Is it possible to get the output from the |
Here are the complete build logs for osx_64 and osx_arm64: osx_64 python3.10 osx_arm64 python3.10 |
Should disappear with wheel-based installation. |
Issue automatically marked stale! |
I hope the problem will be solved with the conda package for NEST 3.4. |
Did the 3.4_rc1 solve this? |
It is hard for me to test this in macOS. With the new version, the compiler is added to the run environment and the path inside nest-config is overwritten. This should fix the problem, also in macOS. |
I did a conda installation of 3.4_rc1 on macOS, and the NESTML model still fails to compile with the same error:
However, if I change The NESTML documentation on Anaconda installation (https://nestml.readthedocs.io/en/latest/installation.html#anaconda-installation) already says one has to:
Perhaps a temporary workaround could be for the documentation to instruct macOS users to also replace Steps to reproduce:Download 3.4_rc1 feedstock build conda_artifacts_20230213.5.1_osx_64_python3.10.____cpython and unpack the file and the archive directory within (I also renamed the archive directory of this particular file to Create conda environment and install:
Then replace Finally, compile the NESTML model from the NESTML source directory:
|
Issue automatically marked stale! |
@pnbabu Can the issue be closed? |
@steffengraber Yes, it can be closed. |
Describe the bug
After installing NEST through
conda-forge
and installing NESTML viapip
in the same conda environment, the generated NEST module from NESTML fails to compile on macOS with the following error:To Reproduce
Steps to reproduce the behavior: https://nestml.readthedocs.io/en/latest/installation.html#anaconda-installation
The
C++
path and the$PYTHONPATH
are updated as mentioned in the above link. Then running the below command gives the compilation error.Desktop/Environment (please complete the following information):
Additional context
I suspect the error is because
$HOME/miniconda3/envs/nestml_conda/lib/libomp.dylib
is not linked during the compilation. The library is also not listed under$HOME/miniconda3/envs/nestml_conda/bin/nest-config --libs
. Although, manually adding it to thenest-config
file doesn't resolve the error.The text was updated successfully, but these errors were encountered: