-
Notifications
You must be signed in to change notification settings - Fork 16
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
make fails with CglGomory.cpp:33:10: fatal error: OsiClpSolverInterface.hpp: No such file or directory, RHEL 8 #96
Comments
This shouldn't happen unless you are building in some non-standard way. A comprehensive guide for building projects in the Optimization Suite is here: https://coin-or.github.io/user_introduction.html. It's probably not anything specific to RHEL unless you are trying to link to packages installed with the system package manager and there is something non-standard about those packages. My best guess right now is that you are somehow linking against a version of Osi that was built without the presence of Clp. This can't happen if you do one monolithic build, but could happen if you built projects individually in the wrong order. If you could say more precisely how you built Cgl and what COIN-OR projects may have already been present on your system (e.g., were installed by the system package manager), I can probably guess what happened. |
I tried both I didn't get too far with the other modules as it was a rabbit hole of must install Osi/Clp et al before finally stopping at Cgl. We do have lots of software available ad hoc as modules that can load. |
I don't think what you're seeing can happen if you're doing a clean build with coinbrew on a system without any COIN-OR packages installed anywhere already. There is something contaminating the build somehow. Can you go to a newly created directory and run
If you attach the full output here, then I should have enough information to see what's going on. |
Some good news. I went back and looked at the dependencies. I made sure to run However now when compiling Couenne I don't see a bin directory being created. Here are the results of
And here are the results from
I do have to load a module for Intel Parallel Studio otherwise I get these errors:
Did I miss a step? |
The
It's not clear to me why these flags wouldn't work at buildtime. |
OK so I ran the configure/make/make install on ASL then re-ran the same for Couenne, still no bin directory.
Yes I had to load the Intel Parallal Studio module
Did I skip a step to get couenne to be built via the make command? Is there a way to install Couenne after ASL has been built that I just missed? |
You may need to re-build some of the dependencies as well, since they also need to be aware of ASL. Off the top of my head I'm not sure exactly which ones, though. I would just rebuild from scratch, but if you want to avoid the headache of doing each build manually, |
Ah yes, Couenne also needs the Bonmin/ASL lib, if that exists, otherwise the Ipopt/ASL lib. |
On the Bonmin page
What does the "if" mean? How are they obtained alongside bonmin source files? And on the Couenne page, the instructions say:
However when trying this with So should I I tried that still no Side note, broken link on the Couenne page for general installation instructions for COIN-OR projects. |
You should use the documentation here as the source of truth and disregard documentation within the Bonmin and Couenne projects for the most part (for now). Any links to In a nutshell, as long as you build and install ASL before configuring, building, and installing Bonmin and Couenne (and possibly Ipopt?) and as long as everything is installed in the same prefix, things should just work. ( The complexity of getting all of this right is the reason |
Indeed I wanted to see what happens with the individual packages. I see in https://github.com/coin-or/Cgl coinbrew is referenced.
boom:
But nowhere do I see to run |
All you actually need is
This will fetch and build all dependencies, including Cgl. In fact, you can get in trouble if you do it in two steps, as you did, since you can end up with a version of Cgl that is incompatible with the version of Couenne you request (coinbrew takes care of making sure all the versions of dependencies are compatible). But it seems you fortunately didn't run into that. You don't need |
I tried this on our RHEL 7 cluster where the latest blas available is
Edit: I see the skip option but no matter what I try, e.g., |
Any work around for this on RHEL 8?
The text was updated successfully, but these errors were encountered: