meco-group / omg-tools

Optimal Motion Generation-tools: motion planning made easy
GNU Lesser General Public License v3.0
563 stars 97 forks source link

Unable to run examples dependent on HSL solvers. #83

Closed abhayraw1 closed 4 years ago

abhayraw1 commented 4 years ago

I followed the instructions given in the readme. I did download and install HSL following the instruction given here

image

When I try running an example that is dependent on the HSL solver, I get the following error: Could not find ma57 (from hsl library), which is needed for the code to run.

Any pointers would be really appreciated!

Shantnu12345 commented 4 years ago

I am facing the same issues. Is there a way to run these without hsl because for me performance is not a concern.

timmercy commented 4 years ago

@Shantnu12345: Yes, you can remove 'ipopt.linear_solver': 'ma57' from the problem options, then you won't need to install the HSL solvers. But keep in mind that some examples will run very slowly or (in some rare cases) may not run at all when you don't have the HSL solvers.

@abhayraw1: I'm sorry, but I don't know what goes wrong there... Do you have any more information about what you already tried to solve the problem?

abhayraw1 commented 4 years ago

@timmercy: The problem was that Ipopt wasn't able to find ma57 for some reason. I reinstalled the whole stack with updated versions and it worked!

I'll close this then. Thanks anyway ✌!

nnop commented 1 year ago

@abhayraw1 Met the same problem. May I ask how did you solve the problem?