Project

General

Profile

Wiki » History » Version 22

« Previous - Version 22/44 (diff) - Next » - Current version
Eric Church, 06/14/2011 12:24 PM


Welcome to the MicroBooNE offline software project.

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.

Here are the instructions to use the uBooNE offline svn repository.
  • Go setup yourself up to work with LArSoft as instructed at https://cdcvs.fnal.gov/redmine/projects/larsoftsvn/wiki.
  • If you don't already have one, make yourself a test release in the usual way, newrel -t development dirname; cd dirname; srt_setup -a;.
  • Now in dirname say svn co svn+ssh://p-ubooneoffline@cdcvs.fnal.gov/cvs/projects/ubooneoffline/trunk/GENIEextractor, for example.
  • cd include; and say ln -s ../GENIEextractor/ . (don't forget the dot) and then cd back to the top dirname.
  • gmake GENIEextractor.all, and construct your fcl file and run lar -c myjobscript.fcl as usual.
  • 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.
  • You can export (bash) setenv (csh) CVSROOT to svn+ssh:///cvs/projects/ubooneoffline/ or svn+ssh:///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.
Someday we'll make this user friendlier. Those steps include
  1. editing the appropriate cvsroot file under $SRT_DIST/packages
  2. making a setup/packages-development with each new uBooNE offline package itemized
  3. coding up the SRT_UB/scripts/lar*.sh,.csh to be executed under a cron job for a nightly build.
  4. 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.
  5. Feel free, uBooNE collaborator to do those, or other things....