Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-21 23:14:25

0001 #! /bin/bash
0002 
0003 # command line input
0004 dir=${1:-"benchmarks"} # Main output dir name
0005 suite=${2:-"forPR"} # which set of benchmarks to run: full, forPR, forConf
0006 afs_or_eos=${3:-"eos"} # which user space to use: afs or eos
0007 lxpuser=${4:-${USER}}
0008 useARCH=${5:-0}
0009 multi=${6:-0}
0010 
0011 collect=collectBenchmarks.sh
0012 if [ ${multi} -gt 0 ]
0013 then
0014     dir=${dir}"-multi"
0015     collect=collectBenchmarks-multi.sh
0016 fi
0017 
0018 # source global variables
0019 source xeon_scripts/common-variables.sh ${suite} ${useARCH}
0020 source xeon_scripts/init-env.sh
0021 
0022 # First collect all plots and text files into common dir
0023 echo "Moving plots and text files locally to ${dir}"
0024 ./web/${collect} ${dir} ${suite} ${useARCH}
0025 
0026 # Next copy index.php into ouput dir
0027 echo "Copying index.php into ${dir}"
0028 ./web/copyphp.sh ${dir}
0029 
0030 # Then copy to lxplus
0031 echo "Moving plots and text files remotely to lxplus"
0032 ./web/tarAndSendToLXPLUS.sh ${dir} ${suite} ${afs_or_eos} ${lxpuser}
0033 
0034 # Final cleanup of directory
0035 echo "Removing local files"
0036 ./xeon_scripts/trashSKL-SP.sh ${useARCH} 
0037 rm -rf ${dir}
0038 
0039 # Final message
0040 echo "Finished moving benchmark plots to LXPLUS!"