<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1">Hi Stefan,<br>
      I have to modify the get.Mumps script and remove the patch as it
      causes 'patch.exe' to crash. Apart from that you are correct I
      have managed to get it to compile without my own libraries. I'm
      going to go with this method.<br>
      <br>
      Thanks,<br>
      Scott<br>
      <br>
    </font>
    <div class="moz-cite-prefix">On 28/11/2014 2:27 a.m., Stefan
      Vigerske wrote:<br>
    </div>
    <blockquote cite="mid:547726CA.9030307@math.hu-berlin.de"
      type="cite">Hi,
      <br>
      <br>
      you probably need to set --with-blas to you Blas library.
      <br>
      <br>
      But just doing ./get.Mumps as well and running configure without
      any arguments should also work.
      <br>
      <br>
      Stefan
      <br>
      <br>
      <br>
      On 11/27/2014 05:38 AM, Scott Rasmussen @ Zaita wrote:
      <br>
      <blockquote type="cite">Hey guys,
        <br>
        I managed to get IpOpt to compile after a long day of
        configuration, but I
        <br>
        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
        <br>
        --with-mumps-incdir=$HOME/MUMPS_4.10.0/include
        <br>
        --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.
        <br>
        -I`echo .` -I../../../src/Common  -I`echo ./../../Common`
        -I`echo
        <br>
        ./../../LinAlg` -I`echo ./../../LinAlg/TMatrices` -I`echo ./..`
        -I`echo
        <br>
        ./../../Interfaces` -I`echo ./../../contrib/CGPenalty`
        <br>
        -I/home/Admin/MUMPS_4.10.0/include    -O3 -pipe -DNDEBUG
        -pedantic-errors
        <br>
        -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
        -Wwrite-strings
        <br>
        -Wconversion -Wno-unknown-pragmas -Wno-long-long   -DIPOPT_BUILD
        -MT
        <br>
        IpMumpsSolverInterface.lo -MD -MP -MF
        ".deps/IpMumpsSolverInterface.Tpo" -c -o
        <br>
        IpMumpsSolverInterface.lo IpMumpsSolverInterface.cpp; \
        <br>
              then mv -f ".deps/IpMumpsSolverInterface.Tpo"
        <br>
        ".deps/IpMumpsSolverInterface.Plo"; else rm -f
        <br>
        ".deps/IpMumpsSolverInterface.Tpo"; exit 1; fi
        <br>
           g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Common
        -I./../../Common
        <br>
        -I./../../LinAlg -I./../../LinAlg/TMatrices -I./..
        -I./../../Interfaces
        <br>
        -I./../../contrib/CGPenalty -I/home/Admin/MUMPS_4.10.0/include
        -O3 -pipe
        <br>
        -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type
        -Wcast-qual -Wall
        <br>
        -Wpointer-arith -Wwrite-strings -Wconversion
        -Wno-unknown-pragmas -Wno-long-long
        <br>
        -DIPOPT_BUILD -MT IpMumpsSolverInterface.lo -MD -MP -MF
        <br>
        .deps/IpMumpsSolverInterface.Tpo -c IpMumpsSolverInterface.cpp
        -o
        <br>
        IpMumpsSolverInterface.o
        <br>
        IpMumpsSolverInterface.cpp:17:17: fatal error: mpi.h: No such
        file or directory
        <br>
           #include "mpi.h"
        <br>
        <br>
        If I add ADD_CXXFLAGS="-I$HOME/MUMPS_4.10.0/libseq" or if I use
        the command
        <br>
        ./configure --with-blas-datadir=$HOME/BLAS 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++  -O3 -pipe
        -DNDEBUG
        <br>
        -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall
        -Wpointer-arith
        <br>
        -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long
        <br>
        -I/home/Admin/MUMPS_4.10.0/libseq  -DIPOPT_BUILD   -o ipopt.exe
        ampl_ipopt.o
        <br>
        libipoptamplinterface.la ../../Interfaces/libipopt.la
        <br>
        /home/Admin/Ipopt-3.11.9/ThirdParty/ASL/libcoinasl.la -lm
        <br>
        /home/Admin/Ipopt-3.11.9/ThirdParty/Lapack/libcoinlapack.la
        <br>
        -Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1
        <br>
        -Ld:/programming/mingw64/bin/../lib/gcc
        <br>
-Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/lib/../lib
        <br>
-Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../lib
        <br>
-Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/lib
        <br>
-Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../..
        <br>
        -lgfortran -lmingw32 -lmoldname -lmingwex -lmsvcrt -lquadmath
        -lm -lpthread
        <br>
        -ladvapi32 -lshell32 -luser32 -lkernel32  -lm
        <br>
        g++ -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses
        -Wreturn-type -Wcast-qual
        <br>
        -Wall -Wpointer-arith -Wwrite-strings -Wconversion
        -Wno-unknown-pragmas
        <br>
        -Wno-long-long -I/home/Admin/MUMPS_4.10.0/libseq -DIPOPT_BUILD
        -o ipopt.exe
        <br>
        ampl_ipopt.o  ./.libs/libipoptamplinterface.a
        ../../Interfaces/.libs/libipopt.a
        <br>
        /home/Admin/Ipopt-3.11.9/ThirdParty/ASL/.libs/libcoinasl.a
        <br>
        /home/Admin/Ipopt-3.11.9/ThirdParty/Lapack/.libs/libcoinlapack.a
        <br>
        -Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1
        <br>
        -Ld:/programming/mingw64/bin/../lib/gcc
        <br>
-Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/lib/../lib
        <br>
-Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../lib
        <br>
-Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/lib
        <br>
-Ld:/programming/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../..
        <br>
        -lgfortran -lmingw32 -lmoldname -lmingwex -lmsvcrt -lquadmath
        -lpthread
        <br>
        -ladvapi32 -lshell32 -luser32 -lkernel32
        <br>
        ../../Interfaces/.libs/libipopt.a(IpBlas.o):IpBlas.cpp:(.text+0x84):
        undefined
        <br>
        reference to `ddot_'
        <br>
        ../../Interfaces/.libs/libipopt.a(IpBlas.o):IpBlas.cpp:(.text+0xa8):
        undefined
        <br>
        reference to `dnrm2_'
        <br>
        ../../Interfaces/.libs/libipopt.a(IpBlas.o):IpBlas.cpp:(.text+0xd8):
        undefined
        <br>
        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>
        <br>
        <br>
        _______________________________________________
        <br>
        Ipopt mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a>
        <br>
        <a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a>
        <br>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>