-
Notifications
You must be signed in to change notification settings - Fork 35
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
Pkg.build errors #48
Comments
It seems you are missing MPI headers, could you try doing
and tell us if it worked ? |
@blegat Thanks for your quick reply. I tried your method. The same error still happens. |
Did the installation work ? It should have also installed |
It's probably finding a version of Mumps that requires MPI. If you don't need this, reinstall a version of Mumps that doesn't link against MPI. |
@blegat The installation worked. But I still get the same error when installing Cbc in Julia.
@mlubin I do need Mumps for other optimization solvers. If I install Cbc from source in C++, the installation(C++ version) works fine. So I assume something is wrong with the julia Cbc deps build script. |
@yuzhangbit, the entire build script is here. |
@mlubin Thanks for your information. |
It seems that the issue is that
If you add |
Still can't resolve it. |
You can try
even if it's just a hack |
@yuzhangbit, can you reproduce the issue by building from source and using the Cbc.jl script that I pointed to? |
@mlubin Yes. By building Julia 0.5.1 from source and using the Cbc.jl, I can recreate the issue. |
@yuzhangbit, I meant building Cbc from source independent of Julia, as you said you had done before. |
@blegat Thanks for your information. I tried. It's not just 'mpi.h' file. If I hacked it in this way, the compiling asks for other mpi header files as well. It's the whole mpi include directory that is not passed to the build script. |
Then do
|
The ubuntu cbc package |
@mlubin Cool! Thanks a lot. The |
@yuzhangbit glad to hear this. If you have the time, it would help us to know what is in the build script that makes Cbc not compile while when you compile it by hands it works. |
@blegat Sure thing. It's the
part is missing. |
OS: ubuntu 16.04
Julia version: 0.5.1
When I run
I get the error output below:
The text was updated successfully, but these errors were encountered: