Comments (5)
EDIT: actually this error was due to CMake not finding TBB. When TBB is not there, the compilation of Papilo in its own directory downloads TBB and build it. But when building scipoptsuite
directly this is not the case and, since the TBB dependency is missing it fails. The fix for me was installing TBB.
Initial Version
The test below is kept for reference, but see above.
I get a similar error with SCIP ≥ 8.0.0; to actually build it I need to:
cd ~/Downloads/scipoptsuite-8.0.0
cd papilo
mkdir build
cd build
cmake ..
make -j 4
cd ~/Downloads/scipoptsuite-8.0.0
mkdir build
cd build
cmake ..
-D PAPILO_DIR=~/Downloads/scipoptsuite-8.0.0/papilo/build \
make -j 4
That is build Papilo in its directory first and then build Scip pointing to the build directory of Papilo.
Maybe I am missing something?
from scip.
Dear @Ishaanjolly ,
Can you please post the command that you are executing, especially from where you are starting.
The output looks like are only trying to build scip, then you need to specify a path to papilo or set it to off in the cmake command with -DPAPILO=off
.
However it could be simpler to just build the whole scipoptsuite (create a cmake build folder in the scipoptsuite directory as opposed to a cmake build folder in scipoptsuite/scip)
Best,
Franziska
from scip.
Dear Franziska,
Apologies for the delay in my getting back to you. I got very busy with somethings.
Here are the commands I used:
Within scipoptsuite
directory, I used the following commands:
mkdir build
cd build
cmake ..
make
make install
Output:
Error: No available formula with the name "bison".
Error: No available formula with the name "flex".
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find BISON: Found unsuitable version "2.3", but required is at
least "2.4.0" (found /usr/bin/bison)
Call Stack (most recent call first):
/Applications/CMake.app/Contents/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:592 (_FPHSA_FAILURE_MESSAGE)
/Applications/CMake.app/Contents/share/cmake-3.21/Modules/FindBISON.cmake:306 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
zimpl/CMakeLists.txt:88 (find_package)
-- Configuring incomplete, errors occurred!
See also "/Users/ishaanjolly/Downloads/scipoptsuite-8.0.0/build/CMakeFiles/CMakeOutput.log".
See also "/Users/ishaanjolly/Downloads/scipoptsuite-8.0.0/build/CMakeFiles/CMakeError.log".
(base) Ishaans-MacBook-Pro:build ishaanjolly$ brew install bison==2.4.0
Running `brew update --preinstall`...
fatal: Could not resolve HEAD to a revision
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> New Casks
abbyy-finereader-pdf mellel
alpha mysteriumvpn
eliot paddle-easydl
flycast paragon-camptune
gcc-aarch64-embedded pingnoo
hepta playdate-simulator
heroic poker-copilot
iptvnator prowlarr
irpf2022 roonbridge
jetbrains-gateway rwts-pdfwriter
libcblite supernotes
libcblite-community unicopedia-plus
macast write
mediahuman-audio-converter xemu
==> Updated Casks
Updated 875 casks.
==> Deleted Casks
bitshares finereader password-assistant red
dusty macfusion pd-runner synergy
edenmath now profilemanager
eggplant optimal-layout raiderio
Warning: No available formula with the name "bison==2.4.0".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
(base) Ishaans-MacBook-Pro:build ishaanjolly$ cmake ..
Error: No available formula with the name "bison".
Error: No available formula with the name "flex".
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find BISON: Found unsuitable version "2.3", but required is at
least "2.4.0" (found /usr/bin/bison)
Call Stack (most recent call first):
/Applications/CMake.app/Contents/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:592 (_FPHSA_FAILURE_MESSAGE)
/Applications/CMake.app/Contents/share/cmake-3.21/Modules/FindBISON.cmake:306 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
zimpl/CMakeLists.txt:88 (find_package)
I think I should declare here that I was able to sucessfully install SCIP 7.0, and PySCIPOPT along with it. However, I guess the dependencies remained as I continued to install SCIP 8.0. Could you please suggest a way to get past this error and be able to work with SCIP. The bison assertion seems a bit weird as I already have it on my machine.
from scip.
Dear @Ishaanjolly,
The requirements to flex and bison have changed, actually you can see in your output that bison has been found, but a version too old:
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find BISON: Found unsuitable version "2.3", but required is at
least "2.4.0" (found /usr/bin/bison)
As you are on mac, cmake tries to find the necessary packages via brew, but can't seem to succeed. This could be due to your system being a bit too old?
If you don't need ZIMPL then you should be able to resolve the error by adding -DZIMPL=off
to your initial cmake call, otherwise you'd need to manually install a suitable version of bison.
Hope this helps,
Best,
Franziska
from scip.
Hi @Ishaanjolly - has your problem been solved? Please reopen if not.
from scip.
Related Issues (20)
- Insuppressible debug print from multithreaded SCIP runs HOT 1
- Including scip headers under windows (MSVC) fails HOT 10
- SCIP giving two optimal solutions for same problem using different formulations HOT 8
- use-of-uninitialized-value in SCIPparamGetChar HOT 16
- Check which constraints are unsatisfied when the optimization result is infeasible HOT 2
- Assertion failed with minimal quadratic model HOT 1
- Assertion failed at the end of a solve HOT 3
- Data race in interrupt.c HOT 4
- ImportError: libscip.so.8.0: cannot open shared object file: No such file or directory HOT 1
- Suboptimal MIP solution reported as optimal HOT 2
- Can you build binary package for a more recent liunx distribution? HOT 3
- SegFault after compiling HOT 5
- Coloring application Branching Rule contradictory code HOT 7
- 2 tests fail HOT 1
- lot of tests from viprchk and «ctest -R MIPEX» failed on «exact-rational» branch HOT 9
- RFE: dynamic line length HOT 6
- question: how not to use nlpi_ipopt which depend on proprietray libhsl.so? HOT 3
- Interesting paper HOT 1
- `RelWithDebInfo` build is still asserting. HOT 4
- question: compiled with GMP=on, how to ensure GMP is used with CVXPY? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scip.