<div dir="ltr"><div><div><div>Hi,<br><br>My ultimate goal is to compile Ipopt with Pardiso, but after several
unsuccessful attempts I tried to compile it with Mumps (hoping I
could link it later dynamically). Unfortunately I encountered some problems there as well, namely:<br><br>(I am building Ipopt-3.12.3 on Scientific Linux release 7.1 (Nitrogen) with gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-9) compiler) <br><br>I followed the instructions in the installation manual - I got BLAS, Lapack and ASL, also I downloaded MUMPS 5.0.1 and put it in Mumps/MUMPS directory.<br></div></div><div><br></div><div><br></div>Then, when I configure everything is fine, but when I make, I get following output:<br><br>g++ -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long -DIPOPT_BUILD -o .libs/ipopt ampl_ipopt.o ./.libs/libipoptamplinterface.so /home/lsegiet/Ipopt-3.12.3/build/Ipopt/src/Interfaces/.libs/libipopt.so -L/home/lsegiet/CoinAll-1.7.5/lib -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../.. ../../Interfaces/.libs/libipopt.so /home/lsegiet/Ipopt-3.12.3/build/ThirdParty/ASL/.libs/libcoinasl.so -L/lib/../lib64 -L/usr/lib/../lib64 /home/lsegiet/CoinAll-1.7.5/lib/libcoinhsl.so -lgfortranbegin -lgfortran -llapack -lblas -lm -ldl -Wl,--rpath -Wl,/home/lsegiet/Ipopt-3.12.3/build/lib -Wl,--rpath -Wl,/home/lsegiet/CoinAll-1.7.5/lib<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/liblapack.so: undefined reference to `_gfortran_transfer_integer_write@GFORTRAN_1.4'<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/liblapack.so: undefined reference to `_gfortran_transfer_character_write@GFORTRAN_1.4'<br>/home/lsegiet/Ipopt-3.12.3/build/Ipopt/src/Interfaces/.libs/libipopt.so: undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)'<br>/home/lsegiet/Ipopt-3.12.3/build/Ipopt/src/Interfaces/.libs/libipopt.so: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'<br>/home/lsegiet/Ipopt-3.12.3/build/Ipopt/src/Interfaces/.libs/libipopt.so: undefined reference to `std::__detail::_List_node_base::_M_unhook()'<br>/home/lsegiet/Ipopt-3.12.3/build/Ipopt/src/Interfaces/.libs/libipopt.so: undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)'<br>collect2: error: ld returned 1 exit status<br>make[3]: *** [ipopt] Error 1<br>make[3]: Leaving directory `/home/lsegiet/Ipopt-3.12.3/build/Ipopt/src/Apps/AmplSolver'<br>make[2]: *** [all-recursive] Error 1<br>make[2]: Leaving directory `/home/lsegiet/Ipopt-3.12.3/build/Ipopt/src/Apps'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/lsegiet/Ipopt-3.12.3/build/Ipopt'<br>make: *** [all-recursive] Error 1<br><br></div>I tried also using configurations with the flags and options as below:<br><br>../configure --disable-pthread-mumps<br>../configure LDFLAGS="-Wl,--no-as-needed"<br>../configure --without-pkg-config<br>../configure --enable-dependency-linking<br>../configure LDFLAGS="-lgfortran"<br><br><div><div><div>but none of these seem to solve the issue.<br><br></div><div>Does anyone know what am I doing wrong or can you suggest me something?<br><br></div><div>Any help would be appreciated,<br></div><div>Lukasz Segiet<br></div></div></div></div>