Giter VIP home page Giter VIP logo

Comments (10)

mlubin avatar mlubin commented on August 16, 2024

If this is a recent version of debian you could try using the builtin ipopt
package instead.

On Sep 9, 2016 09:31, "Robert Schwarz" [email protected] wrote:

Possibly a duplicate of #62
#62, but I don't have the
lib64 folders.

It fails during the build of dependency Lapack:

INFO: Changing Directory to /home/rs/.julia/v0.4/Ipopt/deps/src/Ipopt-3.12.1/ThirdParty/Lapack/build
[...]
checking for pkg-config... no
checking whether -lblas has BLAS... no
checking for COIN-OR package Blas... skipped check via pkg-config, redirect to fallback
checking for COIN-OR package Blas (fallback)... no, dependency coinblas not available
configure: error: Required package BLAS not found.

But BLAS was built just before, and it seems successfully:

julia> Pkg.dir("Ipopt")
"/home/rs/.julia/v0.4/Ipopt"

shell> ls /home/rs/.julia/v0.4/Ipopt/
deps doc example LICENSE.md README.md REQUIRE src test

shell> ls /home/rs/.julia/v0.4/Ipopt/deps
build.jl downloads src usr

shell> ls /home/rs/.julia/v0.4/Ipopt/deps/usr
lib

shell> ls /home/rs/.julia/v0.4/Ipopt/deps/usr/lib/
libcoinblas.a libcoinblas.la pkgconfig

shell> ls /home/rs/.julia/v0.4/Ipopt/deps/usr/lib/pkgconfig/
coinblas.pc

shell> cat /home/rs/.julia/v0.4/Ipopt/deps/usr/lib/pkgconfig/coinblas.pc
prefix=/home/rs/.julia/v0.4/Ipopt/deps/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib

Name: Blas
Description: Basic linear algebra package
URL: https://projects.coin-or.org/BuildTools
Version: 1.4.2
Libs: -L${libdir} -lcoinblas -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../.. -lgfortran -lm -lquadmath
Cflags:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#66, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABp0M4Mx3Sza0b6ZQhKAHRY9t98WUkS9ks5qoV_KgaJpZM4J5DWo
.

from ipopt.jl.

rschwarz avatar rschwarz commented on August 16, 2024

Thanks, that worked for me. 👍

from ipopt.jl.

tkelman avatar tkelman commented on August 16, 2024

would still like to see the config.log to see what happened

from ipopt.jl.

rschwarz avatar rschwarz commented on August 16, 2024

I uploaded the config.log. I tried both the Ipopt.jl release and then the master, with the same behavior.

from ipopt.jl.

tkelman avatar tkelman commented on August 16, 2024

try adding --with-blas="$prefix/lib/libcoinblas.a -lgfortran" to the lapack configure line?

though nowadays since we're renaming symbols in openblas we might not need to do this static blas thing. maybe still useful if you want to use ilp64 mkl with julia since ipopt would need lp64 and mkl uses the same symbol names.

from ipopt.jl.

rschwarz avatar rschwarz commented on August 16, 2024

@tkelman: With these extra params to the configure it works for me, too.

from ipopt.jl.

tkelman avatar tkelman commented on August 16, 2024

And you're sure it's using the source build this time? deps.jl contains that path?

from ipopt.jl.

rschwarz avatar rschwarz commented on August 16, 2024

I uninstalled the Debian package and called Pkg.build("Ipopt"). A lot of compilation followed, I did paste the log.

from ipopt.jl.

tkelman avatar tkelman commented on August 16, 2024

Great, thanks for testing that! I'll file that change as a PR then.

from ipopt.jl.

tkelman avatar tkelman commented on August 16, 2024

installing pkg-config might have also been a way to fix this, but #67 should make it unnecessary

from ipopt.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.