Wiki » History » Version 29
« Previous -
Version 29/44
(diff) -
Next » -
Current version
Tingjun Yang, 10/08/2013 02:18 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.- Contact a manager (like Wes, wketchum@fnal.gov) to get added to the developer list if you are not already on it.
- 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;
.
- Go in
dirname
saysvn co svn+ssh://p-ubooneoffline@cdcvs.fnal.gov/cvs/projects/ubooneoffline/trunk/GENIEextractor
, for example. -
cd include
; and sayln -s ../GENIEextractor/ .
(don't forget the dot) and then cd back to the top dirname. -
gmake GENIEextractor.all
, and construct your fcl file and runlar -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
andsvn update svn+ssh://p-ubooneoffline@cdcvs.fnal.gov/cvs/projects/ubooneoffline/trunk
frequently. - 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.
- Go in to your test release (
dirname
) and dosvn co svn+ssh://p-ubooneoffline@cdcvs.fnal.gov/cvs/projects/ubooneoffline
- Add a directory for yourself in the
users
area. If your username isbluebeard
, do:cd ubooneoffline; svn mkdir users/bluebeard; svn update
- Now, put your pirate treasure in your directory! To put it in the repository, do:
svn add pirate_treasure; svn commit -m 'arrrr!' pirate_treasure
- Put your code here!
- Go into your larsoft test release and do addpkg_svn -d svn+ssh://p-ubooneoffline@cdcvs.fnal.gov/cvs/projects/ubooneoffline -h AnalysisTree