Skip to Content.
Sympa Menu

sphenix-software-l - Re: [Sphenix-software-l] new G4 version installed

sphenix-software-l AT lists.bnl.gov

Subject: sPHENIX discussion of software

List archive

Chronological Thread  
  • From: pinkenburg <pinkenburg AT bnl.gov>
  • To: "Michael P. McCumber" <mccumber AT bnl.gov>, sphenix-software-l AT lists.bnl.gov
  • Subject: Re: [Sphenix-software-l] new G4 version installed
  • Date: Fri, 29 Apr 2016 20:54:46 -0400

Hi Mike,

it's pointing to the same location (/opt/sphenix is a softlink). But there is a more principal problem in your approach. In order to make our offline builds self-consistent our core libraries (gsl, boost, clhep, rave,...) are copied to OFFLINE_MAIN. This guarantees that old builds (like production builds) stay usable even if we upgrade those packages. We have been doing this for PHENIX for a long time and it's been working well. Root and G4 are the exceptions because they are too large and our offline builds contain softlinks to the G4/root version which was used. But this means using those config scripts to locate 3rd party libraries is just a bad idea.

Chris



On 4/29/2016 6:30 PM, Michael P. McCumber wrote:
Hi Chris,

I've run into some configuration issues porting the latest to a virtual machine. It doesn't seem like the /afs locations were scrubbed from the new build the way they usually were (and of course I don't run afs on the virtual machine, nor will it be available on the grid).

The key part seems to be that the CLHEP configuration within geant4-config --libs return has the /afs directory instead of the /opt. That command gives this:
-L/afs/rhic.bnl.gov/@sys/opt/sphenix/core/clhep-2.3.2.2/lib -lCLHEP
instead of:
-L"/opt/sphenix/core/clhep-2.3.2.2/lib" -lCLHEP-2.3.2.2
as is returned by clhep-config --libs

Mike

--
Michael P. McCumber, PhD
Los Alamos National Laboratory
505-709-8161

On Thu, Apr 28, 2016 at 2:09 PM, Chris Pinkenburg <pinkenburg AT bnl.gov> wrote:
Hi folks,

as mentioned in the software meeting our current G4 installation used an
internal CLHEP version which was incompatible with the external one used
by rave and therefore the linking failed. In order to fix this G4 had to
be recompiled against the external CLHEP library. I took the opportunity
to upgrade G4 to the next patch level. It required two minor changes to
our sources (location of the CLHEP includes and a method name change in
G4EmSaturation).

The current new build is using this new version and it can be used
together with rave and genfit.

Chris

--

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

Christopher H. Pinkenburg      ; pinkenburg AT bnl.gov

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

http://www.phenix.bnl.gov/~pinkenbu/

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

_______________________________________________
Sphenix-software-l mailing list
Sphenix-software-l AT lists.bnl.gov
https://lists.bnl.gov/mailman/listinfo/sphenix-software-l


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

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

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



Archive powered by MHonArc 2.6.24.

Top of Page