sphenix-software-l AT lists.bnl.gov
Subject: sPHENIX discussion of software
List archive
- From: David Morrison <dave AT bnl.gov>
- To: "sphenix-software-l AT lists.bnl.gov" <sphenix-software-l AT lists.bnl.gov>
- Subject: [Sphenix-software-l] compilers and such
- Date: Fri, 22 May 2015 10:35:28 -0400
Hi all,
Would it be possible to develop our shiny new sPHENIX code with a compiler a bit shinier and newer than we are currently using on RCF? The version of GCC there is five years old:
rcas2068% gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
A current-day installation of, say, Ubuntu would come with GCC 4.9.x. If we also allow ourselves to use some features of C++11/14, we could write simpler code that makes intention clearer. Things like “nullptr", the “auto” declaration, range-based “for” loops, and lambda expressions can help clear away a lot of syntactic clutter. Even if you think egghead things like closures and lambda-over-lambda iteration are nuts and should be avoided like the plague, you’ll love the simplicity of the auto declaration.
It’s always been hard to update compilers on a big shared facility like the RCF – is that still true? Now that we live in the future, do we have virtual machines with whatever environment we want?
I do realize this is not the most important sPHENIX computing issue out there, but it’ll bother me if I don’t raise it.
Dave
David Morrison Brookhaven National Laboratory phone: 631-344-5840
Physics Department, Bldg 510 C email: dave AT bnl.gov
Upton, NY 11973-5000
Physics Department, Bldg 510 C email: dave AT bnl.gov
Upton, NY 11973-5000
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
-
[Sphenix-software-l] compilers and such,
David Morrison, 05/22/2015
- Re: [Sphenix-software-l] compilers and such, pinkenburg, 05/22/2015
Archive powered by MHonArc 2.6.24.