Skip to content

ArCS-FNAL/lariatsoft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3,124 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LArIATSoft

This repository is meant to be set up and built on a LArIAT GPVM (lariatgpvm0X).

Setting up the code

First log onto a LArIAT GPVM machine of your choice:

ssh -X -Y -C <USERNAME>@lariatgpvm01.fnal.gov

Once logged on, set up the Scientific Linux (SL7) container:

sh /exp/lariat/data/users/wforeman/SL7/start_SL7dev_jsl.sh

To set up a local development area for the first time:

USERDIR="/exp/lariat/app/users/<USERNAME>"
VERSION="v08_38_01"
QUALS="e17:prof"
PROJ="lariatsoft_myarea"
PROJDIR=$USERDIR/$PROJ

source /cvmfs/lariat.opensciencegrid.org/setup_lariat.sh
export MRB_PROJECT=lariatsoft

mkdir -p $PROJDIR
cd $PROJDIR
setup lariatsoft $VERSION -q $QUALS
mrb newDev
source localProducts*/setup
mrb g lariatsoft
  # To check out a specific tag or branch, uncomment these lines:
  #cd $MRB_SOURCE/lariatsoft
  #git checkout tags/$VERSION

# For ArCS development, checkout the arcs branch
cd $MRB_SOURCE/lariatsoft
git remote add upstream https://github.com/ArCS-FNAL/lariatsoft.git
git fetch upstream
git checkout uostream/arcs

mrbsetenv
mrb i --generator ninja
mrbslp

If you find that the installation stage fails, try again using only 1 CPU core:

mrb i -j 1 --generator ninja
mrbslp

To set up an existing working area:

cd $PROJDIR
source localProducts*/setup
setup $MRB_PROJECT $MRB_PROJECT_VERSION -q $MRB_QUALS
mrbslp

Setting up a specific tagged release

On the LArIAT GPVMs, can set up a specific tagged version of lariatsoft without having to create a development area and pull the code down from GitHub.

To see which tags are available as well as their corresponding qualifiers (ie, "e17:prof"):

ups list -aK+ lariatsoft

To set up a specific tag, first set up the SL7 container as described above, then do:

source /cvmfs/lariat.opensciencegrid.org/setup_lariat.sh
setup lariatsoft <tag> -q <qual>

Tagged release v08_38_01a includes all development up through February 2025.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published