-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Will Foreman edited this page Feb 24, 2025
·
2 revisions
This repository is meant to be set up and built on a LArIAT GPVM (lariatgpvm0X).
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
Then 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
# Need this so UPS knows it is always on SL7 (otherwise the
# setup in the SL7 container on AlmaLinux9 will not work)
export UPS_OVERRIDE='-H Linux64bit+3.10-2.17'
source /cvmfs/lariat.opensciencegrid.org/setup_lariat.sh
unsetup mrb
setup mrb -o
setup ninja
# Access samweb and jobsub clients
source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups.sh
export MRB_PROJECT=lariatsoft
SOFTDIR=$PROJDIR
cd $USERDIR
mkdir -p $PROJDIR
cd $PROJDIR
setup lariatsoft $VERSION -q $QUALS
mrb newDev
source localProducts*/setup
mrb g -d lariatsoft --repo-type github https://github.com/lariat/lariatsoft
cd $MRB_SOURCE/lariatsoft
git checkout develop
#git checkout tags/$VERSION
mrbsetenv
mrb i --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
In order to submit grid jobs, you may need to set up an older version of larbatch
:
unsetup larbatch
setup larbatch v01_59_00