Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #!/bin/bash
0002 
0003 if [ "$1" == "-h" ] || [ "$1" == "--help" ]
0004 then
0005   printf "\nUsage: "
0006   printf "runJob.sh [Queue(optional)]\n\n"
0007   exit 1;
0008 fi
0009 
0010 QUEUE=$1
0011 
0012 if [ $# -lt 1 ] 
0013 then
0014 printf "\nJob is submitted to default Queue '8nh'.\n"
0015 printf "If you want to submit job in specific queue then please use :\n\n"
0016 printf "./run.sh [Queue name]\n\n"
0017 bsub -q 8nh < $CMSSW_BASE/src/Alignment/TrackerAlignment/scripts/jobConfig.sh 
0018 
0019 else 
0020 bsub -q $QUEUE < $CMSSW_BASE/src/Alignment/TrackerAlignment/scripts/jobConfig.sh
0021 
0022 fi
0023