<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Curtis,<div class=""><br class=""></div><div class="">When you run</div><div class="">scl enable devtoolset-3 bash</div><div class="">it sets up the environment for you in that new bash shell. In case you want to examine it, the environment script it sources is at</div><div class="">/opt/rh/devtoolset-3/enable</div><div class=""><br class=""></div><div class="">Let me know if there appears to be any issues with your setup.</div><div class=""><br class=""></div><div class="">-Nathan<br class=""><div><blockquote type="cite" class=""><div class="">On Mar 3, 2016, at 4:26 PM, Curtis A. Meyer <<a href="mailto:cmeyer@cmu.edu" class="">cmeyer@cmu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Nathan -<div class=""><br class=""></div><div class="">when you build something with gcc-4.9 using scl tools, do you have to do anything</div><div class="">special with your environment to run the program, or does it know about the </div><div class="">correct path for shared libraries?</div><div class=""><br class=""></div><div class="">Curtis<br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div class=""><div class="">---------</div><div class="">Curtis A. Meyer<span class="Apple-tab-span" style="white-space: pre; ">                        </span>MCS Associate Dean for Faculty and Graduate Affairs</div><div class="">Wean:    (412) 268-2745<span class="Apple-tab-span" style="white-space: pre; ">      </span>Professor of Physics</div><div class="">Doherty: (412) 268-3090<span class="Apple-tab-span" style="white-space: pre; ">    </span>Carnegie Mellon University</div><div class="">Fax:         (412) 681-0648<span class="Apple-tab-span" style="white-space: pre; ">      </span>Pittsburgh, PA 15213</div><div class=""><a href="mailto:curtis.meyer@cmu.edu" class="">curtis.meyer@cmu.edu</a><span class="Apple-tab-span" style="white-space: pre; ">    </span><a href="http://www.curtismeyer.com/" class="">http://www.curtismeyer.com/</a></div></div><div class=""><br class=""></div></span><br class="Apple-interchange-newline">
</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 3, 2016, at 10:37 AM, Nathan Sparks <<a href="mailto:nsparks@jlab.org" class="">nsparks@jlab.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Devtoolset-4 is not yet available for CentOS, but it is available for RedHat.<div class=""><a href="https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/4/html-single/4.0_Release_Notes/index.html" class="">https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/4/html-single/4.0_Release_Notes/index.html</a></div><div class=""><br class=""></div><div class="">Browsing the web, it looks like CentOS folks are working on packaging Devtoolset-4, and it should be available soon (within a month or so).</div><div class="">-Nathan<br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 3, 2016, at 6:27 AM, Curtis A. Meyer <<a href="mailto:cmeyer@cmu.edu" class="">cmeyer@cmu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I think that if you use the -4 versions and not the -3 versions, you get gcc-5<div class=""><br class=""></div><div class="">curtis<br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; line-height: normal; border-spacing: 0px;"><div class=""><div class="">---------</div><div class="">Curtis A. Meyer<span class="Apple-tab-span" style="white-space: pre; ">                  </span>MCS Associate Dean for Faculty and Graduate Affairs</div><div class="">Wean:    (412) 268-2745<span class="Apple-tab-span" style="white-space: pre; ">      </span>Professor of Physics</div><div class="">Doherty: (412) 268-3090<span class="Apple-tab-span" style="white-space: pre; ">    </span>Carnegie Mellon University</div><div class="">Fax:         (412) 681-0648<span class="Apple-tab-span" style="white-space: pre; ">      </span>Pittsburgh, PA 15213</div><div class=""><a href="mailto:curtis.meyer@cmu.edu" class="">curtis.meyer@cmu.edu</a><span class="Apple-tab-span" style="white-space: pre; ">    </span><a href="http://www.curtismeyer.com/" class="">http://www.curtismeyer.com/</a></div></div><div class=""><br class=""></div></span><br class="Apple-interchange-newline">
</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 2, 2016, at 10:50 PM, Nathan Sparks <<a href="mailto:nsparks@jlab.org" class="">nsparks@jlab.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi All,<div class=""><br class=""></div><div class="">I made a brief guide on how to install gcc-4.9.2 using software collections. It follows the instructions from the link provided by Curtis.</div><div class=""><a href="https://halldweb.jlab.org/wiki/index.php/Installing_a_Modern_GCC_Quickly_with_Software_Collections" class="">https://halldweb.jlab.org/wiki/index.php/Installing_a_Modern_GCC_Quickly_with_Software_Collections</a></div><div class="">These instructions have been tested by me on CentOS 6, but should also work on RHEL 6. </div><div class="">Please let me know if you have any questions.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">-Nathan<br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 2, 2016, at 9:50 PM, Curtis A. Meyer <<a href="mailto:cmeyer@cmu.edu" class="">cmeyer@cmu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">This looks like gcc 4.9 is available as part of the devtoolset-3 packages as<br class="">rpms for RHEL6 … The latter link has pretty simple instructions for both <br class="">RHEL6 and CENTOS6<br class=""><br class=""><a href="https://rhn.redhat.com/errata/RHBA-2015-2026.html" class="">https://rhn.redhat.com/errata/RHBA-2015-2026.html</a><br class=""><br class=""><a href="https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/" class="">https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/</a><br class=""><br class="">---------<br class="">Curtis A. Meyer<span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">    </span><span class="Apple-tab-span" style="white-space:pre">    </span>MCS Associate Dean for Faculty and Graduate Affairs<br class="">Wean:    (412) 268-2745<span class="Apple-tab-span" style="white-space:pre">      </span>Professor of Physics<br class="">Doherty: (412) 268-3090<span class="Apple-tab-span" style="white-space:pre">    </span>Carnegie Mellon University<br class="">Fax:         (412) 681-0648<span class="Apple-tab-span" style="white-space:pre">  </span>Pittsburgh, PA 15213<br class=""><a href="mailto:curtis.meyer@cmu.edu" class="">curtis.meyer@cmu.edu</a><span class="Apple-tab-span" style="white-space:pre">    </span><a href="http://www.curtismeyer.com/" class="">http://www.curtismeyer.com/</a><br class=""><br class=""><br class=""><br class=""><br class="">_______________________________________________<br class="">Halld-offline mailing list<br class=""><a href="mailto:Halld-offline@jlab.org" class="">Halld-offline@jlab.org</a><br class="">https://mailman.jlab.org/mailman/listinfo/halld-offline<br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>