Comments (14)
I'm also seeing this, but it should be reported at homebrew-juliadeps
like the error message states. I'll open an issue there.
from ipopt.jl.
Not sure if yosemite is supported yet: https://groups.google.com/d/msg/julia-users/7D0O6ltoWjs/-RvizlHnbvkJ
CC @staticfloat
from ipopt.jl.
@kofron, in the meantime, if you install gfortran you should be able to build Ipopt from source.
from ipopt.jl.
Yeah I think this is Yosemite related, its trying to compile it
from ipopt.jl.
@mlubin Ipopt builds fine - but julia won't pick it up. When I do Pkg.add("Ipopt") it thinks it needs to build the homebrew-juliadeps tap to satisfy the dep, even though Ipopt is built and linked on my system.
from ipopt.jl.
@kofron, the ipopt from homebrew-science isn't compatible with julia for a number of reasons. You can build the julia version from source with Pkg.build("Ipopt")
if gfortran is installed.
from ipopt.jl.
If gfortran is installed and you still get the above error, then something weird is going on.
from ipopt.jl.
@mlubin thats exactly my point - gfortran is installed. it seems like there's something pathological going on, but I can't pinpoint it.
from ipopt.jl.
Try commenting out the four lines under # OS X
in src/build.jl
and trying again. That will bypass Homebrew.jl and just use the simple build script.
from ipopt.jl.
@mlubin That did work, thanks.
from ipopt.jl.
@kofron unfortuantely, things are going to be a little hairy until I can get yosemite bottles built. Source builds from Homebrew.jl "should" work, but I can't guarantee it. :P Glad you've got it working so far though.
from ipopt.jl.
As a short aside, I figured out what was going on here. It's not yet fixed, but at least I know what the problem is.
First off, Homebrew does a lot of things to shield installs from external compilers. Unless you declare depends_on :fortran
inside of your formula, it will actually shield your formula from gfortran
from the gcc
homebrew package. I'm not sure what the wisdom behind that is, but I'm sure they have their reasons. Unfortunately, that means that even though I had declared :fortran
as a build-time dependency, even when installing the bottle-only version, it still tries to install a fortran compiler, which means that the user has to compile gcc
from scratch just to install ipopt
! What a waste of time and greenhouse gases. So my workflow here is to uncomment this line when building a new version of ipopt
, then comment it again when I have bottles. I'll have bottles for Yosemite as soon as I get the buildslave setup, which is currently running in the background. (exciting!)
EDIT: I may have a strange definition of exciting....
from ipopt.jl.
@staticfloat, is this issue resolved now?
from ipopt.jl.
Yes, this should be resolved now.
from ipopt.jl.
Related Issues (20)
- `max_wall_time` is still not working HOT 5
- Allow user to specify the Ipopt binary HOT 2
- copy_to does not copy attributes for variable bound constraints HOT 6
- Only evaluate QP callbacks if needed HOT 1
- Problem with HSL solvers since updating to MacOS 13.0 HOT 3
- double free or corruption (out) error HOT 20
- Linking full hsl library to Ipopt.jl on ubuntu HOT 19
- julia 0.6.0 install Ipopt cannot connect to mumps dependency HOT 2
- Add support for GetIpoptCurrentViolations
- Incorrect number of Hessian structure (nonzero entries) HOT 10
- Does Ipopt.jl support giving hessian matrix in JuMP directly, without using the C_wrapper? HOT 2
- pointer being freed was not allocated HOT 33
- Invalid number in NLP function or derivative detected. HOT 8
- Issue with non-negative variable tolerance. HOT 2
- does not allow Ipopt_jll current version HOT 2
- Add some pre-built "debugging" callbacks HOT 1
- Crash on Windows when optimizing with SPRAL_jll HOT 11
- Using Ipopt in parallel threads HOT 4
- "double free or corruption" when providing duplicate hessian entries via MathOptInterface HOT 4
- Parsing an NLP 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 ipopt.jl.