ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbb/test/launch_parallel.sh
Revision: 1.1
Committed: Mon Oct 29 16:37:16 2012 UTC (12 years, 6 months ago) by bortigno
Content type: application/x-sh
Branch: MAIN
CVS Tags: lhcp_UnblindFix, hcp_Unblind, lhcp_11April, LHCP_PreAppFixAfterFreeze, LHCP_PreAppFreeze, workingVersionAfterHCP, HEAD
Error occurred while calculating annotation data.
Log Message:
launch one samples in batch mode

File Contents

# Content
1 #!/bin/bash
2
3 if [ $# -lt 3 ]
4 then
5 echo "ERROR: You passed " $# "arguments while the script needs at least 3 arguments."
6 echo "Exiting..."
7 echo " ---------------------------------- "
8 echo " Usage : ./launch_parallel.sh sample_name sample_type working_dir"
9 echo " ---------------------------------- "
10 exit
11 fi
12
13
14 cd $3
15
16 echo `pwd`
17 cd $CMSSW_BASE/src/
18 source /swshare/psit3/etc/profile.d/cms_ui_env.sh
19 export SCRAM_ARCH="slc5_amd64_gcc462"
20 source $VO_CMS_SW_DIR/cmsset_default.sh
21 eval `scramv1 runtime -sh`
22 export LD_LIBRARY_PATH=/swshare/glite/d-cache/dcap/lib/:$LD_LIBRARY_PATH
23 cd -
24
25 SAMPLENAME=$1
26 SAMPLETYPE=$2
27
28 ./make_histos_parallel $SAMPLENAME $SAMPLETYPE