<div>&nbsp;</div>
<div>Hi,</div>
<div>&nbsp;</div>
<div>Thanks for&nbsp;the reply. Now the compilation and link get rid of&nbsp;all errors&nbsp;with the following config. </div>
<div>&nbsp;</div>
<div>./configure CC=&quot;icc&quot; CXX=&quot;icpc&quot; CXXFLAGS=&quot;-DGNU_OLDWAY&quot;</div>
<div>&nbsp;</div>
<div>The executable is generated successfully. The seg fault is also gone. However, the following error of CoinModel occurs when i run my program:</div>
<div>&nbsp;</div>
<div>d2alg: CoinModel.cpp:2596: void CoinModel::createList(int) const: Assertion `(links_&amp;2)==0&#39; failed.<br><br>I believe this error has nothing to do with MPI, since i try the sequential version of my code with recompiled COIN library, which was working before, it fails with the same error.
</div>
<div>&nbsp;</div>
<div>Could you please help me to solve this problem? Appreciated!</div>
<div>&nbsp;</div>
<div>Thanks again -- yang</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><span class="gmail_quote">On 6/20/07, <b class="gmail_sendername">Lou Hafer</b> &lt;<a href="mailto:lou@cs.sfu.ca">lou@cs.sfu.ca</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Yang,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I&#39;m not familiar with MPI, but from the error messages, it looks like<br>GNU_OLDWAY is not getting defined. Which would seem to imply that icpc and/or
<br>icc is defining __GNUC__ as 3 or more? Don&#39;t have an MPI environment in which to<br>test.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; One thing you might try is to recompile CoinUtils with -DGNU_OLDWAY as<br>part of the command line flags.&nbsp;&nbsp;Or just edit 
CglProbing.cpp and force the<br>definition, around line 41 of the code.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Trying to link code that assumes a GCC environment (i.e., compiled with<br>gcc) and code that does not (compiled with icpc or icc without compatibility
<br>flags) stands a high chance of failure due to incompatible run-time libraries.<br>You&#39;ll need to figure out some way to compile all code with one compiler, or at<br>least with a compatible set of compilation options.
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lou<br><br>_______________________________________________<br>Coin-discuss mailing list<br><a href="mailto:Coin-discuss@list.coin-or.org">Coin-discuss@list.coin-or.org
</a><br><a href="http://list.coin-or.org/mailman/listinfo/coin-discuss">http://list.coin-or.org/mailman/listinfo/coin-discuss</a><br></blockquote></div><br>