1. get ipopt source
  2. configure ipopt with mumps:
    LDFLAGS="-Wl,-no-as-needed -ldmumps_seq -lmpiseq_seq-4.10.0 -Wl,-as-needed" CFLAGS=-DHAVE_CSTDDEF CXXFLAGS=-DHAVE_CSTDDEF ./configure --with-mumps-lib --with-mumps-incdir=/usr/include/mumps_seq
  3. make ipopt
  4. linker flags: -ldl -llapack -lblas