<div dir="ltr"><div><div><div><div><div>Dear Ambros,<br><br>Thank you very much for your quick response. Could you please let me know how I should use this patch file ?<br><br></div>Secondly, I have also been trying to port my SCIP based code to a server with gcc 4.8.0. Here I seem to get a different error during linking.<br>
</div>I compiled using "make LPS=cpx GMP=false ZLIB=false READLINE=false" and this is the error I got:<br>*******************************************************************************************<br>-> compiling obj/O.linux.x86_64.gnu.opt/bin/cppmain.o<br>
-> linking bin/scip-3.1.0.linux.x86_64.gnu.opt.cpx<br>obj/O.linux.x86_64.gnu.opt/lib/scip/cons_bivariate.o: In function `generateLinearizationCut':<br>cons_bivariate.c:(.text+0x2fc): undefined reference to `isfinite'<br>
cons_bivariate.c:(.text+0x47c): undefined reference to `isfinite'<br>cons_bivariate.c:(.text+0x4ac): undefined reference to `isfinite'<br>cons_bivariate.c:(.text+0x4c4): undefined reference to `isfinite'<br>cons_bivariate.c:(.text+0x5ac): undefined reference to `isfinite'<br>
obj/O.linux.x86_64.gnu.opt/lib/scip/cons_bivariate.o:cons_bivariate.c:(.text+0x5c4): more undefined references to `isfinite' follow<br>collect2: error: ld returned 1 exit status<br>gmake[3]: Leaving directory `/home/projects/Ebeam/ILP_BP/tools/scipoptsuite-3.1.0/scip-3.1.0'<br>
gmake[2]: Leaving directory `/home/projects/Ebeam/ILP_BP/tools/scipoptsuite-3.1.0/scip-3.1.0'<br><br>** Build complete.<br>** Find your SCIP binary in "/home/projects/Ebeam/ILP_BP/tools/scipoptsuite-3.1.0/scip-3.1.0/bin".<br>
** Enter "make test" to solve a number of easy instances in order to verify that SCIP runs correctly.<br><br>gmake[1]: Leaving directory `/home/projects/Ebeam/ILP_BP/tools/scipoptsuite-3.1.0'<br>*******************************************************************************************************************************<br>
</div>Any suggestions on how I could fix this ?<br><br></div>Thank you very much,<br><br></div>Abde Ali<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 10, 2014 at 3:20 PM, Ambros Gleixner <span dir="ltr"><<a href="mailto:gleixner@zib.de" target="_blank">gleixner@zib.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Abde Ali Kagalwalla,<br>
<br>
when we added these compiler flags, we were not aware that they would create trouble with such old GCC versions, sorry for that.  For now the attached patch should fix your problem.  (Hopefully: I have no way to test it quickly.)  Please let us know, whether it works.<br>

<br>
Kind regards,<br>
<br>
ambros<br>
<br>
<br>
<br>
Am 10.04.2014 22:06, schrieb Abde Ali Kagalwalla:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<br>
Hi All,<br>
<br>
I am trying to compile SCIP on a server with gcc version 4.1.2<br>
Based on the instructions specified on the website and the INSTALL text<br>
file, I tried compiling SCIP using CPLEX as the LP solver with the<br>
following (most compatible) set of flags:<br>
<br>
make ZLIB=false GMP=false READLINE=false LPS=cpx LPSOPT=opt-gccold<br>
OPT=opt-gccold<br>
<br>
When I tried compiling, this is the error which terminates the compilation:<br>
<br>
******************************<u></u>******************************<u></u>******************************<u></u>***********************<br>
-> compiling obj/O.linux.x86_64.gnu.opt-<u></u>gccold/lib/objscip/<u></u>objbranchrule.o<br>
cc1plus: error: unrecognized command line option "-Wno-strict-overflow"<br>
cc1plus: error: unrecognized command line option "-std=c++0x"<br>
gmake[3]: ***<br>
[obj/O.linux.x86_64.gnu.opt-<u></u>gccold/lib/objscip/<u></u>objbranchrule.o] Error 1<br>
gmake[3]: Leaving directory<br>
`/home/projects/Ebeam/ILP_BP/<u></u>tools/scipoptsuite-3.1.0/scip-<u></u>3.1.0'<br>
gmake[2]: *** [libs] Error 2<br>
gmake[2]: Leaving directory<br>
`/home/projects/Ebeam/ILP_BP/<u></u>tools/scipoptsuite-3.1.0/scip-<u></u>3.1.0'<br>
gmake[1]: *** [scipbinary] Error 2<br>
gmake[1]: Leaving directory<br>
`/home/projects/Ebeam/ILP_BP/<u></u>tools/scipoptsuite-3.1.0'<br>
gmake: *** [scipbinary] Error 2<br>
******************************<u></u>******************************<u></u>******************************<u></u>*************************<br>
<br>
Could you please help me figure out how I can compile SCIP on this<br>
machine ? I was able to successfully compile and implement some code on<br>
a different machine with gcc version 4.4.7, but now I need to compile my<br>
code on this machine with an older version of gcc.<br>
<br>
Thank you very much,<br>
<br>
Abde Ali Kagalwalla,<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
Scip mailing list<br>
<a href="mailto:Scip@zib.de" target="_blank">Scip@zib.de</a><br>
<a href="http://listserv.zib.de/mailman/listinfo/scip" target="_blank">http://listserv.zib.de/<u></u>mailman/listinfo/scip</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
______________________________<u></u>______________________________<br>
Ambros M. Gleixner<br>
Zuse Institute Berlin - Matheon - Berlin Mathematical School<br>
<a href="http://www.zib.de/gleixner" target="_blank">http://www.zib.de/gleixner</a><br>
</font></span><br>_______________________________________________<br>
Scip mailing list<br>
<a href="mailto:Scip@zib.de">Scip@zib.de</a><br>
<a href="http://listserv.zib.de/mailman/listinfo/scip" target="_blank">http://listserv.zib.de/mailman/listinfo/scip</a><br>
<br></blockquote></div><br></div>