<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1">Hey guys,<br>
      I managed to get IpOpt to compile after a long day of
      configuration, but I haven't been able to reproduce it now. <br>
      <br>
      There are the steps I take to prepare IpOpt:<br>
      unzip BLAS.zip<br>
      cd BLAS<br>
      make<br>
      mv blas_LINUX.a libblas.a<br>
      mkdir /local<br>
      mkdir /local/BLAS<br>
      cp libblas.a /local/BLAS/<br>
      cd ..<br>
      tar zxvf MUMPS_4.10.0.tar.gz<br>
      cd MUMPS_4.10.0<br>
      cp Make.inc/Makefile.gfortran.SEQ Makefile.inc<br>
      make<br>
      cd ..<br>
      unzip Ipopt-3.11.9.zip<br>
      cd Ipopt-3.11.9/ThirdParty/ASL<br>
      ./get.ASL<br>
      cd ../Blas<br>
      ./get.Blas<br>
      cd ../Lapack<br>
      ./get.Lapack<br>
      cd ../Metis<br>
      ./get.Metis<br>
      cd ../../<br>
      ./configure --with-blas-datadir=$HOME/BLAS
      --with-mumps-incdir=$HOME/MUMPS_4.10.0/include
      --with-mumps-datadir=$HOME/MUMPS_4.10.0/lib<br>
      make<br>
      <br>
      with this. Make errors with: <br>
      if /bin/sh ../../../../libtool --tag=CXX --mode=compile g++
      -DHAVE_CONFIG_H -I. -I`echo .` -I../../../src/Common&nbsp; -I`echo
      ./../../Common` -I`echo ./../../LinAlg` -I`echo
      ./../../LinAlg/TMatrices` -I`echo ./..` -I`echo
      ./../../Interfaces` -I`echo ./../../contrib/CGPenalty`
      -I/home/Admin/MUMPS_4.10.0/include&nbsp;&nbsp;&nbsp; -O3 -pipe -DNDEBUG
      -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall
      -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas
      -Wno-long-long&nbsp;&nbsp; -DIPOPT_BUILD -MT IpMumpsSolverInterface.lo -MD
      -MP -MF ".deps/IpMumpsSolverInterface.Tpo" -c -o
      IpMumpsSolverInterface.lo IpMumpsSolverInterface.cpp; \<br>
      &nbsp;&nbsp;&nbsp; then mv -f ".deps/IpMumpsSolverInterface.Tpo"
      ".deps/IpMumpsSolverInterface.Plo"; else rm -f
      ".deps/IpMumpsSolverInterface.Tpo"; exit 1; fi<br>
      &nbsp;g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Common
      -I./../../Common -I./../../LinAlg -I./../../LinAlg/TMatrices
      -I./.. -I./../../Interfaces -I./../../contrib/CGPenalty
      -I/home/Admin/MUMPS_4.10.0/include -O3 -pipe -DNDEBUG
      -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall
      -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas
      -Wno-long-long -DIPOPT_BUILD -MT IpMumpsSolverInterface.lo -MD -MP
      -MF .deps/IpMumpsSolverInterface.Tpo -c IpMumpsSolverInterface.cpp
      -o IpMumpsSolverInterface.o<br>
      IpMumpsSolverInterface.cpp:17:17: fatal error: mpi.h: No such file
      or directory<br>
      &nbsp;#include "mpi.h"<br>
      <br>
      If I add ADD_CXXFLAGS="-I$HOME/MUMPS_4.10.0/libseq" or if I use
      the command&nbsp;&nbsp;</font><font size="-1"><font size="-1">./configure
        --with-blas-datadir=$HOME/BLAS </font>then the error I get is:<br>
      Making all in AmplSolver<br>
      make[3]: Entering directory
      `/home/Admin/Ipopt-3.11.9/Ipopt/src/Apps/AmplSolver'<br>
      /bin/sh ../../../../libtool --tag=CXX --mode=link g++&nbsp; -O3 -pipe
      -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual
      -Wall -Wpointer-arith -Wwrite-strings -Wconversion
      -Wno-unknown-pragmas -Wno-long-long
      -I/home/Admin/MUMPS_4.10.0/libseq&nbsp; -DIPOPT_BUILD&nbsp;&nbsp; -o ipopt.exe&nbsp;
      ampl_ipopt.o libipoptamplinterface.la ../../Interfaces/libipopt.la
      /home/Admin/Ipopt-3.11.9/ThirdParty/ASL/libcoinasl.la -lm&nbsp;&nbsp;&nbsp;
      /home/Admin/Ipopt-3.11.9/ThirdParty/Lapack/libcoinlapack.la
      -Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1
      -Ld:/programming/mingw64/bin/../lib/gcc
      -Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/lib/../lib
      -Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../lib
      -Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/lib
      -Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../..
      -lgfortran -lmingw32 -lmoldname -lmingwex -lmsvcrt -lquadmath -lm
      -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32&nbsp; -lm&nbsp; <br>
      g++ -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses
      -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings
      -Wconversion -Wno-unknown-pragmas -Wno-long-long
      -I/home/Admin/MUMPS_4.10.0/libseq -DIPOPT_BUILD -o ipopt.exe
      ampl_ipopt.o&nbsp; ./.libs/libipoptamplinterface.a
      ../../Interfaces/.libs/libipopt.a
      /home/Admin/Ipopt-3.11.9/ThirdParty/ASL/.libs/libcoinasl.a
      /home/Admin/Ipopt-3.11.9/ThirdParty/Lapack/.libs/libcoinlapack.a
      -Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1
      -Ld:/programming/mingw64/bin/../lib/gcc
      -Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/lib/../lib
      -Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../lib
      -Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/lib
      -Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../..
      -lgfortran -lmingw32 -lmoldname -lmingwex -lmsvcrt -lquadmath
      -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32<br>
      ../../Interfaces/.libs/libipopt.a(IpBlas.o):IpBlas.cpp:(.text+0x84):
      undefined reference to `ddot_'<br>
      ../../Interfaces/.libs/libipopt.a(IpBlas.o):IpBlas.cpp:(.text+0xa8):
      undefined reference to `dnrm2_'<br>
      ../../Interfaces/.libs/libipopt.a(IpBlas.o):IpBlas.cpp:(.text+0xd8):
      undefined reference to `dasum_'<br>
      <br>
      $HOME/BLAS/libblas.a does exist<br>
      <br>
      Any help would be much appreciated.<br>
      Thanks,<br>
      Scott.<br>
      <br>
      <br>
    </font>
  </body>
</html>