Skip to content
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

Error during Marabou build #801

Closed
phoenixbirdashes opened this issue Apr 18, 2024 · 7 comments
Closed

Error during Marabou build #801

phoenixbirdashes opened this issue Apr 18, 2024 · 7 comments

Comments

@phoenixbirdashes
Copy link

After using the following commands:

mkdir build
cd build
cmake ../
cmake --build ./

the following error is received:
.
.
.
11/76 Test #13: Test_InputQuery ............................ Passed 0.15 sec
Start 15: Test_LeakyReluConstraint
12/76 Test #15: Test_LeakyReluConstraint ........... Passed 0.08 sec
Start 16: Test_MaxConstraint
Killed
gmake[2]: *** [CMakeFiles/build-tests.dir/build.make:70: build-tests] Error 137
gmake[1]: *** [CMakeFiles/Makefile2:813: CMakeFiles/build-tests.dir/all] Error 2
gmake: *** [Makefile:101: all] Error 2

Screenshot 2024-04-18 220653

@wu-haoze
Copy link
Collaborator

wu-haoze commented Apr 19, 2024

@phoenixbirdashes , to understand the issue better, I have two questions:

  1. were the test "Killed" immediately or the process terminated after hanging for a while?
  2. It seems it failed at Test_MaxConstraint. Can you manually run the test (a binary called Test_MaxConstraint in I think the ./build/tests/engine/ folder) and let me know whether the test passed (i.e., With "OK" printed in the last line)?

@wu-haoze
Copy link
Collaborator

Just in case you're not aware, Marabou is available on pypi, pip3 install maraboupy. So it's worth trying that before building from scratch.

@phoenixbirdashes
Copy link
Author

phoenixbirdashes commented Apr 19, 2024

@wu-haoze,

  1. The test were "Killed" after hanging for a while.
  2. The test gets killed at different test cases each time when build, so I don't think a particular test case is the issue.

Screenshot 2024-04-19 210549

@phoenixbirdashes
Copy link
Author

Just in case you're not aware, Marabou is available on pypi, pip3 install maraboupy. So it's worth trying that before building from scratch.

@wu-haoze As part of my project I am actually trying to extract the equations that gets generated for the DNN we give as Input from the Marabou Files, I am not sure if it can be done via the Python Interface.

@wu-haoze
Copy link
Collaborator

wu-haoze commented Apr 19, 2024 via email

@phoenixbirdashes
Copy link
Author

phoenixbirdashes commented Apr 19, 2024 via email

@wu-haoze
Copy link
Collaborator

Closing the issue since it seems resolved. Feel free to re-open if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants