Problems installing Ipopt on Ubuntu

587 views
Skip to first unread message

Uwe Fechner

unread,
Mar 1, 2016, 12:06:31 PM3/1/16
to julia-opt
Hello,

I am trying to use the new nonlinear optimization functionality that uses automatic differentiation.

I have problems to install Ipopt. I get the following error message:

Running script for downloading the source code for MUMPS
 
Downloading the source code from ...
--2016-03-01 18:01:27--  http://mumps.enseeiht.fr/MUMPS_4.10.0.tar.gz
Resolving mumps.enseeiht.fr (mumps.enseeiht.fr)... 147.127.176.144
Connecting to mumps.enseeiht.fr (mumps.enseeiht.fr)|147.127.176.144|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-03-01 18:01:27 ERROR 404: Not Found.

================================[ ERROR: Ipopt ]================================

LoadError: failed process: Process(`./get.Mumps`, ProcessExited(8)) [8]
while loading /home/ufechner/.julia/v0.4/Ipopt/deps/build.jl, in expression starting on line 80

================================================================================

===================================[ BUILD ERRORS ]====================================

WARNING: Ipopt had build errors.

 - packages with build errors remain installed in /home/ufechner/.julia/v0.4
 - build the package(s) and all dependencies with `Pkg.build("Ipopt")`
 - build a single package by running its `deps/build.jl` script

Any idea, how to fix this?

I am using Julia:
 |  Version 0.4.2 (2015-12-06 21:47 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org release
|__/                   |  x86_64-linux-gnu
 
on Ubuntu 14.04, 64 bits.

Best regards:

Uwe Fechner, TU Delft

Uwe Fechner

unread,
Mar 1, 2016, 12:31:14 PM3/1/16
to julia-opt
Hi,

I was able to fix this problem myself.

I had to edit the file:
get.Mumps
in the folder
~/.julia/v0.4/Ipopt/deps/src/Ipopt-3.12.1/ThirdParty/Mumps

I changed line 31 to:
$wgetcmd http://ftp.mcs.anl.gov/pub/petsc/externalpackages/MUMPS_${mumps_ver}.tar.gz

because the standart server is down.

I hope that this is an acceptable work around.

Uwe

Miles Lubin

unread,
Mar 3, 2016, 10:38:10 AM3/3/16
to julia-opt
It seems like the MUMPS server is back online.

Alex Dowling

unread,
Mar 11, 2016, 5:51:10 PM3/11/16
to julia-opt
For best performance with IPOPT, I strongly recommend you use the HSL linear algebra routines. http://www.hsl.rl.ac.uk/ipopt/
Reply all
Reply to author
Forward
0 new messages