Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:28:23

0001 #!/bin/bash
0002 
0003 ## source environment (get ROOT)
0004 source xeon_scripts/init-env.sh
0005 
0006 ## Command line config
0007 infile_name=${1:-"stress_test_SKL-SP_results.txt"}
0008 graph_label=${2:-"[Turbo=OFF(Long)]"}
0009 outfile_name=${3:-"noturbo1_long.pdf"}
0010 
0011 ## reduce stress test results to results used in macro only
0012 tmp_infile_name="tmp_results.txt"
0013 > "${tmp_infile_name}"
0014 
0015 grep "SSE3" "${infile_name}" >> "${tmp_infile_name}"
0016 grep "AVX2" "${infile_name}" >> "${tmp_infile_name}"
0017 grep "AVX512" "${infile_name}" >> "${tmp_infile_name}"
0018 
0019 ## Run little macro
0020 root -l -b -q plotting/plotStress.C\(\"${tmp_infile_name}\",\"${graph_label}\",\"${outfile_name}\"\)
0021 
0022 ## remove tmp file
0023 rm "${tmp_infile_name}"