<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Ted,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Was able to install basis the commands what you and JP have helped with!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
But now I am facing an issue that lapack installation fails throwing 403 error. Had also seen this happen with mumps (it was skipping earlier though). </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
On a separate note, want to confirm if I use --enable-cbc-parallel while configuring, I still see only one core getting used?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p style="margin-top: 0px; margin-bottom: 0px;"></p>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont; font-size:15px; margin:0px">
<font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2" color="#757B80"><span style="font-size:12pt; font-family:Calibri,Helvetica,sans-serif; color:rgb(0,0,0)">Thanks,</span></font></span></font></div>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont; font-size:15px; margin:0px">
<font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2" color="#757B80"><span style="font-size:12pt; font-family:Calibri,Helvetica,sans-serif"><img class="EmojiInsert" alt="1518440930887_PastedImage" style="" data-outlook-trace="F:1|T:1" src="cid:63c5f6b0-07de-4b28-a4db-ce23324f6ac1"><br>
</span></font></span></font></div>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont; font-size:15px; margin:0px">
<font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2" color="#757B80"><span style="font-size:12pt; font-family:Calibri,Helvetica,sans-serif">Sreelakshmi Naladimmu | </span></font></span></font><font face="Arial,sans-serif" size="2" color="#757B80"><span lang="fr" style="font-size:12pt; font-family:Calibri,Helvetica,sans-serif">Senior
 Consultant</span></font><br>
</div>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont; font-size:15px; margin:0px">
<font face="Arial,sans-serif" size="2" color="#757B80"><span style="font-size:12pt; font-family:Calibri,Helvetica,sans-serif">+91 9176264380 | fractal.ai</span></font></div>
<div><img class="EmojiInsert" alt="1518428993160_PastedImage" style="" data-outlook-trace="F:1|T:1" src="cid:0ec3c60b-b07b-414d-8e74-cc417722f976"><br>
</div>
<p style="margin-top: 0px; margin-bottom: 0px;"></p>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Ted Ralphs <ted@lehigh.edu><br>
<b>Sent:</b> 10 September 2019 22:23<br>
<b>To:</b> JP Fasano <jpfasano@gmail.com><br>
<b>Cc:</b> Naladimmu Sreelakshmi <naladimmu.sreelakshmi@fractal.ai>; cbc@list.coin-or.org <cbc@list.coin-or.org><br>
<b>Subject:</b> [External] Re: [Cbc] 2.10 version on Ubuntu</font>
<div> </div>
</div>
<div>
<div dir="ltr">Just to close the loop, I made some additional improvements based on JP's feedback. ldconfig is now run automatically after the install on Linux whenever the install directory is not writable. It turns out that ldconfig is run automatically by
 libtool EXCEPT in the case of installing a directory that is in the system default library path. There doesn't seem to be a very good reason for this, but that's what it is.
<div><br>
</div>
<div>I added some additional output explaining this and also changed the default verbosity level to 1 to remove some of the visual chaff. </div>
<div><br>
</div>
<div>By the way, another useful tidbit is that the default version that is fetched is the git master version, which is the development version (under our current workflow). The script now suggests that you might want to try the latest release, which you can
 get with</div>
<div><br>
</div>
<div>coinbrew fetch Cbc:releases/2.10.3 --no-prompt</div>
<div><br>
</div>
<div>Have fun!</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Ted</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Mon, Sep 9, 2019 at 5:41 PM Ted Ralphs <<a href="mailto:ted@lehigh.edu">ted@lehigh.edu</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">JP,
<div><br>
</div>
<div>A huge thanks to you, too, for the feedback. It helps a lot hearing from people who are using these tools, especially as they are in development. I actually don't have too much occasion to install to /usr/local, as I've always got many different builds
 that I'm working with locally. It helps to know what the experience is like for someone who just wants to install in /usr/local and leave it. I thought we were actually embedding the location of the libraries in the binary and that this issue shouldn't come
 up. I'll check into why that doesn't seem to be working.</div>
<div><br>
</div>
<div>For posterity, a general solution to your issue would have been to add</div>
<div><br>
</div>
<div>export LD_LIBRARY_PATH=/usr/local/lib</div>
<div><br>
</div>
<div>to your ~/.bashrc, which should work on any platform. The ldconfig solutions is easier on Ubuntu, but it is only a bit of luck that it works because /usr/local/lib is listed in /etc/ld.so.conf.d/libc.conf. </div>
<div><br>
</div>
<div>I'm going to update the documentation and also put some messages into coinbrew itself to prompt people to what to do if they encounter this issue. Thanks again for your feedback!</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Ted</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Mon, Sep 9, 2019 at 4:28 PM JP Fasano <<a href="mailto:jpfasano@gmail.com" target="_blank">jpfasano@gmail.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">Hi Ted,
<div><br>
</div>
<div>Everything is now building and running.</div>
<div>A huge thank you for your help.</div>
<div><br>
</div>
<div>After successfully doing the install with</div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>sudo ./coinbrew install Cbc</div>
</blockquote>
<div>the cbc standalone executable was not running (even after rebooting the machine).</div>
<div>Here is what happened:</div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>
<div><font face="monospace">jpfasano@WitOpenSource:~/coinCbc$ cbc</font></div>
</div>
<div>
<div><font face="monospace">cbc: error while loading shared libraries: libCbcSolver.so.0: cannot open shared object file: No such file or directory</font></div>
</div>
</blockquote>
<div>
<div></div>
</div>
<div>After googling around I found that the command <br>
</div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>
<div>sudo /sbin/ldconfig -v</div>
</div>
</blockquote>
<div>
<div>fixed the problem (web page <a href="https://itsfoss.com/solve-open-shared-object-file-quick-tip/" target="_blank">
link</a>).</div>
<div><br>
</div>
</div>
<div>So in summary, these are the commands that worked for me (with a lot of your help) to checkout and build Cbc:</div>
<div>
<ul>
<li>wget <a href="https://raw.githubusercontent.com/coin-or/coinbrew/master/coinbrew" target="_blank">
https://raw.githubusercontent.com/coin-or/coinbrew/master/coinbrew</a></li><li>chmod +x coinbrew</li><li>./coinbrew fetch Cbc</li><li>./coinbrew build Cbc --no-prompt --prefix=/usr/local</li><li>sudo ./coinbrew install Cbc</li><li>sudo /sbin/ldconfig -v</li></ul>
Thanks. I don't think I could have figured this out without your help.</div>
<div><br>
</div>
<div>JP</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Mon, Sep 9, 2019 at 12:51 PM Ted Ralphs <<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">Ah, yes, forgot to back out one change. If you just pull the changes, the install should work now, no need to rebuild.
<div><br>
</div>
<div>And thanks very much for posting the complete log of the build each time! That makes it immensely easier to tell what's going on.</div>
<div><br>
</div>
<div>If you want to suppress the output once everything is working, you can use --verbosity 1 or -v 1 to just get minimal output. </div>
<div>
<div><br>
</div>
<div>Ted</div>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Mon, Sep 9, 2019 at 12:35 PM JP Fasano <<a href="mailto:jpfasano@gmail.com" target="_blank">jpfasano@gmail.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div>Hi Ted,</div>
<div>"<font face="monospace">./coinbrew build Cbc --no-prompt --prefix=/usr/local</font>" works great now! </div>
<div>Very impressive.</div>
<div>There is a lot going on.    </div>
<div><br>
</div>
<div><i>>  sudo ./coinbrew install Cbc  </i></div>
<div><i><br>
</i></div>
<div>Thank you for sending this additional command.</div>
<div>Your timing was perfect, because I had just realized that the built libraries and executables were still in my local directories. I was trying to figure out what needed to be done next, when your posting arrived.</div>
<div><br>
</div>
<div>Something with the "<font face="monospace">sudo ./coinbrew install Cbc</font>"  isn't working for me.</div>
<div>Here is the console log:</div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div><font face="monospace">jpfasano@WitOpenSource:~/coinCbc$ sudo ./coinbrew install Cbc</font></div>
<div><font face="monospace">[sudo] password for jpfasano: </font></div>
<div><font face="monospace">Welcome to the COIN-OR fetch and build utility</font></div>
<div><font face="monospace"><br>
</font></div>
<div><font face="monospace">For help, run script with --help.</font></div>
<div><font face="monospace"><br>
</font></div>
<div><font face="monospace">Entering interactive mode (suppress with --no-prompt)...</font></div>
<div><font face="monospace"><br>
</font></div>
<div><font face="monospace">Disabling uninstalled packages</font></div>
<div><font face="monospace"><br>
</font></div>
<div><font face="monospace">##################################################</font></div>
<div><font face="monospace">### Installing ThirdParty/ASL </font></div>
<div><font face="monospace">##################################################</font></div>
<div><font face="monospace"><br>
</font></div>
<div><font face="monospace">./coinbrew: line 916: cd: /home/jpfasano/coinCbc/build/ThirdParty/ASL/1.4: No such file or directory</font></div>
</blockquote>
 
<div>LIne 916 of coinbrew is</div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div> <font face="monospace">cd $build_dir/$dir/$version_num</font></div>
</blockquote>
<div><br>
</div>
The directory <font face="monospace">/home/jpfasano/coinCbc/build/ThirdParty/ASL</font>  does not contain a directory named 1.4.
<div>Here is what the directory <font face="monospace">/home/jpfasano/coinCbc/build/ThirdParty/ASL</font> contains:<br>
</div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div><font face="monospace" size="1">jpfasano@WitOpenSource:~/coinCbc/build/ThirdParty/ASL$ ls</font></div>
<div><font face="monospace" size="1">arith.h  coinasl.pc  coinasl-uninstalled.pc  compile_MS_ASL  compile_Unix_ASL  config.log  config.status  funcadd0.o  libamplsolver.a  <a href="http://libcoinasl.la" target="_blank">libcoinasl.la</a>  libtool  Makefile  stdio1.h</font></div>
</blockquote>
<div>If helpful, here is <font face="monospace">/home/jpfasano/coinCbc/build/ThirdParty/ASL/config.log</font>:
<a href="https://1drv.ms/u/s!ArBmlTcrk72FoL1kzS-r6Mbfs2-aeQ?e=kFwn4o" target="_blank">
link</a></div>
<div> </div>
<div>The console log from running "<font face="monospace">./coinbrew build Cbc --no-prompt --prefix=/usr/local</font>"  is here:
<a href="https://1drv.ms/u/s!ArBmlTcrk72FoL1jmQEhQA-yi3XLWg?e=hfckLc" target="_blank">
link</a>
<div>
<div><br>
</div>
<div>Any help is appreciated. (no hurry).</div>
<div>Thank you.</div>
<div>JP</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="x_gmail-m_7334475095281475441gmail-m_5886094553939871907gmail-m_7113427555882437246gmail-m_-7306356740705599757gmail-m_5284893315872992775gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Dr. Ted Ralphs<br>
Professor, Industrial and Systems Engineering<br>
Lehigh University<br>
(610) 628-1280<br>
ted 'at' lehigh 'dot' edu<br>
<a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="x_gmail-m_7334475095281475441gmail-m_5886094553939871907gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Dr. Ted Ralphs<br>
Professor, Industrial and Systems Engineering<br>
Lehigh University<br>
(610) 628-1280<br>
ted 'at' lehigh 'dot' edu<br>
<a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="x_gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Dr. Ted Ralphs<br>
Professor, Industrial and Systems Engineering<br>
Lehigh University<br>
(610) 628-1280<br>
ted 'at' lehigh 'dot' edu<br>
<a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<title></title>
<p> </p>
<p> </p>
<hr>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size:14px;">This message contains information that may be privileged or confidential and is the property of the Fractal Analytics. It is intended only for the person to whom it is addressed.
 Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please
 notify the sender immediately and delete all copies of this message.</span></span></p>
<hr>
<p> </p>
</body>
</html>