Skip to Content.
Sympa Menu

sphenix-software-l - [Sphenix-software-l] switch to gcc 12 happening now

sphenix-software-l AT lists.bnl.gov

Subject: sPHENIX discussion of software

List archive

Chronological Thread  
  • From: pinkenburg <pinkenburg AT bnl.gov>
  • To: "sphenix-software-l AT lists.bnl.gov" <sphenix-software-l AT lists.bnl.gov>
  • Subject: [Sphenix-software-l] switch to gcc 12 happening now
  • Date: Mon, 5 Dec 2022 09:35:52 -0500

Hi folks,

as announced in the software and general meeting - we will switch to the new gcc 12 compiler NOW. It is changing the softlink where /opt/sphenix points to but this needs to propagate through the cvmfs caches. Given this is an rsync from the top level of our multiple TB sized cvmfs volume this might take a while. Once this happened

source /opt/sphenix/core/bin/sphenix_setup.sh -n

will set you up with gcc 12. Old binaries compiled with gcc 8 should still be usable but I wouldn't recommend trying this. Please wipe your install and build areas and recompile the show using gcc 12. gcc 12 is more picky in terms of warnings, if you run into issues let me know on our Mattermost help channel:

https://chat.sdcc.bnl.gov/sphenix/channels/sphenix-software-help

You can still run the gcc 8 version if you want to, the daily builds will continue for the time being (probably until ACTS is upgraded to a version which doesn't compile with gcc 8 anymore), but I would urge you to switch asap. To get the gcc 8 setup you need to source the setup script using the full path:

source /cvmfs/sphenix.sdcc.bnl.gov/gcc-8.3/opt/sphenix/core/bin/sphenix_setup.sh -n

Just like you can use the full path right now to setup gcc 12:

source /cvmfs/sphenix.sdcc.bnl.gov/gcc-12.1.0/opt/sphenix/core/bin/sphenix_setup.sh -n

Nothing else has changed in terms of running the show (same setup_local script you need to run to add your own installation) - if you encounter problems, let me know (via Mattermost)

Let's do this
Chris

--
*************************************************************

Christopher H. Pinkenburg ; pinkenburg AT bnl.gov
; http://www.phenix.bnl.gov/~pinkenbu

Brookhaven National Laboratory ; phone: (631) 344-5692
Physics Department Bldg 510 C ; fax: (631) 344-3253
Upton, NY 11973-5000

*************************************************************




  • [Sphenix-software-l] switch to gcc 12 happening now, pinkenburg, 12/05/2022

Archive powered by MHonArc 2.6.24.

Top of Page