sphenix-software-l AT lists.bnl.gov
Subject: sPHENIX discussion of software
List archive
[Sphenix-software-l] setup scripts for different environment and cvmfs volumes
- 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] setup scripts for different environment and cvmfs volumes
- Date: Sun, 22 Dec 2019 12:14:38 -0500
Hi folks,
I straightened out our sphenix setup script, they should work now for our various cvmfs volumes (sphenix.sdcc.bnl.gov and sphenix.opensciencegrid.org) and compilers (gcc 4.8.2 and gcc 8.3.1). Basically the sphenix setup script from a given area will set you up (and you can switch between them without remnants of the previous environment - except 3 backup copies of the previous LD_LIBRARY_PATH, PATH and MANPATH which are just kept for reference). For using the /cvmfs/sphenix.sdcc.bnl.gov volume outside of BNL you need to have the keys installed, the opensciencegrid volumes should be readable everywhere.
source /cvmfs/sphenix.sdcc.bnl.gov/x8664_sl7/opt/sphenix/core/bin/sphenix_setup.csh -n
will set you up for the sdcc cvmfs volume using gcc 4.8.2 (our default)
source /cvmfs/sphenix.sdcc.bnl.gov/gcc-8.3/opt/sphenix/core/bin/sphenix_setup.csh -n
will set you up for the sdcc cvmfs volume using gcc 8.3.1 (needed for acts)
if you use the opensciencegrid volumes use these:
source /cvmfs/sphenix.opensciencegrid.org/x8664_sl7/opt/sphenix/core/bin/sphenix_setup.csh -n
source /cvmfs/sphenix.opensciencegrid.org/gcc-8.3/opt/sphenix/core/bin/sphenix_setup.csh -n
For bash source the sphenix_setup.sh script instead of the csh script.
The nightly builds done on the sdcc volumes are rsynced automatically to the opensciencegrid volumes (some selection: new, play and ana). For gcc 8.3.1 we only do the "new" build.
There is a lot of adjusting of include files and softlinks behind the scenery to make sure other volumes/compiler do not creep into a given environment - let me know if something doesn't work.
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] setup scripts for different environment and cvmfs volumes, pinkenburg, 12/22/2019
Archive powered by MHonArc 2.6.24.