Prerequisites:  CVS, SCons installation, Externals

  1. Checkout the ScienceTool source from CVS, using the tagging convention
    cvs co -r ScienceTools-09-10-00 -d ScienceTools-09-10-00 ScienceTools-scons
    cd ScienceTools-09-10-00
  2. set GLAST_EXT appropriately, this example will use the rhel4 64 bit libraries
    setenv GLAST_EXT /afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit
  3. Build a package, and redirect output to a log
    $GLASTROOT/applications/SCons/1.2.0/bin/scons --with-GLAST-EXT=$GLAST_EXT optimizers >& build-optimizers.log &
    Attached is an example of the expected output
  4. Build all, and redirect output to a log
    $GLASTROOT/applications/SCons/1.2.0/bin/scons --with-GLAST-EXT=$GLAST_EXT all >& build-all.log &
  5. Run an application
    bin/redhat4-x86_64-64bit/test_microQuasar
  6. Clean
    $GLASTROOT/applications/SCons/1.2.0/bin/scons -c
  • No labels