Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:46:08

0001 #!/bin/tcsh
0002 
0003 setenv JobName JOBNAMETEMPLATE
0004 
0005 echo  "Job started at "
0006 \date;
0007 
0008 setenv CMSSW_VER 3_4_1
0009 setenv CMSSW_DIR ${CMSSW_BASE}/src/Alignment/OfflineValidation/test
0010 setenv LXBATCH_DIR `pwd`
0011 
0012 cd $CMSSW_DIR
0013 eval `scramv1 runtime -csh`
0014 cd $LXBATCH_DIR
0015 
0016 cp  ${CMSSW_DIR}/PVValResults/submittedCfg/${JobName}_cfg.py .
0017 echo "cmsRun ${JobName}_cfg.py"
0018 
0019 cmsRun ${JobName}_cfg.py >& ${JobName}.out;
0020 
0021 echo "Content of working directory is: "
0022 \ls -lrt
0023 
0024 cp OUTFILETEMPLATE ${CMSSW_DIR}/PVValResults/
0025 
0026 rfcp ${JobName}.out ${CASTOR_HOME}/test/
0027 
0028 echo  "Job ended at "
0029 \date;
0030 
0031 exit 0