Hi Dan,<br><br>I'm sorry to hear that you're having issues with the compilation. I cannot see right now what's going wrong.<br>You might want to upgrade to SCIP <a href="tel:4.0.1">4.0.1</a> and even try our new CMake build system.<br><br>Cheers <br>Matthias <br><br><br>Sent from mobile device - please excuse brevity. <br><a href="http://www.zib.de/miltenberger">www.zib.de/miltenberger</a> <br><br>---- Tobias Achterberg wrote ----<br><br>Hi all,<br><br>[Dan: since this really seems to be a SCIP/IPOPT issue and nothing that is related to <br>Gurobi, I move this back to the SCIP discussion list. Unfortunately, most of the SCIP <br>folks are currently involved with the OR2017 conference, so you may need to wait until <br>Monday to get an answer.]<br><br>Dan is having trouble compiling SCIP with IPOPT, see below. Maybe someone can help.<br><br><br>Cheers,<br><br>Tobias<br><br>Am <a href="tel:2017-09-07">2017-09-07</a> um 14:18 schrieb Daniel Bienstock:<br>> Hello,<br>>   I started from scratch.  I built ipopt using the HSL libraries, by the way.  Here is <br>> what I get:<br>> <br>> blacknwhite:~/thirdparty/scipoptsuite-4.0.0> make LPS=grb ZIMPL=false IPOPT=true GMP=false <br>> ZLIB=false READLINE=false<br>> ** Extracting SCIP archive "/home/dano/thirdparty/scipoptsuite-4.0.0/<a href="http://scip-4.0.0.tgz">scip-4.0.0.tgz</a>".<br>> make[1]: Entering directory '/home/dano/thirdparty/scipoptsuite-4.0.0'<br>> ** Creating directory "/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0/lib/static".<br>> ** Creating directory "/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0/lib/include".<br>> ** Creating directory <br>> "/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0/lib/include/zimplinc".<br>> <br>> ** Building SoPlex library <br>> "/home/dano/thirdparty/scipoptsuite-4.0.0/soplex-3.0.0/lib/<a href="http://libsoplex.linux">libsoplex.linux</a>.x86_<a href="http://64.gnu.opt">64.gnu.opt</a>.a".<br>> make[2]: Entering directory '/home/dano/thirdparty/scipoptsuite-4.0.0/soplex-3.0.0'<br>> make[3]: Entering directory '/home/dano/thirdparty/scipoptsuite-4.0.0/soplex-3.0.0'<br>> make[3]: Leaving directory '/home/dano/thirdparty/scipoptsuite-4.0.0/soplex-3.0.0'<br>> make[3]: Entering directory '/home/dano/thirdparty/scipoptsuite-4.0.0/soplex-3.0.0'<br>> make[3]: Leaving directory '/home/dano/thirdparty/scipoptsuite-4.0.0/soplex-3.0.0'<br>> make[3]: Entering directory '/home/dano/thirdparty/scipoptsuite-4.0.0/soplex-3.0.0'<br>> make[3]: Leaving directory '/home/dano/thirdparty/scipoptsuite-4.0.0/soplex-3.0.0'<br>> make[2]: Leaving directory '/home/dano/thirdparty/scipoptsuite-4.0.0/soplex-3.0.0'<br>> <br>> ** ZIMPL support disabled.<br>> <br>> ** Creating necessary soft-links.<br>> <br>> ** Building SCIP libraries and executable.<br>> make[2]: Entering directory '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0'<br>> -> generating necessary links<br>> make[3]: Entering directory '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0'<br>> make[4]: Entering directory '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0'<br>> <br>> - Current settings: LPS=grb OSTYPE=linux ARCH=x86_64 COMP=gnu SHARED=false SUFFIX= <br>> ZIMPL=false ZIMPLOPT=opt IPOPT=true IPOPTOPT=opt EXPRINT=cppad GAMS=false<br>> <br>> * SCIP needs some softlinks to external programs, in particular, LP-solvers.<br>> * Please insert the paths to the corresponding directories/libraries below.<br>> * The links will be installed in the 'lib/include' and 'lib/static' directories.<br>> * For more information and if you experience problems see the INSTALL file.<br>> <br>>    -> "grbinc" is the path to the Gurobi "include" directory, e.g., "<Gurobi-path>/include".<br>>    -> "libgurobi.*" is the path to the Gurobi library, e.g., "<Gurobi-path>/lib/<a href="http://libgurobi.so">libgurobi.so</a>"<br>>    -> "<a href="http://ipopt.linux">ipopt.linux</a>.x86_<a href="http://64.gnu.opt">64.gnu.opt</a>" is a directory containing the ipopt installation, i.e., <br>> "<a href="http://ipopt.linux">ipopt.linux</a>.x86_<a href="http://64.gnu.opt/include/coin/IpIpoptApplication.hpp&quot">64.gnu.opt/include/coin/IpIpoptApplication.hpp&quot</a>;, <br>> "<a href="http://ipopt.linux">ipopt.linux</a>.x86_<a href="http://64.gnu.opt/lib/libipopt*&quot">64.gnu.opt/lib/libipopt*&quot</a>;, ... should exist.<br>> <br>> <br>>  > Enter soft-link target file or directory for "lib/include/grbinc" (return if not needed):<br>>  > /opt/gurobi/gurobi702/linux64/include<br>> -> creating softlink "lib/include/grbinc" -> "/opt/gurobi/gurobi702/linux64/include"<br>> <br>> <br>>  > Enter soft-link target file or directory for "lib/shared/<a href="http://libgurobi.linux">libgurobi.linux</a>.x86_<a href="http://64.gnu.so">64.gnu.so</a> <br>> <<a href="http://libgurobi.linux">http://libgurobi.linux</a>.x86_<a href="http://64.gnu.so">64.gnu.so</a>>" (return if not needed):<br>>  > /opt/gurobi/gurobi702/linux64/lib/<a href="http://libgurobi.so">libgurobi.so</a>.7.0.2<br>> -> creating softlink "lib/shared/<a href="http://libgurobi.linux">libgurobi.linux</a>.x86_<a href="http://64.gnu.so">64.gnu.so</a> <br>> <<a href="http://libgurobi.linux">http://libgurobi.linux</a>.x86_<a href="http://64.gnu.so">64.gnu.so</a>>" -> <br>> "/opt/gurobi/gurobi702/linux64/lib/<a href="http://libgurobi.so">libgurobi.so</a>.7.0.2"<br>> <br>> <br>>  > Enter soft-link target file or directory for "lib/static/<a href="http://ipopt.linux">ipopt.linux</a>.x86_<a href="http://64.gu.opt">64.gu.opt</a>" <br>> (return if not needed):<br>>  > /home/dano/thirdparty/IPOPT/CoinIpopt/build/lib/<a href="http://libipopt.so">libipopt.so</a>.0.0.0<br>> -> creating softlink "lib/static/<a href="http://ipopt.linux">ipopt.linux</a>.x86_<a href="http://64.gnu.opt">64.gnu.opt</a>" -> <br>> "/home/dano/thidparty/IPOPT/CoinIpopt/build/lib/<a href="http://libipopt.so">libipopt.so</a>.0.0.0"<br>> make[4]: Leaving directory '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0<br>> make[3]: Leaving directory '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0<br>> make[3]: Entering directory '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.'<br>> make[3]: Leaving directory '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0<br>> make[3]: Entering directory '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.'<br>> -> compiling obj/static/<a href="http://O.linux">O.linux</a>.x86_<a href="http://64.gnu.opt/lib/scip/branch_allfullstrong.o">64.gnu.opt/lib/scip/branch_allfullstrong.o</a><br>> cc1: error: lib/static/<a href="http://ipopt.linux">ipopt.linux</a>.x86_<a href="http://64.gnu.opt/include/coin">64.gnu.opt/include/coin</a>: Not a directory<br>> Makefile:1186: recipe for target <br>> 'obj/static/<a href="http://O.linux">O.linux</a>.x86_<a href="http://64.gnu.opt/lib/scip/brnch_allfullstrong.o&#39">64.gnu.opt/lib/scip/brnch_allfullstrong.o&#39</a>; failed<br>> make[3]: *** [obj/static/<a href="http://O.linux">O.linux</a>.x86_<a href="http://64.gnu.opt/lib/scip/branch_allfullstrong.o">64.gnu.opt/lib/scip/branch_allfullstrong.o</a> Error 1<br>> make[3]: Leaving directory '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0'<br>> Makefile:1105: recipe for target 'libscip' failed<br>> make[2]: *** [libscip] Error 2<br>> make[2]: Leaving directory '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0'<br>> <a href="http://Makefile.doit:227">Makefile.doit:227</a>: recipe for target 'scipbinary' failed<br>> make[1]: *** [scipbinary] Error 2<br>> make[1]: Leaving directory '/home/dano/thirdparty/scipoptsuite-4.0.0'<br>> Makefile:88: recipe for target 'scipbinary' failed<br>> make: *** [scipbinary] Error 2<br>> <br>> ---------------------------------------------------------------------------------------------------------------------------------------------<br>> <br>> If I remember correctly, in the past I bypassed this error by manually creating the folder <br>> that the installation does not find above, and typing the make command again.  It went a <br>> little further but it failed in the way that I had told you.<br>> <br>> Perhaps I should build scip as root?   I am not sure I am parsing the error message <br>> correctly.  Thanks.<br>> <br>> On Tue, Aug 29, 2017 at 12:12 PM, Daniel Bienstock <<a href="mailto:dano@columbia.edu">dano@columbia.edu</a> <br>> <mailto:<a href="mailto:dano@columbia.edu">dano@columbia.edu</a>>> wrote:<br>> <br>>     Thanks ... I am at this meeting in France with very poor internet access.  I will go<br>>     through this again when I return.  I built ipopt with one of the hsl libraries.<br>> <br>>     On Tue, Aug 29, 2017 at 3:53 PM Michael Winkler <<a href="mailto:winkler@gurobi.com">winkler@gurobi.com</a><br>>     <mailto:<a href="mailto:winkler@gurobi.com">winkler@gurobi.com</a>>> wrote:<br>> <br>>         Hi Daniel,<br>> <br>> <br>>         sorry for the late reply; I would try to start compiling it from scratch without<br>>         copying header files. If you enter your preferred install command, e.g., "make<br>>         LPS=grb ZIMPL=false IPOPT=true GMP=false ZLIB=false READLINE=false" the<br>>         installation should ask to create soft links to all the necessary third party<br>>         "packages", i.e., to Gurobi and IPOPT. If I remember correctly you need to build<br>>         IPOPT by yourself including some third party software for IPOPT, I think I used<br>>         Blas, Lapack, and Mumps (see the ThirdParty subdirectory in IPOPT and in each of<br>>         them there is a "<a href="http://get.ThirdPartySoftwareName">get.ThirdPartySoftwareName</a>" script that downloads and compiles it).<br>> <br>> <br>>         The SCIP installation with the above make command should ask you something about<br>>         creating a soft link to ipopt which probably looks like this:<br>> <br>>         - preparing missing soft-link "lib/<a href="http://ipopt.linux">ipopt.linux</a>.x86_<a href="http://64.gnu.opt">64.gnu.opt</a>":<br>>          > Enter soft-link target file or directory for "lib/<a href="http://ipopt.linux">ipopt.linux</a>.x86_<a href="http://64.gnu.opt">64.gnu.opt</a>"<br>>         (return if not needed):<br>>          > /sw/ia64_lx26/ipopt-3.12.0/<br>>         -> creating softlink "lib/<a href="http://ipopt.linux">ipopt.linux</a>.x86_<a href="http://64.gnu.opt">64.gnu.opt</a>" -> "/sw/ia64_lx26/ipopt-3.12.0/"<br>> <br>> <br>>         I hope this helps a bit but if it fails we can dive deeper :).<br>> <br>>         Best,<br>>         Michael<br>> <br>> <br>> <br>> <br>>         On 26.08.2017 07:45, Daniel Bienstock wrote:<br>>>         Hello Michael,<br>>><br>>>         thanks for writing back to me.  Here is my make command:<br>>><br>>>         make LPS=grb ZIMPL=false IPOPT=true GMP=false ZLIB=false READLINE=false<br>>><br>>>         I have compiled scip before on another machine.<br>>><br>>>         Regards,<br>>><br>>>         On Fri, Aug 25, 2017 at 7:33 PM, Michael Winkler <<a href="mailto:winkler@gurobi.com">winkler@gurobi.com</a><br>>>         <mailto:<a href="mailto:winkler@gurobi.com">winkler@gurobi.com</a>>> wrote:<br>>><br>>>             Hi Daniel,<br>>><br>>><br>>>             have you used the "IPOPT=true" in the make command, i.e., "make LPS=grb<br>>>             ZIMPL=false IPOPT=true", this should query for a link to the appropriate<br>>>             IPOPT include and libs (note that you still need to build IPOPT before<br>>>             this). Also (if not remove in the current SCIP version) you can call "make<br>>>             SOME_OPTIONS=what_you_need links" to get queried to create/renew the<br>>>             necessary soft links.<br>>><br>>><br>>>             Best,<br>>><br>>>             Michael<br>>><br>>><br>>>             On 25.08.2017 14:27, Daniel Bienstock wrote:<br>>>>             Thanks Tobias,<br>>>><br>>>>             The problems concern Ipopt.    The first compilation fails because Ipopt.h<br>>>>             is not found (there was no query for an Ipopt include directory).<br>>>><br>>>>             So I copied all Ipopt header files to the appropriate SCIP folder.  In the<br>>>>             next compilation I am now only getting undefined references.  Here is the<br>>>>             end of the output:<br>>>><br>>>>             /home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0/lib/static/<a href="http://libnlpi.cppad.ipopt-4.0.0.linux">libnlpi.cppad.ipopt-4.0.0.linux</a>.x86_<a href="http://64.gnu.opt">64.gnu.opt</a>.a(nlpi_ipopt.o):(.rodata._ZTV11ScipJournal[_ZTV11ScipJournal]+0x38):<br>>>>             undefined reference to `Ipopt::Journal::IsAccepted(Ipopt::EJournalCategory,<br>>>>             Ipopt::EJournalLevel) const'<br>>>>             collect2: error: ld returned 1 exit status<br>>>>             make[4]: Entering directory<br>>>>             '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0'<br>>>>             make[4]: Leaving directory<br>>>>             '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0'<br>>>>             make[3]: Leaving directory<br>>>>             '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0'<br>>>>             make[2]: Leaving directory<br>>>>             '/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0'<br>>>><br>>>>             ** Build complete.<br>>>>             ** Find your SCIP binary in<br>>>>             "/home/dano/thirdparty/scipoptsuite-4.0.0/scip-4.0.0/bin".<br>>>>             ** Enter "make test" to solve a number of easy instances in order to verify<br>>>>             that SCIP runs correctly.<br>>>><br>>>>             make[1]: Leaving directory '/home/dano/thirdparty/scipoptsuite-4.0.0'<br>>>><br>>>><br>>>>             ------------------------------------------------------<br>>>><br>>>>             And there is no scip binary in the indicated directory.   I have gmp,<br>>>>             readline, zlib (devel versions) installed but the compilation can't find<br>>>>             them.   This is the reason why I am using gurobi, by the way:  I was never<br>>>>             able to get soplex to compile.<br>>>><br>>>>             Thanks for your help!<br>>>><br>>>><br>>>><br>>>><br>>>><br>>>>             On Fri, Aug 25, 2017 at 4:07 AM, Achterberg<br>>>>             <<mailto:<a href="mailto:Achterberg@zib.de">Achterberg@zib.de</a>><a href="mailto:Achterberg@zib.de">Achterberg@zib.de</a> <mailto:<a href="mailto:Achterberg@zib.de">Achterberg@zib.de</a>>> wrote:<br>>>><br>>>>                 Is it the compiler or the linker that produces an error? Which<br>>>>                 file/symbol? If it is the linker and Gurobi symbols you may need to<br>>>>                 recompile our C++ API as this could be an ABI mismatch. We ship the<br>>>>                 source code of the C++ API with the distribution to allow for this.<br>>>><br>>>>                 Tobias<br>>>><br>>>><br>>>>                 -------- Ursprüngliche Nachricht --------<br>>>>                 Von: Daniel Bienstock <<mailto:<a href="mailto:dano@columbia.edu">dano@columbia.edu</a>><a href="mailto:dano@columbia.edu">dano@columbia.edu</a><br>>>>                 <mailto:<a href="mailto:dano@columbia.edu">dano@columbia.edu</a>>><br>>>>                 Datum: 25.08.17 02:58 (GMT+01:00)<br>>>>                 An: Achterberg <<mailto:<a href="mailto:Achterberg@zib.de">Achterberg@zib.de</a>><a href="mailto:Achterberg@zib.de">Achterberg@zib.de</a><br>>>>                 <mailto:<a href="mailto:Achterberg@zib.de">Achterberg@zib.de</a>>><br>>>>                 Cc: <a href="mailto:winkler@gurobi.com">winkler@gurobi.com</a> <mailto:<a href="mailto:winkler@gurobi.com">winkler@gurobi.com</a>><br>>>>                 Betreff: Re: [SCIP] trouble with compilation<br>>>><br>>>>                 Well, I tried to recompile with Ipopt and now I am getting C++<br>>>>                 compilation errors ... using a very fresh Ipopt build, so it should be<br>>>>                 a recent version.<br>>>><br>>>>                 On Thu, Aug 24, 2017 at 8:55 PM, Achterberg<br>>>>                 <<mailto:<a href="mailto:Achterberg@zib.de">Achterberg@zib.de</a>><a href="mailto:Achterberg@zib.de">Achterberg@zib.de</a><br>>>>                 <mailto:<a href="mailto:Achterberg@zib.de">Achterberg@zib.de</a>>> wrote:<br>>>><br>>>>                     Hi Dan!<br>>>><br>>>>                     Glad that it works. If you have any trouble with the SCIP/Gurobi<br>>>>                     connector, feel free to send me and/or Micha an email. The<br>>>>                     connector is relatively new and not very well tested. In particular<br>>>>                     the stuff with the ranged rows is relatively complicated.<br>>>><br>>>>                     I am on vacation for the next week, but Micha should be available.<br>>>><br>>>>                     Regards,<br>>>><br>>>>                     Tobias<br>>>><br>>>>                     -------- Ursprüngliche Nachricht --------<br>>>>                     Von: Daniel Bienstock <<mailto:<a href="mailto:dano@columbia.edu">dano@columbia.edu</a>><a href="mailto:dano@columbia.edu">dano@columbia.edu</a><br>>>>                     <mailto:<a href="mailto:dano@columbia.edu">dano@columbia.edu</a>>><br>>>>                     Datum: 25.08.17 01:44 (GMT+01:00)<br>>>>                     An: <mailto:<a href="mailto:scip@zib.de">scip@zib.de</a>><a href="mailto:scip@zib.de">scip@zib.de</a> <mailto:<a href="mailto:scip@zib.de">scip@zib.de</a>><br>>>>                     Betreff: Re: [SCIP] trouble with compilation<br>>>><br>>>>                     Never mind -- I went through the process from scratch and now it<br>>>>                     worked. It was my mistake.<br>>>><br>>>>                     On Thu, Aug 24, 2017 at 7:22 PM, Daniel Bienstock<br>>>>                     <<mailto:<a href="mailto:dano@columbia.edu">dano@columbia.edu</a>><a href="mailto:dano@columbia.edu">dano@columbia.edu</a><br>>>>                     <mailto:<a href="mailto:dano@columbia.edu">dano@columbia.edu</a>>> wrote:<br>>>><br>>>>                         Hello, this is for <a href="tel:4.0.0">4.0.0</a> compiled with<br>>>><br>>>>                         LPS=grb ZIMPL=false<br>>>>                         At the appropriate points I supply the path to the gurobi<br>>>>                         include directory and to the gurobi library file (not directory).<br>>>><br>>>>                         I get the following error:<br>>>><br>>>>                         make[3]: *** No rule to make target<br>>>>                         'lib/include/grbinc/gurobi_c.h', needed by<br>>>>                         'obj/static/<a href="http://O.linux">O.linux</a>.x86_<a href="http://64.gnu.opt/lib/lpi/lpi_grb.o&#39">64.gnu.opt/lib/lpi/lpi_grb.o&#39</a>;. Stop.<br>>>><br>>>>                         Any help, appreciated.<br>>>>                         -- <br>>>>                         Daniel Bienstock<br>>>>                         <<a href="http://www.columbia.edu/%7Edano>www.columbia.edu/~dano">http://www.columbia.edu/%7Edano>www.columbia.edu/~dano</a><br>>>>                         <<a href="http://www.columbia.edu/~dano&gt">http://www.columbia.edu/~dano&gt</a>;<br>>>><br>>>><br>>>><br>>>><br>>>>                     -- <br>>>>                     Daniel Bienstock<br>>>>                     <<a href="http://www.columbia.edu/%7Edano>www.columbia.edu/~dano">http://www.columbia.edu/%7Edano>www.columbia.edu/~dano</a><br>>>>                     <<a href="http://www.columbia.edu/~dano&gt">http://www.columbia.edu/~dano&gt</a>;<br>>>><br>>>><br>>>><br>>>><br>>>>                 -- <br>>>>                 Daniel Bienstock<br>>>>                 <a href="http://www.columbia.edu/~dano">www.columbia.edu/~dano</a> <<a href="http://www.columbia.edu/%7Edano&gt">http://www.columbia.edu/%7Edano&gt</a>;<br>>>><br>>>><br>>>><br>>>><br>>>>             -- <br>>>>             Daniel Bienstock<br>>>>             <a href="http://www.columbia.edu/~dano">www.columbia.edu/~dano</a> <<a href="http://www.columbia.edu/%7Edano&gt">http://www.columbia.edu/%7Edano&gt</a>;<br>>><br>>>             -- <br>>><br>>>             --------------------------------------------------------------------<br>>>             Michael Winkler<br>>>             Software Developer<br>>>             Gurobi Optimization<br>>>             <a href="mailto:winkler@gurobi.de">winkler@gurobi.de</a> <mailto:<a href="mailto:winkler@gurobi.de">winkler@gurobi.de</a>><br>>><br>>>             --------------------------------------------------------------------<br>>>             Sitz der Gesellschaft: Bad Homburg v.d.H.<br>>>             Registergericht: Bad Homburg v.d.H., HRB <a href="tel:12607">12607</a><br>>>             Geschäftsführer: Robert E. Bixby, Dirk Zechiel<br>>><br>>>         -- <br>>>         Daniel Bienstock <a href="http://www.columbia.edu/~dano">www.columbia.edu/~dano</a> <<a href="http://www.columbia.edu/%7Edano&gt">http://www.columbia.edu/%7Edano&gt</a>;<br>> <br>>     -- <br>>     Daniel Bienstock<br>>     <a href="http://www.columbia.edu/~dano">www.columbia.edu/~dano</a> <<a href="http://www.columbia.edu/~dano&gt">http://www.columbia.edu/~dano&gt</a>;<br>> <br>> <br>> <br>> <br>> -- <br>> Daniel Bienstock<br>> <a href="http://www.columbia.edu/~dano">www.columbia.edu/~dano</a> <<a href="http://www.columbia.edu/~dano&gt">http://www.columbia.edu/~dano&gt</a>;<br>_______________________________________________<br>Scip mailing list<br><a href="mailto:Scip@zib.de">Scip@zib.de</a><br><a href="https://listserv.zib.de/mailman/listinfo/scip">https://listserv.zib.de/mailman/listinfo/scip</a><br>