[Rivet] RIVET setup for lxplus7

Andy Buckley andy.buckley at cern.ch
Tue Jul 31 14:38:42 BST 2018


Hi Jay,

Thanks for this... indeed the "lcg bootstrap" wasn't written with lxplus7 in mind, and uses the slc6 LCG packages. We should probably do something about that, although I'm also tempted to just remove the "lcg" script and only support the completely standalone bootstrap.
Rivet 2.6.1 isn't released yet, though, so I'm not sure how that worked!!
Andy
Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
Particle Physics Experiment Group, University of Glasgow

On Jul 31 2018, at 2:08 pm, James Howarth <jhowarth at cern.ch> wrote:
>
> Hi Andy,
>
> I’ve been playing around with setting up RIVET on the new lxplus7 machines (CentOS) and I the procedure is slightly different from what is on the hepforge getting started page, so I thought I’d send my setup workflow in case you want to update it (the reason I’m using lxplus7 is that the python and gcc versions are fine by default for RIVET).
>
> Cheers,
>
> Jay
>
> The First part is the same as the currently described running on AFS:
> cd /scratch/rivet
> wget http://rivet.hepforge.org/hg/bootstrap/raw-file/2.6.0/rivet-bootstrap-lcg
> chmod +x rivet-bootstrap-lcg
> Only I changed 2.6.0 to 2.6.1. The setting up environment part, however, doesn’t work:
>
> source $PREFIX/rivetenv.sh
> rivet --help
> rivet --list-analyses
> But if you instead run the script in local/env.sh as below, it works (expect for the error described below).
>
>
> (these exist in local/env.sh)
> > source /cvmfs/sft.cern.ch/lcg/releases/LCG_88/gcc/4.9.3/x86_64-slc6/setup.sh (http://sft.cern.ch/lcg/releases/LCG_88/gcc/4.9.3/x86_64-slc6/setup.sh)
> > source /cvmfs/sft.cern.ch/lcg/releases/LCG_88/Python/2.7.13/x86_64-slc6-gcc49-opt/Python-env.sh (http://sft.cern.ch/lcg/releases/LCG_88/Python/2.7.13/x86_64-slc6-gcc49-opt/Python-env.sh)
> > source /afs/cern.ch/work/j/jhowarth/private/13TeV/Rivet/RIVET_2.6/local/yodaenv.sh (http://cern.ch/work/j/jhowarth/private/13TeV/Rivet/RIVET_2.6/local/yodaenv.sh)
> > source /afs/cern.ch/work/j/jhowarth/private/13TeV/Rivet/RIVET_2.6/local/rivetenv.sh (http://cern.ch/work/j/jhowarth/private/13TeV/Rivet/RIVET_2.6/local/rivetenv.sh)
>
>
> When running the second script I get an error:
>
> python: can't open file '/cvmfs/sft.cern.ch/lcg/releases/LCG_88/lcgenv/1.3.3/x86_64-centos7-gcc62-dbg/lcgenv*': (http://sft.cern.ch/lcg/releases/LCG_88/lcgenv/1.3.3/x86_64-centos7-gcc62-dbg/lcgenv*':) [Errno 2] No such file or directory
>
> Now that file does exist but obviously isn’t readable by python. Rivet seems to run fine without it though. Anyway, hope that’s helpful.
>
> Cheers,
>
> Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20180731/67ff7239/attachment.html>


More information about the Rivet mailing list