You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

This document contains instructions to run a threshold scan of benchmark point two for the CLIC CDR. It is assumed that the user has a valid lxplus account.

Setup

Please prepare your environment, so that it finds all relevant executables and libraries.

export PATH=/afs/cern.ch/sw/lcg/contrib/gcc/4.5.2/x86_64-slc5/bin:${PATH}
export LD_LIBRARY_PATH=/afs/cern.ch/sw/lcg/contrib/gcc/4.5.2/x86_64-slc5/lib64:${LD_LIBRARY_PATH}

export PATH=/afs/cern.ch/user/j/jfstrube/public/PYTHON/bin:${PATH}

export PATH=/afs/cern.ch/user/j/jfstrube/public/Ocaml-3.12.1/bin:${PATH}
export LD_LIBRARY_PATH=/afs/cern.ch/user/j/jfstrube/public/Ocaml-3.12.1/lib:${LD_LIBRARY_PATH}

Running the code

The input data

Please copy the directory with the input files from afs

cp -a /afs/cern.ch/user/j/jfstrube/CLIC_Amplitudes/SUSY/ .

The code

The script that does all the work is called compile_thresholdscan.py. It carries out the following steps

  1. obtain a list of the subdirectories
  2. in each of the subdirectories, look for a .txt file with the same name as the directory
  3. for each of the given energies, create the Whizard {.sin file from the .txt file
  4. call Whizard on this file
  5. parse the resulting log file and remember the result
  6. rename the logfile, so that it ends with the energy at which the cross-section was computed
  7. move to the next directory
  8. at the end print the output on the screen and write to file
  • No labels