cancel
Showing results for 
Search instead for 
Did you mean: 

Server Gurus Discussions

wimpiewest
Adept I

Please help: Optimizing IPOPT for AMD

Good day,

After 12 year of exclusively owning Intel products I recently converted to team red .

I am currently pursuing my postgraduate studies in which I am using Matlab to solve optimal control problems. Matlab uses a MEX file that was compiled to act as an interface to the popular non-linear solver IPOPT. It seems like the performance of the solver is very dependent on the libraries that were used to compile the MEX file. One needs to use an implementation of BLAS and LAPACK that is tailored for AMD hardware.

I am not a developer or computer scientist by trade, so that is why I am turning to the AMD community for help.

Can anyone help me to install IPOPT using libraries that are optimized for AMD processors?

Refer to the following links for more details:

Kind regards

0 Likes
3 Replies
Anonymous
Not applicable

Hello, 

We can help you to compile IPOPT with the appropriate AMD tools.

We have AOCC(AMD optimizing C compiler) and AOCL(AMD optimizing cpu libraries)

Here are links to both the compiler and libraries:

AOCC:https://developer.amd.com/amd-aocc/ 

AOCL:https://developer.amd.com/amd-aocl/ 

You will find the BLIS library inside AOCL is probably what you are looking for. 

The CPU libraries user guide and compiler quick references will probably also be helpful.

Compiler quick reference: https://developer.amd.com/wordpress/media/2020/04/Compiler%20Options%20Quick%20Ref%20Guide%20for%20A... 

Libraries user guide: https://developer.amd.com/wp-content/resources/AOCL_User_Guide_2.1.pdf 

You should be able to compile and link in IPOPT just like you would any other library. 

0 Likes

Wow thank you so much for the reply, this is exactly what I need! Will these libraries work for a desktop CPU as well? I have a Ryzen 3800X?

0 Likes
Anonymous
Not applicable

Yes it will work for any and all products that are using zen cores(EPYC, RYZEN, etc) You can also switch between epyc and ryzen using the same binaries. Everything should just work. 

0 Likes