Changing the linear solver from mumps to MA57

310 views
Skip to first unread message

Alessandro Zavoli

unread,
Aug 1, 2017, 8:27:13 AM8/1/17
to PSOPT users group
I managed to install PSOPT on Ubutnu 16.04, but i cannot find a way to use any linear solver other than mumps
i had an academic licence form HSL software.
i downloaded the source files and copied them into the ipopt/thirdParties directory

Now, how can I select which linear solver to use?

Victor M. Becerra

unread,
Aug 1, 2017, 9:37:18 AM8/1/17
to alessand...@uniroma1.it, PSOPT users group
Alessandro

I think you need to leave just the source for ma57 under the 'Third Parties/HSL'  folder, and then do a clean recompilation and installation of Ipopt. The commands for compiling Ipopt can be found in the script that installs PSOPT (lines 13-16). I suggest you take a look at the Ipopt installation instructions. As ma57 is in fortran you will need to have g77 installed as well.

Regards

Victor Becerra

___________________________________________
Il tuo 5 diventa 1000
Fai crescere la tua università
Dona il 5 per mille alla Sapienza
Codice fiscale: 80209930587

--
You received this message because you are subscribed to the Google Groups "PSOPT users group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psopt-users-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alessandro Zavoli

unread,
Aug 1, 2017, 9:55:49 AM8/1/17
to PSOPT users group, alessand...@uniroma1.it
thank you for your answer!
It seems that the installation is fine. It now automatically detect ma27 instead of mumps.
However, i have no clue how to select the linear solver (e.g., forcing ma57 or mumps or another one)

Ipopt installation instructions are not  clear in that regards.

Alessandro

Victor M. Becerra

unread,
Aug 1, 2017, 9:58:30 AM8/1/17
to alessand...@uniroma1.it, PSOPT users group
Alessandro

You just need to install the linear solver that you want to use, you do not need to install more than one solver.

Regards

Victor.
Reply all
Reply to author
Forward
0 new messages