[Halld-offline] gcc 4.9

Curtis A. Meyer cmeyer at cmu.edu
Thu Mar 3 17:04:38 EST 2016


Hi Nathan,

  I am just thinking about when we run jobs on farms. It is probably easy 
enough to do this, but it needs to be incorporated into submission 
scripts, etc….

Curtis
---------
Curtis A. Meyer			MCS Associate Dean for Faculty and Graduate Affairs
Wean:    (412) 268-2745	Professor of Physics
Doherty: (412) 268-3090	Carnegie Mellon University
Fax:         (412) 681-0648	Pittsburgh, PA 15213
curtis.meyer at cmu.edu	http://www.curtismeyer.com/



> On Mar 3, 2016, at 4:33 PM, Nathan Sparks <nsparks at jlab.org> wrote:
> 
> Hi Curtis,
> 
> When you run
> scl enable devtoolset-3 bash
> 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
> /opt/rh/devtoolset-3/enable
> 
> Let me know if there appears to be any issues with your setup.
> 
> -Nathan
>> On Mar 3, 2016, at 4:26 PM, Curtis A. Meyer <cmeyer at cmu.edu <mailto:cmeyer at cmu.edu>> wrote:
>> 
>> Hi Nathan -
>> 
>> when you build something with gcc-4.9 using scl tools, do you have to do anything
>> special with your environment to run the program, or does it know about the 
>> correct path for shared libraries?
>> 
>> Curtis
>> ---------
>> Curtis A. Meyer			MCS Associate Dean for Faculty and Graduate Affairs
>> Wean:    (412) 268-2745	Professor of Physics
>> Doherty: (412) 268-3090	Carnegie Mellon University
>> Fax:         (412) 681-0648	Pittsburgh, PA 15213
>> curtis.meyer at cmu.edu <mailto:curtis.meyer at cmu.edu>	http://www.curtismeyer.com/ <http://www.curtismeyer.com/>
>> 
>> 
>> 
>>> On Mar 3, 2016, at 10:37 AM, Nathan Sparks <nsparks at jlab.org <mailto:nsparks at jlab.org>> wrote:
>>> 
>>> Devtoolset-4 is not yet available for CentOS, but it is available for RedHat.
>>> https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/4/html-single/4.0_Release_Notes/index.html <https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/4/html-single/4.0_Release_Notes/index.html>
>>> 
>>> 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).
>>> -Nathan
>>>> On Mar 3, 2016, at 6:27 AM, Curtis A. Meyer <cmeyer at cmu.edu <mailto:cmeyer at cmu.edu>> wrote:
>>>> 
>>>> I think that if you use the -4 versions and not the -3 versions, you get gcc-5
>>>> 
>>>> curtis
>>>> ---------
>>>> Curtis A. Meyer			MCS Associate Dean for Faculty and Graduate Affairs
>>>> Wean:    (412) 268-2745	Professor of Physics
>>>> Doherty: (412) 268-3090	Carnegie Mellon University
>>>> Fax:         (412) 681-0648	Pittsburgh, PA 15213
>>>> curtis.meyer at cmu.edu <mailto:curtis.meyer at cmu.edu>	http://www.curtismeyer.com/ <http://www.curtismeyer.com/>
>>>> 
>>>> 
>>>> 
>>>>> On Mar 2, 2016, at 10:50 PM, Nathan Sparks <nsparks at jlab.org <mailto:nsparks at jlab.org>> wrote:
>>>>> 
>>>>> Hi All,
>>>>> 
>>>>> 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.
>>>>> https://halldweb.jlab.org/wiki/index.php/Installing_a_Modern_GCC_Quickly_with_Software_Collections <https://halldweb.jlab.org/wiki/index.php/Installing_a_Modern_GCC_Quickly_with_Software_Collections>
>>>>> These instructions have been tested by me on CentOS 6, but should also work on RHEL 6. 
>>>>> Please let me know if you have any questions.
>>>>> 
>>>>> Best regards,
>>>>> -Nathan
>>>>>> On Mar 2, 2016, at 9:50 PM, Curtis A. Meyer <cmeyer at cmu.edu <mailto:cmeyer at cmu.edu>> wrote:
>>>>>> 
>>>>>> This looks like gcc 4.9 is available as part of the devtoolset-3 packages as
>>>>>> rpms for RHEL6 … The latter link has pretty simple instructions for both 
>>>>>> RHEL6 and CENTOS6
>>>>>> 
>>>>>> https://rhn.redhat.com/errata/RHBA-2015-2026.html <https://rhn.redhat.com/errata/RHBA-2015-2026.html>
>>>>>> 
>>>>>> https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/ <https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/>
>>>>>> 
>>>>>> ---------
>>>>>> Curtis A. Meyer			MCS Associate Dean for Faculty and Graduate Affairs
>>>>>> Wean:    (412) 268-2745	Professor of Physics
>>>>>> Doherty: (412) 268-3090	Carnegie Mellon University
>>>>>> Fax:         (412) 681-0648	Pittsburgh, PA 15213
>>>>>> curtis.meyer at cmu.edu <mailto:curtis.meyer at cmu.edu>	http://www.curtismeyer.com/ <http://www.curtismeyer.com/>
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Halld-offline mailing list
>>>>>> Halld-offline at jlab.org <mailto:Halld-offline at jlab.org>
>>>>>> https://mailman.jlab.org/mailman/listinfo/halld-offline
>>>>> 
>>>> 
>>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20160303/bd9e433e/attachment-0002.html>


More information about the Halld-offline mailing list