Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide visibility to mumps_c #584

Closed
juanmanzanero opened this issue Jun 21, 2022 · 4 comments
Closed

Provide visibility to mumps_c #584

juanmanzanero opened this issue Jun 21, 2022 · 4 comments

Comments

@juanmanzanero
Copy link

Hello!

I am using ipopt to run optimal control problems (it is an open source project, fastest-lap) and I explicitly use mumps (the function mumps_c) to solve the sensitivity analysis. In linux, since I compile everything myself, I can use the mumps library compiled by myself and that I am linking ipopt with.

However, I want to provide a windows precompiled version of my software, for which I am using your precompiled ipopt libraries. Now I face the problem that I do not have mumps_c available, I guess it was maked as visibility hidden when linking ipopt. Can I ask you to provide public visibility to mumps_c?

(For example, a nice approach would be to create a function ipopt_mumps_c which can have visibility public, that simply calls mumps_c (which can stay hidden))

I would appreciate this a lot, since if I install my own mumps version, I will never be sure that it is exactly the same as in ipopt.

Thank you in advance!!! And thank you for providing such a powerful tool.

Juan

@svigerske
Copy link
Member

Adding a ipopt_mumps_c() sounds possible. Another option would be to build the Mumps lib as DLL (instead of a static lib that gets included into the Ipopt DLL) and to distribute also the corresponding Mumps LIB file. mumps_c() would be marked for DLL export then and you could link against the Mumps LIB file.

@juanmanzanero
Copy link
Author

Thank you Stefan for the very quick answer. Both answers sound very good to me!

@svigerske
Copy link
Member

The binaries attached to the 3.14.7 release have MUMPS build as separate DLL and corresponding LIB and headers are redistributed.

@juanmanzanero
Copy link
Author

Thank you very much Stefan!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants