-
Notifications
You must be signed in to change notification settings - Fork 74
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
Installing Storm on macOS with Apple M1 #502
Comments
Hi, After removing the homebrew packages, you can start by building Carl and then continue with Storm. Maybe this already fixes your issue. If not, please let us know and provide us the complete CMake output from Storm. Then we can take a look into it. |
Thank you for your suggestion. I have uninstalled the homebrew packages
And now
|
Can you also add the output of CMake? |
Yes, sorry, I have forgotten to add it in my previous message:
|
Thanks. At first glance I do not see anything out of the ordinary.
|
Works well:
|
Hi, let me also add my suspicion:
For me this looks like as if sylvan is still linking with the carl version from home-brew:
storm/resources/3rdparty/sylvan/../../../src/storm/adapters/RationalFunctionAdapter.h:3:
In file included from /storm/resources/3rdparty/sylvan/../../../src/storm/adapters/RationalFunctionAdapter_Private.h:8:
In file included from /opt/homebrew/Cellar/carl-storm/14.25/include/carl/core/FactorizedPolynomial.h:14:
In file included from /opt/homebrew/Cellar/carl-storm/14.25/include/carl/core/PolynomialFactorizationPair.h:307:
In file included from /opt/homebrew/Cellar/carl-storm/14.25/include/carl/core/PolynomialFactorizationPair.tpp:15:
In file included from /opt/homebrew/Cellar/carl-storm/14.25/include/carl/core/MultivariateGCD.h:11:
In file included from /opt/homebrew/Cellar/carl-storm/14.25/include/carl/core/MonomialOrdering.h:9:
In file included from /opt/homebrew/Cellar/carl-storm/14.25/include/carl/core/Term.h:10:
In file included from /opt/homebrew/Cellar/carl-storm/14.25/include/carl/core/../interval/Interval.h:39:
In file included from /opt/local/include/boost/numeric/interval.hpp:18:
/opt/local/include/boost/numeric/interval/hw_rounding.hpp:42:4: error: Boost.Numeric.Interval: Please specify rounding control mechanism.
# error Boost.Numeric.Interval: Please specify rounding control mechanism.
^
1 error generated.
make[5]: *** [src/CMakeFiles/sylvan.dir/sylvan_obj.cpp.o] Error 1
make[4]: *** [src/CMakeFiles/sylvan.dir/all] Error 2
make[3]: *** [all] Error 2
In particular, I think we have a problem that sylvan is not properly cleared when rebuilding… can you remove sylvan from your build folder/work from a clean build folder?
Best,
Sebastian
… On 19 Feb 2024, at 17:51, Alexandra-Olimpia BUGARIU ***@***.***> wrote:
Works well:
Running tests...
Test project /carl-storm/build
Start 1: util
1/5 Test #1: util ............................. Passed 1.63 sec
Start 2: numbers
2/5 Test #2: numbers .......................... Passed 0.59 sec
Start 3: core
3/5 Test #3: core ............................. Passed 0.36 sec
Start 4: formula
4/5 Test #4: formula .......................... Passed 0.17 sec
Start 5: interval
5/5 Test #5: interval ......................... Passed 0.15 sec
100% tests passed, 0 tests failed out of 5
Total Test time (real) = 2.92 sec
—
Reply to this email directly, view it on GitHub <#502 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADH67DA4RXGK5TAFQ4SL7RLYUN7HTAVCNFSM6AAAAABDPTH6X6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJSHA3DSMBZGU>.
You are receiving this because you are subscribed to this thread.
|
Thank you, Sebastian, but unfortunately this does not solve the problem. |
Hey, I found the problem, it seems to be resolved in newer boost versions: boostorg/interval@1b95966 I will also open an issue in carl to make sure that we support older boost versions. |
BTW, sorry for the slow response. I hope you were able to work around it. The build on your system really is broken though, it finds boost 1.84 but also it finds a preinstalled carl version 14.26 but links to 14.25. |
Hi, thank you for your reply. I have tried to repeat the installation steps on macOS now (in the meantime I have used Storm on Ubuntu) but I can no longer build Carl. The step
Maybe this repository has been moved? |
The external repository seems to be temporarily unavailable. You can install the dependencies via homebrew instead:
|
Hi, I am trying to build and install Storm from sources (v1.8.0) on macOS with Apple M1 (I would like to use stormpy and unfortunately it does not seem to work with my homebrew installation).
However, the build fails at the step
[ 0%] Performing build step for 'sylvan'
. The filesylvan-build-err.log
contains the following error:Could you please advise me how to fix this issue?
Thank you very much for your time and help,
Alexandra
The text was updated successfully, but these errors were encountered: