Skip to content
Snippets Groups Projects
Select Git revision
  • master
1 result

Viterbi_Sideband

  • lillisun's avatar
    Ling Sun authored
    c4323ef7
    History
    -------------------------------------------------
    README - Instructions to run the scripts on Atlas
    -------------------------------------------------
    The scripts need to be compiled on a head node with Matlab license. 
    Run the compiled executable file on execute nodes.
    
    
    1. Files to compile
    -------------------
    The following files need to be put in the same directory for compiling.
    Project scripts:
        - run_search.m (main script)
        - viterbi_colFLT.m
        - argmax.m
        - binaryfilter.m
        - readfstats.m
    Matlab functions:
        - bestblk.m
        - col2im.m
        - colfilt.m
        - fcnchk.m
        - im2col.m
        - mkconstarray.m
    
    2. Instruction to compile
    -------------------------
    NOTE: To run jobs with Condor, one can NOT use the default path (/tmp/) for 
    Matlab's lock files and must specify the number of cores Matlab will use on 
    the nodes as it will otherwise try to run on all available ones. 
    
    The solution is described in wiki: https://wiki.atlas.aei.uni-hannover.de/foswiki/bin/view/ATLAS/MatlabUnderCondor
    
    EXAMPLE:
    Run the command in the directory where the .m scripts are:
    
    /opt/matlab/default/bin/mcc -mv -R singleCompThread -R nojvm -R nodesktop -R nosplash -o <executable file name> <main script>.m 
    
    3. Files to deploy
    ------------------
        - <executable file> (from last step)
        - atlas-matlab-init
        - Condor submission file <name>.sub
    
    EXAMPLE: (Run manually)
    atlas-matlab-init <executable file name> <parameter1, parameter2, ...> 
    
    EXAMPLE: (Run as Condor jobs)
    Refer to sample submission file viterbi_search.sub