<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Dear Tobias,</p>
<p>I have not experienced such a problem yet, do you by any chance
get more information about the problem if you compile in debug
mode? <br>
</p>
<p>Let's continue the discussion in a private mail correspondence
until we find out what is happening there.</p>
<p>Best,<br>
Franziska<br>
</p>
<div class="moz-cite-prefix">On 12/14/21 11:09 AM, Stengel, Tobias
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AM8PR01MB77309F65A2011188B36B99BDCF759@AM8PR01MB7730.eurprd01.prod.exchangelabs.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}@font-face
{font-family:"\@Malgun Gothic";}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}div.WordSection1
{page:WordSection1;}ol
{margin-bottom:0cm;}ul
{margin-bottom:0cm;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US">Hello,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US">I'm
trying to (cross) compile SCIP/Soplex 8.0.0-beta with
MinGW. It builds fine but the resulting scip.exe hangs
after reading the lp file:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US"> $<i>scip.exe
-f some.lp</i> <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">SCIP
version 8.0.0 [precision: 8 byte] [memory: block]
[mode: optimized] [LP solver: SoPlex 6.0.0] [GitHash:
ba0175573a]</span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black">Copyright (C)
2002-2021 Konrad-Zuse-Zentrum fuer Informationstechnik
Berlin (ZIB)</span></i><span
style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">External
libraries:</span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">
SoPlex 6.0.0 Linear Programming Solver
developed at Zuse Institute Berlin (soplex.zib.de)
[GitHash: 040e3435]</span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">user
parameter file <scip.set> not found - using
default parameters</span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">read
problem <some_path/some.lp></span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">============</span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US">Same
happens with the queens example as well as SCIP 7.0.3.
Based on limited printf debugging the hang seems to be
somewhere in the plugin initialization but it might be
that memory is corrupted earlier.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US">Has
anyone experience with SCIP and mingw?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US">I know
that SCIP can be built with Visual C++, but that has other
disadvantages - starting with the lack of OpenMP > 2.0
(-> no parallel solving of bender subproblems).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US">Setup:<o:p></o:p></span></p>
<ul style="margin-top:0cm" type="disc">
<li class="MsoListParagraph"
style="color:black;margin-left:0cm;mso-list:l0 level1
lfo1"><span style="font-size:12.0pt">debian bullseye<o:p></o:p></span></li>
<li class="MsoNormal"
style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1"><span style="font-size:12.0pt" lang="EN-US">mingw
from the official package sources (g++-mingw-w64-x86-64)<o:p></o:p></span></li>
<li class="MsoNormal"
style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1"><span style="font-size:12.0pt" lang="EN-US">cmake
..
-DCMAKE_TOOLCHAIN_FILE=some/path/mingw_toolchain.cmake
-DPAPILO=off -DZIMPL=off -DREADLINE=off -DZLIB=off
-DIPOPT=off -DQUADMATH=off -DGMP=off -DEXPRINT=none
-DAMPL=off -DGCG=off<o:p></o:p></span></li>
<li class="MsoNormal"
style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1"><span style="font-size:12.0pt">make scip<o:p></o:p></span></li>
<li class="MsoNormal"
style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1"><span style="font-size:12.0pt">mingw_toolchain.cmake:<o:p></o:p></span></li>
</ul>
<div>
<div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">set(CMAKE_SYSTEM_NAME
Windows)</span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">set(CMAKE_C_COMPILER
x86_64-w64-mingw32-gcc-posix)</span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">set(CMAKE_CXX_COMPILER
x86_64-w64-mingw32-g++-posix)</span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">set(CMAKE_FIND_ROOT_PATH
/usr/x86_64-w64-mingw32)</span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE
ONLY)</span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY
ONLY)</span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM
NEVER)</span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><i><span
style="font-size:12.0pt;color:black" lang="EN-US">set(AUTOTOOLS_CROSS_COMPILE_FLAGS
--host=x86_64-w64-mingw32)</span></i><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<ul type="disc">
<li class="MsoNormal"
style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1
level1 lfo2"><span style="font-size:12.0pt" lang="EN-US">the
resulting scip.exe is dynamically linked against
libgcc_s_seh-1.dll and libstdc++-6.dll<o:p></o:p></span></li>
</ul>
<ul type="disc">
<ul type="circle">
<li class="MsoNormal"
style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1
level2 lfo2"><span style="font-size:12.0pt"
lang="EN-US">these can be located by running <i>x86_64-w64-mingw32-g++-posix
-print-file-name=some.dll</i><o:p></o:p></span></li>
<li class="MsoNormal"
style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1
level2 lfo2"><span style="font-size:12.0pt"
lang="EN-US">both need to be copied into the folder
containing scip.exe<o:p></o:p></span></li>
</ul>
</ul>
<ul type="disc">
<li class="MsoNormal"
style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1
level1 lfo2"><span style="font-size:12.0pt" lang="EN-US">scip.exe
is tested under Windows 10 (64bit)<o:p></o:p></span></li>
</ul>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US">This
setup works fine with other nontrivial C++ code.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black" lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black">Thanks,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black">Tobias<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><br>
<br>
Siemens Digital Logistics GmbH<br>
SL SDL TEC R&D SCS<br>
Stumpfstr. 1<br>
76131 Karlsruhe, Germany <br>
<a href="mailto:tobias.stengel@siemens-logistics.com"
moz-do-not-send="true"><span style="color:blue">mailto:tobias.stengel@siemens-logistics.com</span></a><br>
<a href="http://www.siemens-digital-logistics.com"
moz-do-not-send="true"><span style="color:blue">www.siemens-digital-logistics.com</span></a><br>
<br>
</span><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">Management:
Christopher Christian, Christian Schmidt<br>
Registered office: Nachtweideweg 1-7, 67227 Frankenthal,
Germany<br>
Register Court: Ludwigshafen am Rhein, HRB 64386</span><span
style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="https://listserv.zib.de/mailman/listinfo/scip">https://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
</blockquote>
</body>
</html>