Skip to content

art-daq/trace

Repository files navigation

To get started, see the doc/quick-start.txt file.

Please note that using a version of gcc that supports the c11 and/or c++11
standard is desirable.

RPM packaging provided by Pat Riehecky on the Scientific Linux team.

Public readonly GIT access via:
  git clone https://github.com/art-daq/trace
tar files with binaries at:
  https://scisoft.fnal.gov/scisoft/packages/TRACE/
Public svn export
  svn export http://cdcvs.fnal.gov/subversion/trace-svn/trunk/ trace
Authorized read-write SVN access via:
  svn co svn+ssh://p-trace@cdcvs.fnal.gov:/cvs/projects/trace-svn/trunk trace

BUILDING:
  make:
    cd trace
    make OUT=$PWD 
    PATH=$PWD/*/bin:$PATH
    . script/trace_functions.sh
    # if UPS environment, 2 lines above can be replaced by: setup -r$PWD-z$PWD TRACE 

  cmake
    cd trace
    mkdir build; cd build
    cmake .. -DCMAKE_INSTALL_PREFIX=$PWD
    make install
    PATH=$PWD/bin:$PATH
    . etc/profile.d/trace_functions.sh


  spack - work-in-progress
    spack find --format "{name}@{version}%{compiler}/{hash} {arch}={platform}-{os}-{target}" trace
    cd trace
    spack repo add $PWD/spack
    spack install --reuse trace@develop arch=`uname -m`    # 

    # for "No valid compiler version found..." do:
    spack compiler find  # and then redo spack install... (above)

    # for other errors you may have to:
    spack uninstall trace@develop # and/or:
    spack repo rm trace # and then do spack repo add... (above)

    spack load trace@develop