Created
January 9, 2019 04:48
-
-
Save sjgardiner/1a7b14be1c347334e3f4a9516d39b11b to your computer and use it in GitHub Desktop.
Setup script for MCC9 GENIE v3 validation for MicroBooNE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to set up a local development environment for testing | |
# GENIE v3 in uboonecode during the January 2019 mini-retreat | |
# for MCC9 validation | |
# | |
# Steve Gardiner <gardiner@fnal.gov> | |
# | |
# After running this script, build the local install normally | |
# via | |
# | |
# mrbsetenv | |
# mrb i -jX | |
# | |
# where X is the number of parallel jobs to run. | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: source make_devel_area_gv3_mcc9.sh DEV_DIR_NAME" | |
return 1 | |
fi | |
DEV_DIR_NAME=$1 | |
mkdir $DEV_DIR_NAME | |
cd $DEV_DIR_NAME | |
source /cvmfs/uboone.opensciencegrid.org/products/setup_uboone.sh | |
setup larsoft v08_01_00_01 -q e17:prof | |
mrb newDev | |
source localProducts_larsoft_v08_01_00_01_e17_prof/setup | |
cd srcs/ | |
mrb g -t UBOONE_SUITE_v08_01_00 uboone_suite | |
cd uboonecode/ | |
git checkout feature/gardiner_genie_v3 | |
cd .. | |
mrb uv larpandora v08_01_00_01 | |
mrb uv larana v08_00_01_01 | |
mrb uv larreco v08_01_00_01 | |
mrb uv larsim v08_00_01_01 | |
mrb uv larevt v08_00_01_01 | |
mrb uv lardata v08_00_01_01 | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment