OpenMDAO / build_pyoptsparse

python script to build/install pyoptsparse with IPOPT (and optionally SNOPT)
Apache License 2.0
9 stars 15 forks source link

MUMPS won't configure without `-lm` #36

Closed tadkollar closed 1 year ago

tadkollar commented 2 years ago

When building MUMPS, some platforms report an error during configure that functions like pow and sqrt are undefined. The solution is to add -lm to CFLAGS (although configure should be doing this already).