[Ipopt] Ipopt installing using coinbrew HSL skipping and error

Stefan Vigerske svigerske at gams.com
Sun Mar 29 10:47:31 EDT 2020


Hi,

I think the order to use HSL when using coinbrew is to first do a 
coinbrew fetch Ipopt, then to put the HSL source into the right 
ThirdParty/HSL directory, and then to do coinbrew build Ipopt.

Please run coinbrew also with --verbosity=4, save all output, and make 
that available somehow.

The "Unsupported or unknown name-mangling scheme" warning causes the 
error with HSL_FUNC not being defined. Is looks like Ipopt's configure 
thought that HSL is available, but was unable to link against it to 
determine the name-mangling scheme.

Stefan

On 3/29/20 4:37 PM, Hai Dang Nguyen Pham wrote:
> Hello,
> 
> I am kind of new to this. I have Ubuntu 18.04 and my goal is to install
> Ipopt with the ThirdParty HSL (MA57). In the end i want to use CasADi
> for a project in the university.
> 
> 
> I think i tried it in many ways at yet i keep failing to make it work
> properly ..
> 
> The latest try is to install the latest Ipopt version with coinbrew
> script. First fetch and then install.
> 
> Than i had to choose a build directory. I just created a directory named
> "build" and chose that.
> 
> Everything went well with ASL, Metis and Mumps, but with the HSL Package
> i get the following error:
> 
> First it says that it skipped ThirdParty/HSL
> 
> ##################################################
> ### Skipping ThirdParty/HSL
> ##################################################
> (twice)..
> 
> after that i get the following:
> 
> configure: WARNING: Unsupported or unknown name-mangling scheme: unknown
> 
> ##################################################
> ### Building Ipopt master
> ##################################################
> 
> /home/hdang/Matlab/coinbrew-master/Ipopt/src/Algorithm/LinearSolvers/IpMa27TSolverInterface.cpp:26:18: 
> 
> error: variable or field ‘HSL_FUNC’ declared void
>      void HSL_FUNC(ma27id, MA27ID)(
>                                ^~~~~~
> 
> and I don't even know what it means.
> 
> I downloaded the HSL files and copied the files just as mentioned in the
> README file with Option 1. I don't know how and if Option 2 is fixing my
> problem.
> 
> Also in the HSL INSTALL.HSL file they mentioned that if i configure and
> compile Ipopt, HSL will be compiled and included into the Ipopt
> exexcutable ..
> 
> If anyone can help I would be so happy! If you need some more
> information i will send it to you for sure!
> 
> 
> Have a nice day:)
> 
> -- 
> Hai Dang Nguyen Pham
> 
> 
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> https://list.coin-or.org/mailman/listinfo/ipopt



More information about the Ipopt mailing list