Project

General

Profile

Wiki » History » Version 20

Eric Church, 05/11/2011 01:13 PM

1 17 Eric Church
h1. Welcome to the MicroBooNE offline software project. 
2 17 Eric Church
3 18 Eric Church
For now there's no pubic build. You must download the uBooNE code to your usual LArSoft test release area and build there. When we have lots more code we'll consider a nightly build and more administration.
4 16 Eric Church
5 6 Eric Church
6 13 Eric Church
Here are the instructions to use the uBooNE offline svn repository.
7 14 Eric Church
*  Go setup yourself up to work with LArSoft as instructed at https://cdcvs.fnal.gov/redmine/projects/larsoftsvn/wiki.
8 19 Eric Church
*  If you don't already have one, make yourself a test release in the usual way, @newrel -t development dirname@.
9 6 Eric Church
*  Now @cd dirname@ and say @svn co svn+ssh://p-ubooneoffline@cdcvs.fnal.gov/cvs/projects/ubooneoffline/trunk/GENIEextractor@, for example.
10 7 Eric Church
*  @cd include@; and say @ln -s ../GENIEextractor/ .@ (don't forget the dot) and then cd back to the top dirname.
11 20 Eric Church
*  @gmake GENIEextractor.all@, and construct your fcl file and run @lar -c myjobscript.fcl@ as usual.
12 5 Eric Church
*  Be sure and @svn ci -m "helpful comment" svn+ssh://p-ubooneoffline@cdcvs.fnal.gov/cvs/projects/ubooneoffline/trunk GENIEextractor@ and @svn update svn+ssh://p-ubooneoffline@cdcvs.fnal.gov/cvs/projects/ubooneoffline/trunk@ frequently.
13 12 Eric Church
* You can export (bash) setenv (csh) CVSROOT to svn+ssh://p-ubooneoffline@cdcvs.fnal.gov/cvs/projects/ubooneoffline/ or svn+ssh://p-larsoftsvn@cdcvs.fnal.gov/cvs/projects/larsoftsvn/trunk/ as you work with each repository and thus not need to spell it out each time, if you find that to be less unwieldy.
14 12 Eric Church
15 9 Eric Church
16 9 Eric Church
Someday we'll make this user friendlier. Those steps include 
17 9 Eric Church
# editing the appropriate cvsroot file under $SRT_DIST/packages
18 1 Eric Church
# making a setup/packages-development with each new uBooNE offline package itemized
19 15 Eric Church
# coding up the SRT_UB/scripts/lar*.sh,.csh to be executed under a cron job for a nightly build.
20 11 Eric Church
# spending a day to make it all work, at which point addpkg_svn will be available and obviate the need to make the link and to fully specify the cumbersome svn+shh://repository path. 
21 10 Eric Church
# Feel free, uBooNE collaborator to do those, or other things....