Comments (21)
Can you please try
] add https://github.com/juan-pablo-vielma/Clp.jl.git
and see if that builds ok?
from clp.jl.
from clp.jl.
@blegat how was Julia installed? AFAIK BinaryBuilder binaries don't work with Julia source builds.
from clp.jl.
Through pacman
from clp.jl.
Can you please post the output of ldd libcoinblas.so
and ls -la
on julia-1.0.0/lib/julia
from clp.jl.
actually I see pacman uses the systems gcc (there is no libgfortran in usr/lib/julia/
) so the important info is the version of libgfortran installed by that version of gcc. Looks like it would be gcc v8 which comes with libgfortran v5, while
libcoinblas.so requires libgfortran v4 which would explain the problem. If this is indeed the case, adding libgfortran.so.4
(e.g. from GCC v7) to the LD_LIBRARY_PATH should fix it (or copying it to Clp's usr/lib
directory).
from clp.jl.
Indeed, it seems to be the missing libgfortran.so.4
$ ldd libcoinblas.so
linux-vdso.so.1 (0x00007ffc97dca000)
libgfortran.so.4 => not found
libm.so.6 => /usr/lib/libm.so.6 (0x00007f38ca445000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f38ca42b000)
libquadmath.so.0 => /usr/lib/libquadmath.so.0 (0x00007f38ca3e8000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f38ca224000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007f38ca849000)
$ cd /usr/lib/julia
$ julia ls -a
. libgit2.so libpcre2-8.so
.. libgmp.so libpcre2-8.so.0
libamd.so libmpfr.so libpcre2-8.so.0.6.0
libcamd.so libmpfr.so.6 libspqr.so
libccalltest.so libmpfr.so.6.0.1 libsuitesparseconfig.so
libccalltest.so.debug libopenblas.so libsuitesparse_wrapper.so
libccolamd.so libopenblas.so.0 libumfpack.so
libcholmod.so libopenlibm.so sys.so
libcolamd.so libopenlibm.so.2
libdSFMT.so libopenlibm.so.2.5
from clp.jl.
I just thought of inelegant, but simple solution. Copy the libgfortran.so.4
from the Julia pre-build binaries to somewhere BP can find 🙂
from clp.jl.
Sounds similar to the workaround being implemented by users of Arpack.jl: JuliaLinearAlgebra/Arpack.jl#5 (comment), needed by folks to get Gadfly working, as noted in https://discourse.julialang.org/t/julia-1-0-support-just-landed-on-gadfly-master/14978/16.
from clp.jl.
Linking this BB issue that should eventually resolve everything
JuliaPackaging/BinaryBuilder.jl/issues/253
from clp.jl.
Hi! It seems the previous issue was recently closed. I however cannot use Clp in Julia v0.7 or v1 because of the following build error:
Error: Error building `Clp`:
│ % Total % Received % Xferd Average Speed Time Time TimeCurrent
│ Dload Upload Total Spent LeftSpeed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--100 172 0 172 0 0 1508 0 --:--:-- --:--:-- --:--:--1508
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--100 622 0 622 0 0 3417 0 --:--:-- --:--:-- --:--:--607k
│ curl: (6) Could not resolve host: github-production-release-asset-2e65be.s3.amazonaws.com
│ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ │ caller = ip:0x0
│ └ @ Core :-1
│ ERROR: LoadError: failed process: Process(`curl -g -L -f -o build_COINBLASBuilder.v1.4.6.jl https://github.com/juan-pablo-vielma/COINBLASBuilder/releases/download/v1.4.6-beta2/build_COINBLASBuilder.v1.4.6.jl`, ProcessExited(6)) [6]
Can a fix be released now that BB has been updated?
I assume the error I get is related, but maybe is a different issue. Thanks.
from clp.jl.
Can you send me more info on your system, it could be unrelated.
from clp.jl.
It seems it was unrelated. I am on Ubuntu 18.04. Yesterday I installed gfortran-7 but I didn't reboot. Today I tried again and it was building, maybe that was it. I will report if I encounter the problem again, but it looks fine at the moment. Thank you.
from clp.jl.
I also encountered this problem on Travis, then I restarted the build and it succeeded
from clp.jl.
Same problem here:
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.0.2 (2018-11-08)
_/ |\__'_|_|_|\__'_| |
|__/ |
(v1.0) pkg> build Clp
Building Clp → `~/.julia/packages/Clp/9Gz64/deps/build.log`
┌ Error: Error building `Clp`:
│ % Total % Received % Xferd Average Speed Time Time Time Current
│ Dload Upload Total Spent Left Speed
100 172 0 172 0 0 39 0 --:--:-- 0:00:04 --:--:-- 39
100 622 0 622 0 0 117 0 --:--:-- 0:00:05 --:--:-- 0
100 3355 100 3355 0 0 394 0 0:00:08 0:00:08 --:--:-- 1430
│ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ │ caller = ip:0x0
│ └ @ Core :-1
│ ERROR: LoadError: LoadError: LibraryProduct(nothing, ["libcoinblas"], Symbol(""), "Prefix(/home/yakir/.julia/packages/Clp/9Gz64/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│ [1] #write_deps_file#152(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /home/yakir/.julia/packages/BinaryProvider/4F5Hq/src/Products.jl:414
│ [2] write_deps_file(::String, ::Array{LibraryProduct,1}) at /home/yakir/.julia/packages/BinaryProvider/4F5Hq/src/Products.jl:395
│ [3] top-level scope at none:0
│ [4] include at ./sysimg.jl:29 [inlined]
│ [5] include(::String) at ./loading.jl:1079
│ [6] top-level scope at none:0
│ in expression starting at /home/yakir/.julia/packages/Clp/9Gz64/deps/build_COINBLASBuilder.v1.4.6.jl:45
│ in expression starting at /home/yakir/.julia/packages/Clp/9Gz64/deps/build.jl:38
└ @ Pkg.Operations /build/julia/src/julia/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1097
I'm on Manjaro.
from clp.jl.
what version of BinaryProvider is installed? (e.g. ] st -m
)
from clp.jl.
[b99e7846] BinaryProvider v0.5.3
from clp.jl.
That worked! Thanks!!!
from clp.jl.
@juan-pablo-vielma I am impressed, how did you make it work ? Is is https://github.com/JuliaOpt/COINBLASBuilder that creates a blas
library that is with the 64_
suffix that is installed for ArchLinux ?
from clp.jl.
Just used the new multi-gcc version of BB/BP that figures the right version of libgfortran
available to Julia. COINBLASBuilder then provides a version of blas
that uses that version of libgfortran
. So it is still not using ArchLinux's (or Julia's) blas
library. I still need to double check that this "COIN" version of blas
plays nice with (at least) Julia's version when they are both used at the same time. It looks like the error in jump-dev/Cbc.jl#56 was because there were two incompatible versions of the Osi libraries that were loaded at the same time (the BB version from Clp and the old one from Cbc).
Any pointers on how to test this are welcome.
from clp.jl.
Just as an aside, this also resolved the build problems on a source-built Julia 1.0.3 on OSX. (I haven't tested functionality yet, but using
works without issue.)
from clp.jl.
Related Issues (20)
- copy_to incorrectly maps scalar constraints HOT 3
- TagBot trigger issue HOT 9
- Add cconvert for Clp.Optimizer
- Support ConstraintBasisStatus
- VariableConstraints HOT 1
- Numerical differences between versions 0.7.0 and 0.8.4 HOT 9
- Differences between 0.7.0 and 0.8.4 HOT 2
- cannot get the primal solution when using the Clp ipm method HOT 7
- Support for Apple M1 HOT 47
- Imprecise interation Count HOT 5
- Using custom built Clp binaries for v1.0.1 HOT 4
- Clp fails at precompile. Could not load library HOT 1
- Issue with version 1.17.7 of Clp HOT 2
- hope release 1.0.3 HOT 1
- Segfault when solving large problem with barrier HOT 10
- Don't query entire solution vector every time
- Error building 'Clp' cannot generate deps.jl HOT 17
- MethodError when setting PresolveType and SolveType through MOI HOT 1
- Bump CEnum?
- New release HOT 1
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 clp.jl.