---
# System prepended metadata

title: mrb

---

# mrb


Initial setup
```bash!
source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
setup dunesw v10_04_03d01 -q e26:prof
setup mrb

# cd to the dev folder, $MRB_TOP_BUILD
mrb newDev
source /exp/dune/app/users/yuhw/larsoft/v10_04_03d01/localProducts_larsoft_v10_04_03_e26_prof/setup
```

```bash!

mrb g larwirecell # cloning code

# checkout dev source code
cd srcs/larwirecell
git fetch origin
git checkout -b git checkout -b v10_01_05 v10_01_05
# edit "ups/product_deps" if needed
```





```bash!
# to use local wirecell build
path-prepend /exp/dune/app/users/yuhw/opt CMAKE_PREFIX_PATH
mrbsetenv
mrb i -j 8
mrbslp
```

after that:
```bash!
source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
setup dunesw v10_04_03d01 -q e26:prof
source /exp/dune/app/users/yuhw/larsoft/v10_04_03d01/localProducts_larsoft_v10_04_03_e26_prof/setup
mrbsetenv
mrb i -j 8 #if want to rebuild
mrbslp
```

zap re-build:
```
mrb z
mrbsetenv
mrb i -j 8
```