Difference: AnalysisSoftwareInstructions (4 vs. 5)

Revision 52008-01-10 - PeterWinter

Line: 1 to 1
 
META TOPICPARENT name="MuCapGroup"
-- PeterWinter - 18 Dec 2007
Line: 60 to 60
 
  1. To compile MIDAS, ROOT must be installed first (and ROOTSYS defined). See section above to do that.
  2. Check out the mu/ repository from CVS: > cvs co mu
Changed:
<
<
  1. Copy mana.c from mu/misc/mana.c to avoid checksum error when analyzing skimmed data.
>
>
  1. Copy mana.c from mu/src/mana.c to avoid checksum error when analyzing skimmed data.
 
  1. Check the Makefile in daq/midas/ to use cc as compiler (not icc)
  2. Run make in daq/midas/. Before, you might need to adapt the Makefile a bit to set some library paths correctly. Especially, you probably need to change the path MYSQL_LIBS for the libmysqlclient.a to match your system. If this library is not installed, you have to install it first (on my Ubuntu laptop, I had to install the package libmysqlclient15-dev for that).
  3. Set your MIDAS paths to point to a working version
Line: 73 to 73
 

Compiling the tree generating analysis: ./mu

  1. You need the mu/ directory from CVS, as well as MIDAS installed
Changed:
<
<
  1. Although it's up to you, it's a usual habit that we compile this analysis software part in the mu/work directory. Here you will also have the Makefile to do so. To compile go to this directory (e.g. >cd $HOME/mu/work) and run
>
>
  1. First compile the mql part in the mu repository by:
    > cd mu/mql
    > mv JavaCharStream.java JavaCharStream.obsolete
    > make clean
    > make
  2. Compile the compress part in the mu repository by:
    > cd mu/compress
    > make clean
    > make
    This might actually end up with some error messages (depending on your system) but normally that's not a problem. It's just important that the libmucap_compress.a was generated.
  3. Although it's up to you, it's a usual habit that we compile the tree generating software ./mu in the mu/work directory. Here you will also have the Makefile to do so. To compile go to this directory (e.g. >cd $HOME/mu/work) and run
  > make
  1. If you're lucky, you'll end up without an error and the compiled executable ./mu as well as the library libMucapEvent.so. If you end up with error message, please have a look at the ideas at the end of this section.
  2. Add the path to the compiled libMucapEvent.so to your LD_LIBRARY_PATH (e.g. LD_LIBRARY_PATH+=$HOME/mu/work)
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback