#68031 closed defect (fixed)

No ipopt in the system

Reported by: adalseno (Andrea Dalseno) Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: ipopt

Description

Hi, I installed ipopt via

sudo port install ipopt

The installation went fine

sudo port install ipopt
--->  Computing dependencies for ipopt
--->  Fetching archive for ipopt
--->  Attempting to fetch ipopt-3.14.12_1.darwin_19.x86_64.tbz2 from https://packages.macports.org/ipopt
--->  Attempting to fetch ipopt-3.14.12_1.darwin_19.x86_64.tbz2 from https://fra.de.packages.macports.org/ipopt
--->  Attempting to fetch ipopt-3.14.12_1.darwin_19.x86_64.tbz2 from https://nue.de.packages.macports.org/ipopt
--->  Fetching distfiles for ipopt
--->  Verifying checksums for ipopt
--->  Extracting ipopt
--->  Configuring ipopt
--->  Building ipopt
--->  Staging ipopt into destroot
--->  Installing ipopt @3.14.12_1
--->  Activating ipopt @3.14.12_1
--->  Cleaning ipopt
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.

the port is active

  ipopt @3.14.12_1 (active)

but ipopt is not there:

❯ which ipopt
ipopt not found

I installed ipopt in a conda environment using conda, and, within that environment, it works fine, but I would prefer to have it system-wide. I am on Mac Os Catalina.

❯ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.15.7
BuildVersion:   19H2026

What went wrong? Isn't the port supposed to install ipopt? Thanks in advance

Change History (6)

comment:1 Changed 15 months ago by jmroot (Joshua Root)

Owner: set to catap
Status: newassigned

This port doesn't appear to install an executable, just a library.

comment:2 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)

You can tell by running port contents ipopt or by looking at the port web site (the Files part of the Port Health section) what files the port installed. The port's description, "COIN-OR Interior Point Optimizer IPOPT", doesn't tell me whether it is supposed to install an executable.

comment:3 Changed 15 months ago by catap (Kirill A. Korinsky)

Yes, and if you check a build system you’ll see that it builds library: https://github.com/coin-or/Ipopt/blob/stable/3.14/src/Makefile.am

comment:4 Changed 15 months ago by catap (Kirill A. Korinsky)

I've made some investigation. For example Debian also install only libraries: https://packages.debian.org/source/sid/coinor-ipopt

But, if somehow ask it to use system ASL it will build binary.

So, I've asked upstream https://github.com/coin-or/Ipopt/issues/690 because it uses it's own macroses for autotools to detects ASL, Mumps and so on which should be rebuild by their build scripts https://github.com/coin-or-tools

For example Mumps build is quite frigiele and rebuild it via https://github.com/coin-or-tools/ThirdParty-Mumps seems like a nigth mare.

comment:5 Changed 15 months ago by catap (Kirill A. Korinsky)

The first PR https://github.com/macports/macports-ports/pull/20152 to bring ASL into MacPorts is ready. After it's merged I'll open the next one which builds ipopt.

comment:6 Changed 15 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In 3623b2b4ed245f6c4856076270b36459762519f4/macports-ports (master):

ipopt: use system Mumps and ASL

Closes: #68031

Note: See TracTickets for help on using tickets.